Lines Matching defs:pf

342 	int			pf;
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 == AF_INET6) {
1682 } else if (sock->pf == AF_UNIX) {
2550 if (sock->pf == AF_INET6) {
2560 if (sock->pf == AF_INET6) {
2597 sock->fd = socket(sock->pf, SOCK_DGRAM, IPPROTO_UDP);
2600 sock->fd = socket(sock->pf, SOCK_STREAM, IPPROTO_TCP);
2603 sock->fd = socket(sock->pf, SOCK_STREAM, 0);
2611 if (sock->fd == -1 && sock->pf == PF_ROUTE) {
2613 sock->fd = socket(sock->pf, SOCK_RAW,
2616 sock->fd = socket(sock->pf, SOCK_RAW, 0);
2782 if (sock->type == isc_sockettype_tcp && sock->pf == AF_INET6) {
2809 if (sock->pf == AF_INET6 && sock->recvcmsgbuflen == 0U) {
2821 if ((sock->pf == AF_INET6)
2836 if ((sock->pf == AF_INET6)
2855 if (sock->pf == AF_INET6) {
2871 if (sock->pf == AF_INET) {
2892 if (sock->pf == AF_INET) {
2921 if ((sock->pf == AF_INET6)
2934 if ((sock->pf == AF_INET)
2965 socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type,
2984 (pf == AF_INET) ? udp4statsindex : udp6statsindex;
2985 #define DCSPPKT(pf) ((pf == AF_INET) ? ISC_NET_DSCPPKTV4 : ISC_NET_DSCPPKTV6)
2986 sock->pktdscp = (isc_net_probedscp() & DCSPPKT(pf)) != 0;
2990 (pf == AF_INET) ? tcp4statsindex : tcp6statsindex;
3002 sock->pf = pf;
3053 isc__socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type,
3056 return (socket_create(manager0, pf, type, socketp, NULL));
3071 sock->pf, sock->type, socketp,
3655 sock->pf)
3663 sock->pf);
3681 NEWCONNSOCK(dev)->pf = sock->pf;
5572 if (sock->pf != sockaddr->type.sa.sa_family) {
5581 if (sock->pf == AF_UNIX)
6342 if (sock->pf == AF_INET6) {
6370 if (sock->pf == AF_INET) {
6387 if (sock->pf == AF_INET6) {