Lines Matching defs:pf
238 int pf; /* protocol family */
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,
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 == PF_ROUTE)
1761 if ((pf == AF_INET6)
1776 if ((pf == AF_INET6)
1853 isc__socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
1856 return (socket_create(manager, pf, type, socketp, NULL));
1864 return (socket_create(sock->manager, sock->pf, sock->type,
2086 nsock->pf = adev->address.type.sa.sa_family;
2441 new_fd = socket(parent->pf, SOCK_STREAM, IPPROTO_TCP);
3259 if (sock->pf != sockaddr->type.sa.sa_family) {
3435 nsock->fd = socket(sock->pf, SOCK_STREAM, IPPROTO_TCP);
3889 if (sock->pf == AF_INET6) {
3911 if (sock->pf == AF_INET) {
3917 if (sock->pf == AF_INET6) {