PF_INET 116 arch/um/drivers/port_user.c fd = socket(PF_INET, SOCK_STREAM, 0); PF_INET 605 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_family != PF_INET) PF_INET 92 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_family == PF_INET && PF_INET 570 drivers/crypto/chelsio/chtls/chtls_main.c &tcp_prot, PF_INET); PF_INET 1884 drivers/infiniband/hw/cxgb3/iwch_cm.c if (cm_id->m_remote_addr.ss_family != PF_INET) { PF_INET 1981 drivers/infiniband/hw/cxgb3/iwch_cm.c if (cm_id->m_local_addr.ss_family != PF_INET) { PF_INET 659 drivers/isdn/mISDN/l1oip_core.c if (sock_create(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &socket)) { PF_INET 446 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { PF_INET 485 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { PF_INET 502 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (family == PF_INET) { PF_INET 1364 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->type ? PF_INET6 : PF_INET, PF_INET 1374 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->type ? PF_INET6 : PF_INET, PF_INET 1435 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->type ? PF_INET6 : PF_INET, PF_INET 1446 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->type ? PF_INET6 : PF_INET, chip_ver); PF_INET 1547 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c f->fs.type ? PF_INET6 : PF_INET, PF_INET 1256 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) { PF_INET 1293 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) { PF_INET 1327 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (family == PF_INET) PF_INET 667 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c fidx = cxgb4_get_free_ftid(dev, fs->type ? PF_INET6 : PF_INET); PF_INET 129 drivers/scsi/be2iscsi/be_mgmt.c if (dst_addr->sa_family != PF_INET && dst_addr->sa_family != PF_INET6) { PF_INET 162 drivers/scsi/be2iscsi/be_mgmt.c if (dst_addr->sa_family == PF_INET) { PF_INET 875 drivers/xen/pvcalls-front.c newsock->sk = sk_alloc(sock_net(sock->sk), PF_INET, GFP_KERNEL, &pvcalls_proto, false); PF_INET 235 fs/lockd/svc.c err = create_lockd_family(serv, net, PF_INET, cred); PF_INET 48 fs/nfs/callback.c ret = svc_create_xprt(serv, "tcp", net, PF_INET, PF_INET 55 fs/nfs/callback.c nn->nfs_callback_tcpport, PF_INET, net->ns.inum); PF_INET 776 fs/nfsd/nfsctl.c PF_INET, port, SVC_SOCK_ANONYMOUS, cred); PF_INET 789 fs/nfsd/nfsctl.c xprt = svc_find_xprt(nn->nfsd_serv, transport, net, PF_INET, port); PF_INET 294 fs/nfsd/nfssvc.c error = svc_create_xprt(nn->nfsd_serv, "udp", net, PF_INET, NFS_PORT, PF_INET 299 fs/nfsd/nfssvc.c error = svc_create_xprt(nn->nfsd_serv, "tcp", net, PF_INET, NFS_PORT, PF_INET 1620 fs/ocfs2/cluster/tcp.c ret = sock_create(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock); PF_INET 2014 fs/ocfs2/cluster/tcp.c .sin_family = PF_INET, PF_INET 2019 fs/ocfs2/cluster/tcp.c ret = sock_create(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock); PF_INET 965 net/9p/trans_fd.c err = __sock_create(current->nsproxy->net_ns, PF_INET, PF_INET 2421 net/bridge/netfilter/ebtables.c .pf = PF_INET, PF_INET 1139 net/core/sock.c if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6) { PF_INET 564 net/dccp/ipv4.c .family = PF_INET, PF_INET 979 net/dccp/ipv4.c .family = PF_INET, PF_INET 1019 net/dccp/ipv4.c return inet_ctl_sock_create(&net->dccp.v4_ctl_sk, PF_INET, PF_INET 1082 net/dccp/ipv4.c MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); PF_INET 1083 net/dccp/ipv4.c MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6); PF_INET 295 net/ipv4/af_inet.c PF_INET, protocol, sock->type); PF_INET 302 net/ipv4/af_inet.c PF_INET, protocol); PF_INET 321 net/ipv4/af_inet.c sk = sk_alloc(net, PF_INET, GFP_KERNEL, answer_prot, kern); PF_INET 984 net/ipv4/af_inet.c .family = PF_INET, PF_INET 1020 net/ipv4/af_inet.c .family = PF_INET, PF_INET 1053 net/ipv4/af_inet.c .family = PF_INET, PF_INET 1080 net/ipv4/af_inet.c .family = PF_INET, PF_INET 2756 net/ipv4/devinet.c register_gifconf(PF_INET, inet_gifconf); PF_INET 2763 net/ipv4/devinet.c rtnl_register(PF_INET, RTM_NEWADDR, inet_rtm_newaddr, NULL, 0); PF_INET 2764 net/ipv4/devinet.c rtnl_register(PF_INET, RTM_DELADDR, inet_rtm_deladdr, NULL, 0); PF_INET 2765 net/ipv4/devinet.c rtnl_register(PF_INET, RTM_GETADDR, NULL, inet_dump_ifaddr, 0); PF_INET 2766 net/ipv4/devinet.c rtnl_register(PF_INET, RTM_GETNETCONF, inet_netconf_get_devconf, PF_INET 1003 net/ipv4/fib_frontend.c if (rtnl_msg_family(cb->nlh) != PF_INET) PF_INET 1630 net/ipv4/fib_frontend.c rtnl_register(PF_INET, RTM_NEWROUTE, inet_rtm_newroute, NULL, 0); PF_INET 1631 net/ipv4/fib_frontend.c rtnl_register(PF_INET, RTM_DELROUTE, inet_rtm_delroute, NULL, 0); PF_INET 1632 net/ipv4/fib_frontend.c rtnl_register(PF_INET, RTM_GETROUTE, NULL, inet_dump_fib, 0); PF_INET 1206 net/ipv4/icmp.c err = inet_ctl_sock_create(&sk, PF_INET, PF_INET 242 net/ipv4/inet_hashtables.c score = sk->sk_family == PF_INET ? 2 : 1; PF_INET 663 net/ipv4/ip_sockglue.c if (sk->sk_family == PF_INET || PF_INET 1260 net/ipv4/ip_sockglue.c err = nf_setsockopt(sk, PF_INET, optname, optval, optlen); PF_INET 1286 net/ipv4/ip_sockglue.c err = compat_nf_setsockopt(sk, PF_INET, optname, optval, PF_INET 1576 net/ipv4/ip_sockglue.c err = nf_getsockopt(sk, PF_INET, optname, optval, &len); PF_INET 1613 net/ipv4/ip_sockglue.c err = compat_nf_getsockopt(sk, PF_INET, optname, optval, &len); PF_INET 1609 net/ipv4/netfilter/arp_tables.c .pf = PF_INET, PF_INET 1874 net/ipv4/netfilter/ip_tables.c .pf = PF_INET, PF_INET 67 net/ipv4/netfilter/nf_defrag_ipv4.c if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && PF_INET 1847 net/ipv4/nexthop.c rtnl_register(PF_INET, RTM_NEWNEXTHOP, rtm_new_nexthop, NULL, 0); PF_INET 1848 net/ipv4/nexthop.c rtnl_register(PF_INET, RTM_GETNEXTHOP, NULL, rtm_dump_nexthop, 0); PF_INET 3503 net/ipv4/route.c rtnl_register(PF_INET, RTM_GETROUTE, inet_rtm_getroute, NULL, PF_INET 1368 net/ipv4/tcp_ipv4.c .family = PF_INET, PF_INET 2643 net/ipv4/tcp_ipv4.c res = inet_ctl_sock_create(&sk, PF_INET, SOCK_RAW, PF_INET 370 net/ipv4/udp.c score = (sk->sk_family == PF_INET) ? 2 : 1; PF_INET 172 net/ipv6/ipv6_sockglue.c if (val == PF_INET) { PF_INET 225 net/ipv6/ipv6_sockglue.c sk->sk_family = PF_INET; PF_INET 238 net/ipv6/ipv6_sockglue.c sk->sk_family = PF_INET; PF_INET 1463 net/l2tp/l2tp_core.c if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6) PF_INET 622 net/l2tp/l2tp_ip.c .family = PF_INET, PF_INET 700 net/l2tp/l2tp_ip.c MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 2, IPPROTO_L2TP); PF_INET 701 net/l2tp/l2tp_ip.c MODULE_ALIAS_NET_PF_PROTO(PF_INET, IPPROTO_L2TP); PF_INET 2175 net/netfilter/ipset/ip_set_core.c .pf = PF_INET, PF_INET 1367 net/netfilter/ipvs/ip_vs_core.c if (sk->sk_family == PF_INET && inet_sk(sk)->nodefrag) PF_INET 2018 net/netfilter/ipvs/ip_vs_core.c if (sk->sk_family == PF_INET && inet_sk(sk)->nodefrag) PF_INET 2883 net/netfilter/ipvs/ip_vs_ctl.c .pf = PF_INET, PF_INET 243 net/netfilter/nf_conntrack_ftp.c if ((cmd->l3num == PF_INET && data[1] != '1') || PF_INET 495 net/netfilter/nf_conntrack_ftp.c if (cmd.l3num == PF_INET) { PF_INET 252 net/netfilter/nf_conntrack_proto.c tuple.src.l3num = PF_INET; PF_INET 296 net/netfilter/nf_conntrack_proto.c .pf = PF_INET, PF_INET 51 net/netfilter/xt_TCPMSS.c if (family == PF_INET) { PF_INET 203 net/netfilter/xt_TCPMSS.c PF_INET, PF_INET 1470 net/netlabel/netlabel_unlabeled.c family = PF_INET; PF_INET 1474 net/netlabel/netlabel_unlabeled.c case PF_INET: { PF_INET 252 net/rds/rdma_transport.c sin.sin_family = PF_INET; PF_INET 114 net/rds/tcp_connect.c ret = sock_create_kern(rds_conn_net(conn), PF_INET, PF_INET 297 net/rds/tcp_listen.c ret = sock_create_kern(net, isv6 ? PF_INET6 : PF_INET, SOCK_STREAM, PF_INET 323 net/rds/tcp_listen.c sin->sin_family = PF_INET; PF_INET 741 net/rxrpc/af_rxrpc.c if (protocol != PF_INET && PF_INET 571 net/sctp/protocol.c struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, PF_INET 821 net/sctp/protocol.c sa_family_t family = PF_INET; PF_INET 1019 net/sctp/protocol.c .family = PF_INET, PF_INET 1104 net/sctp/protocol.c case PF_INET: PF_INET 1117 net/sctp/protocol.c case PF_INET: PF_INET 1149 net/sctp/protocol.c sctp_register_pf(&sctp_pf_inet, PF_INET); PF_INET 1618 net/sctp/protocol.c MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-132"); PF_INET 6227 net/sctp/socket.c if ((PF_INET == sk->sk_family) && PF_INET 1969 net/smc/af_smc.c int family = (protocol == SMCPROTO_SMC6) ? PF_INET6 : PF_INET; PF_INET 171 net/smc/smc_clc.c if (addrs.ss_family == PF_INET) { PF_INET 1367 net/socket.c if (family == PF_INET && type == SOCK_PACKET) { PF_INET 983 net/sunrpc/svc.c case PF_INET: PF_INET 204 net/sunrpc/svc_xprt.c case PF_INET: PF_INET 293 net/sunrpc/svcsock.c case PF_INET: PF_INET 1359 net/sunrpc/svcsock.c if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6)) PF_INET 1425 net/sunrpc/svcsock.c family = PF_INET; PF_INET 11472 net/wireless/nl80211.c err = __sock_create(wiphy_net(&rdev->wiphy), PF_INET, SOCK_STREAM, PF_INET 221 samples/bpf/cookie_uid_helper_example.c s_rcv = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 230 samples/bpf/cookie_uid_helper_example.c s_send = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 41 samples/bpf/sock_flags_kern.c if (sk->family == PF_INET && PF_INET 209 samples/bpf/test_cgrp2_sock.c int family = PF_INET; PF_INET 1194 security/selinux/hooks.c case PF_INET: PF_INET 4366 security/selinux/hooks.c case PF_INET: PF_INET 4581 security/selinux/hooks.c if (family == PF_INET || family == PF_INET6) { PF_INET 5004 security/selinux/hooks.c if (family != PF_INET && family != PF_INET6) PF_INET 5009 security/selinux/hooks.c family = PF_INET; PF_INET 5106 security/selinux/hooks.c family = PF_INET; PF_INET 5182 security/selinux/hooks.c if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6 || PF_INET 5406 security/selinux/hooks.c family = PF_INET; PF_INET 5644 security/selinux/hooks.c return selinux_ip_forward(skb, state->in, PF_INET); PF_INET 5702 security/selinux/hooks.c return selinux_ip_output(skb, PF_INET); PF_INET 5830 security/selinux/hooks.c case PF_INET: PF_INET 5892 security/selinux/hooks.c return selinux_ip_postroute(skb, state->out, PF_INET); PF_INET 280 security/selinux/netlabel.c if (ep->base.sk->sk_family != PF_INET && PF_INET 329 security/selinux/netlabel.c if (family != PF_INET && family != PF_INET6) PF_INET 357 security/selinux/netlabel.c if (family == PF_INET) PF_INET 395 security/selinux/netlabel.c if (family != PF_INET && family != PF_INET6) PF_INET 110 security/selinux/netnode.c case PF_INET: PF_INET 124 security/selinux/netnode.c case PF_INET: PF_INET 151 security/selinux/netnode.c case PF_INET: PF_INET 206 security/selinux/netnode.c case PF_INET: PF_INET 207 security/selinux/netnode.c ret = security_node_sid(&selinux_state, PF_INET, PF_INET 2715 security/smack/smack_lsm.c if (sock->sk->sk_family == PF_INET) { PF_INET 2762 security/smack/smack_lsm.c if (family != PF_INET) PF_INET 2832 security/smack/smack_lsm.c if (sock->sk->sk_family != PF_INET && PF_INET 3849 security/smack/smack_lsm.c family = PF_INET; PF_INET 3853 security/smack/smack_lsm.c case PF_INET: PF_INET 3996 security/smack/smack_lsm.c family = PF_INET; PF_INET 4010 security/smack/smack_lsm.c case PF_INET: PF_INET 4055 security/smack/smack_lsm.c (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)) PF_INET 4097 security/smack/smack_lsm.c family = PF_INET; PF_INET 691 security/smack/smackfs.c rc = netlbl_cfg_map_del(NULL, PF_INET, NULL, NULL, &nai); PF_INET 734 security/smack/smackfs.c rc = netlbl_cfg_map_del(oldambient, PF_INET, NULL, NULL, &nai); PF_INET 742 security/smack/smackfs.c rc = netlbl_cfg_unlbl_map_add(smack_net_ambient->smk_known, PF_INET, PF_INET 1255 security/smack/smackfs.c PF_INET, &audit_info); PF_INET 1268 security/smack/smackfs.c &snp->smk_host, &snp->smk_mask, PF_INET, PF_INET 634 security/tomoyo/network.c case PF_INET: PF_INET 425 tools/testing/selftests/bpf/prog_tests/flow_dissector.c sk = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 125 tools/testing/selftests/bpf/test_flow_dissector.c case PF_INET: PF_INET 312 tools/testing/selftests/bpf/test_flow_dissector.c case PF_INET: PF_INET 336 tools/testing/selftests/bpf/test_flow_dissector.c case PF_INET: PF_INET 355 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_inner == PF_INET ? IPPROTO_IPIP PF_INET 364 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_inner == PF_INET ? ETH_P_IP PF_INET 370 tools/testing/selftests/bpf/test_flow_dissector.c case PF_INET: PF_INET 372 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_outer == PF_INET ? IPPROTO_IPIP PF_INET 381 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_outer == PF_INET ? IPPROTO_IPIP PF_INET 410 tools/testing/selftests/bpf/test_flow_dissector.c if (cfg_l3_extra == PF_INET) PF_INET 420 tools/testing/selftests/bpf/test_flow_dissector.c if (cfg_l3_outer == PF_INET) PF_INET 430 tools/testing/selftests/bpf/test_flow_dissector.c if (cfg_l3_inner == PF_INET) PF_INET 452 tools/testing/selftests/bpf/test_flow_dissector.c if (cfg_l3_inner == PF_INET) PF_INET 615 tools/testing/selftests/bpf/test_flow_dissector.c return PF_INET; PF_INET 667 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_inner = PF_INET; PF_INET 251 tools/testing/selftests/net/msg_zerocopy.c PF_INET : PF_INET6)); PF_INET 302 tools/testing/selftests/net/msg_zerocopy.c case PF_INET: PF_INET 498 tools/testing/selftests/net/msg_zerocopy.c uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; PF_INET 525 tools/testing/selftests/net/msg_zerocopy.c if (cfg_family == PF_INET) PF_INET 634 tools/testing/selftests/net/msg_zerocopy.c if (cfg_family == PF_INET && type == SOCK_RAW) { PF_INET 717 tools/testing/selftests/net/msg_zerocopy.c cfg_family = PF_INET; PF_INET 275 tools/testing/selftests/net/nettest.c sd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); PF_INET 1020 tools/testing/selftests/net/nettest.c sd = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 79 tools/testing/selftests/net/psock_lib.h fds[0] = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 80 tools/testing/selftests/net/psock_lib.h fds[1] = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 257 tools/testing/selftests/net/psock_snd.c fd = socket(PF_INET, SOCK_DGRAM, 0); PF_INET 255 tools/testing/selftests/net/so_txtime.c addr->sa_family == PF_INET ? '4' : '6', PF_INET 42 tools/testing/selftests/net/tcp_inq.c case PF_INET: PF_INET 111 tools/testing/selftests/net/tcp_inq.c family = PF_INET; PF_INET 250 tools/testing/selftests/net/tcp_mmap.c case PF_INET: PF_INET 315 tools/testing/selftests/net/tcp_mmap.c cfg_family = PF_INET; PF_INET 67 tools/testing/selftests/net/udpgso_bench_rx.c case PF_INET: PF_INET 300 tools/testing/selftests/net/udpgso_bench_rx.c cfg_family = PF_INET; PF_INET 302 tools/testing/selftests/net/udpgso_bench_rx.c setup_sockaddr(PF_INET, "0.0.0.0", &cfg_bind_addr); PF_INET 121 tools/testing/selftests/net/udpgso_bench_tx.c case PF_INET: PF_INET 430 tools/testing/selftests/net/udpgso_bench_tx.c cfg_family = PF_INET; PF_INET 507 tools/testing/selftests/net/udpgso_bench_tx.c if (cfg_family == PF_INET) PF_INET 650 tools/testing/selftests/net/udpgso_bench_tx.c set_pmtu_discover(fd, cfg_family == PF_INET); PF_INET 348 tools/testing/selftests/networking/timestamping/timestamping.c sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); PF_INET 400 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) PF_INET 429 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) { PF_INET 472 tools/testing/selftests/networking/timestamping/txtimestamp.c if (family == PF_INET) PF_INET 478 tools/testing/selftests/networking/timestamping/txtimestamp.c fill_header_udp(buf + off, family == PF_INET); PF_INET 497 tools/testing/selftests/networking/timestamping/txtimestamp.c } else if (family == PF_INET) { PF_INET 721 tools/testing/selftests/networking/timestamping/txtimestamp.c family == PF_INET ? "INET" : "INET6", PF_INET 766 tools/testing/selftests/networking/timestamping/txtimestamp.c do_listen(PF_INET, &daddr, sizeof(daddr)); PF_INET 767 tools/testing/selftests/networking/timestamping/txtimestamp.c do_main(PF_INET);