/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 125 case PF_INET: in util_printaddr() 312 case PF_INET: in build_packet() 336 case PF_INET: in build_packet() 355 cfg_l3_inner == PF_INET ? IPPROTO_IPIP in build_packet() 364 cfg_l3_inner == PF_INET ? ETH_P_IP in build_packet() 370 case PF_INET: in build_packet() 372 cfg_l3_outer == PF_INET ? IPPROTO_IPIP in build_packet() 381 cfg_l3_outer == PF_INET ? IPPROTO_IPIP in build_packet() 410 if (cfg_l3_extra == PF_INET) in setup_tx() 420 if (cfg_l3_outer == PF_INET) in setup_tx() [all …]
|
/linux-6.12.1/security/selinux/ |
D | netnode.c | 109 case PF_INET: in sel_netnode_find() 123 case PF_INET: in sel_netnode_find() 150 case PF_INET: in sel_netnode_insert() 206 case PF_INET: in sel_netnode_sid_slow() 207 ret = security_node_sid(PF_INET, in sel_netnode_sid_slow()
|
D | netlabel.c | 286 if (asoc->base.sk->sk_family != PF_INET && in selinux_netlbl_sctp_assoc_request() 335 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request() 363 if (family == PF_INET || family == PF_INET6) in selinux_netlbl_inet_csk_clone() 401 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
|
/linux-6.12.1/net/handshake/ |
D | handshake-test.c | 152 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_submit_test1() 193 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_submit_test3() 219 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_submit_test4() 254 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_submit_test5() 292 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_submit_test6() 324 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_cancel_test1() 360 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_cancel_test2() 402 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_cancel_test3() 460 err = __sock_create(&init_net, PF_INET, SOCK_STREAM, IPPROTO_TCP, in handshake_req_destroy_test1()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | txtimestamp.c | 504 if (family == PF_INET) in do_test() 547 if (family == PF_INET) { in do_test() 590 if (family == PF_INET) in do_test() 596 fill_header_udp(buf + off, family == PF_INET); in do_test() 615 } else if (family == PF_INET) { in do_test() 871 family == PF_INET ? "INET" : "INET6", in do_main() 916 do_listen(PF_INET, &daddr, sizeof(daddr)); in main() 917 do_main(PF_INET); in main()
|
D | psock_lib.h | 81 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open() 82 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
|
D | gro.c | 117 if (proto == PF_INET) in setup_sock_filter() 127 if (proto == PF_INET) in setup_sock_filter() 216 } else if (proto == PF_INET) { in tcp_checksum() 263 } else if (proto == PF_INET) { in fill_networklayer() 415 if (proto == PF_INET) { in recompute_packet() 818 if (proto == PF_INET) { in send_changed_tos() 839 if (proto == PF_INET) { in send_changed_ECN() 1031 if (proto == PF_INET) { in gro_sender() 1074 int offset = proto == PF_INET ? 20 : 0; in gro_sender() 1167 if (proto == PF_INET) { in gro_receiver() [all …]
|
D | msg_zerocopy.c | 253 PF_INET : PF_INET6)); in do_sendmsg_corked() 304 case PF_INET: in setup_sockaddr() 501 uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; in do_tx() 528 if (cfg_family == PF_INET) in do_tx() 640 if (cfg_family == PF_INET && type == SOCK_RAW) { in do_flush_datagram() 723 cfg_family = PF_INET; in parse_opts()
|
D | tcp_inq.c | 42 case PF_INET: in setup_loopback_addr() 111 family = PF_INET; in main()
|
D | udpgso_bench_tx.c | 122 case PF_INET: in setup_sockaddr() 448 cfg_family = PF_INET; in parse_opts() 535 if (cfg_family == PF_INET) in parse_opts() 678 set_pmtu_discover(fd, cfg_family == PF_INET); in main()
|
D | so_txtime.c | 330 addr->sa_family == PF_INET ? '4' : '6', in do_test_tx() 372 case PF_INET: in setup_sockaddr() 449 domain = PF_INET; in parse_opts()
|
D | io_uring_zerocopy_tx.c | 247 cfg_family = PF_INET; in parse_opts() 281 case PF_INET: in parse_opts()
|
D | udpgso_bench_rx.c | 67 case PF_INET: in setup_sockaddr() 300 cfg_family = PF_INET; in parse_opts()
|
/linux-6.12.1/fs/nfs/ |
D | callback.c | 47 ret = svc_xprt_create(serv, "tcp", net, PF_INET, in nfs4_callback_up_net() 54 nn->nfs_callback_tcpport, PF_INET, net->ns.inum); in nfs4_callback_up_net()
|
/linux-6.12.1/samples/bpf/ |
D | cookie_uid_helper_example.c | 230 s_rcv = socket(PF_INET, SOCK_DGRAM, 0); in udp_client() 239 s_send = socket(PF_INET, SOCK_DGRAM, 0); in udp_client()
|
/linux-6.12.1/net/rds/ |
D | tcp_listen.c | 281 ret = sock_create_kern(net, isv6 ? PF_INET6 : PF_INET, SOCK_STREAM, in rds_tcp_listen_init() 307 sin->sin_family = PF_INET; in rds_tcp_listen_init()
|
/linux-6.12.1/net/dccp/ |
D | ipv4.c | 586 .family = PF_INET, 997 .family = PF_INET, 1034 return inet_ctl_sock_create(&pn->v4_ctl_sk, PF_INET, in dccp_v4_init_net() 1101 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); 1102 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6);
|
/linux-6.12.1/net/netfilter/ |
D | xt_TCPMSS.c | 51 if (family == PF_INET) { in tcpmss_reverse_mtu() 203 PF_INET, in tcpmss_tg4()
|
/linux-6.12.1/net/sctp/ |
D | protocol.c | 586 struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, in sctp_v4_create_accept_sk() 834 sa_family_t family = PF_INET; in sctp_ctl_sock_init() 1120 .family = PF_INET, 1202 case PF_INET: in sctp_get_pf_specific() 1215 case PF_INET: in sctp_register_pf() 1247 sctp_register_pf(&sctp_pf_inet, PF_INET); in sctp_v4_pf_init() 1726 MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-132");
|
/linux-6.12.1/net/l2tp/ |
D | l2tp_ip.c | 634 .family = PF_INET, 740 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 115, 2); 741 MODULE_ALIAS_NET_PF_PROTO(PF_INET, 115);
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 699 if (family == PF_INET) { in cxgb4_set_ftid() 721 if (family == PF_INET) in cxgb4_set_hpftid() 734 if (family == PF_INET) { in cxgb4_clear_ftid() 749 if (family == PF_INET) in cxgb4_clear_hpftid() 1650 fs->type ? PF_INET6 : PF_INET); in __cxgb4_set_filter() 1654 fs->type ? PF_INET6 : PF_INET, in __cxgb4_set_filter() 1725 fs->type ? PF_INET6 : PF_INET); in __cxgb4_set_filter() 1728 fs->type ? PF_INET6 : PF_INET, in __cxgb4_set_filter() 1838 f->fs.type ? PF_INET6 : PF_INET); in __cxgb4_del_filter() 1842 f->fs.type ? PF_INET6 : PF_INET, in __cxgb4_del_filter()
|
/linux-6.12.1/net/ipv4/ |
D | af_inet.c | 300 PF_INET, protocol, sock->type); in inet_create() 307 PF_INET, protocol); in inet_create() 326 sk = sk_alloc(net, PF_INET, GFP_KERNEL, answer_prot, kern); in inet_create() 1055 .family = PF_INET, 1090 .family = PF_INET, 1122 .family = PF_INET, 1147 .family = PF_INET,
|
/linux-6.12.1/net/smc/ |
D | smc_inet.c | 34 .family = PF_INET,
|
/linux-6.12.1/net/ipv4/netfilter/ |
D | nf_defrag_ipv4.c | 68 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
|
/linux-6.12.1/tools/testing/selftests/net/lib/ |
D | csum.c | 323 if (cfg_family == PF_INET) in build_packet() 533 if (cfg_family == PF_INET) in recv_prepare_packet_bind() 801 cfg_family = PF_INET; in parse_args()
|