Searched refs:pf (Results 1 - 11 of 11) sorted by relevance

/bind-9.11.3/bin/tests/
H A Dsock_test.c272 int pf; local
285 pf = PF_INET6;
287 pf = PF_INET;
328 if (pf == PF_INET6) {
335 RUNTIME_CHECK(isc_socket_create(socketmgr, pf, isc_sockettype_tcp,
359 if (0 && pf == PF_INET6)
/bind-9.11.3/unit/atf-src/atf-c/
H A Dtc.c432 struct prog_found_pair *pf = data; local
435 if (pf->found)
440 err = atf_fs_path_init_fmt(&p, "%s/%s", dir, pf->prog);
446 pf->found = true;
449 INV(!pf->found);
483 struct prog_found_pair pf; local
499 pf.prog = prog;
500 pf.found = false;
501 err = atf_text_for_each_word(path, ":", check_prog_in_dir, &pf);
505 if (!pf
[all...]
/bind-9.11.3/lib/isc/
H A Dsocket_api.c94 isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, argument
100 return (isc__socket_create(manager, pf, type, socketp));
102 return (manager->methods->socketcreate(manager, pf, type, socketp));
H A Dsockaddr.c283 isc_sockaddr_anyofpf(isc_sockaddr_t *sockaddr, int pf) { argument
284 switch (pf) {
/bind-9.11.3/lib/isc/unix/
H A Dsocket.c342 int pf; member in struct:isc__socket
470 static isc_result_t socket_create(isc_socketmgr_t *manager0, int pf,
508 isc__socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
857 if (sock->pf != AF_INET6 || sock->type != isc_sockettype_udp)
1578 if (sock->pf == AF_INET && sock->pktdscp) {
1589 } else if (sock->pf == AF_INET && sock->dscp != dev->dscp) {
1609 if (sock->pf == AF_INET6 && sock->pktdscp) {
1620 } else if (sock->pf == AF_INET6 && sock->dscp != dev->dscp) {
1675 if (sock->pf == AF_INET) {
1678 } else if (sock->pf
2965 socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type, isc_socket_t **socketp, isc_socket_t *dup_socket) argument
3053 isc__socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type, isc_socket_t **socketp) argument
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dsocket.c238 int pf; /* protocol family */ member in struct:isc_socket
355 static isc_result_t socket_create(isc_socketmgr_t *manager0, int pf,
1438 if (sock->pf == AF_INET6) {
1646 socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, argument
1674 sock->pf = pf;
1677 sock->fd = socket(pf, SOCK_DGRAM, IPPROTO_UDP);
1697 sock->fd = socket(pf, SOCK_STREAM, IPPROTO_TCP);
1701 sock->fd = socket(pf, SOCK_RAW, 0);
1703 if (pf
1853 isc__socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, isc_socket_t **socketp) argument
[all...]
/bind-9.11.3/bin/named/
H A Dlwresd.c558 int pf; local
560 pf = isc_sockaddr_pf(address);
561 if ((pf == AF_INET && isc_net_probeipv4() != ISC_R_SUCCESS) ||
562 (pf == AF_INET6 && isc_net_probeipv6() != ISC_R_SUCCESS))
576 result = isc_socket_create(ns_g_socketmgr, pf,
H A Dcontrolconf.c1192 int pf = isc_sockaddr_pf(&listener->address); local
1193 if ((pf == AF_INET && isc_net_probeipv4() != ISC_R_SUCCESS) ||
1195 (pf == AF_UNIX && isc_net_probeunix() != ISC_R_SUCCESS) ||
1197 (pf == AF_INET6 && isc_net_probeipv6() != ISC_R_SUCCESS))
/bind-9.11.3/bin/rndc/
H A Drndc.c473 int pf; local
482 pf = isc_sockaddr_pf(addr);
483 if (pf == AF_INET || pf == AF_INET6)
487 DO("create socket", isc_socket_create(socketmgr, pf, type, &sock));
/bind-9.11.3/lib/isc/include/isc/
H A Dsocket.h325 isc_result_t (*socketcreate)(isc_socketmgr_t *manager, int pf,
492 int pf,
503 *\li 'pf' is the desired protocol family, e.g. PF_INET or PF_INET6.
/bind-9.11.3/lib/dns/
H A Dresolver.c1712 int pf; local
1714 pf = isc_sockaddr_pf(&addrinfo->sockaddr);
1716 switch (pf) {
1740 result = isc_socket_create(res->socketmgr, pf,

Completed in 538 milliseconds