/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/security/selinux/ |
D | netnode.c | 110 case PF_INET: in sel_netnode_find() 124 case PF_INET: in sel_netnode_find() 151 case PF_INET: in sel_netnode_insert() 206 case PF_INET: in sel_netnode_sid_slow() 207 ret = security_node_sid(&selinux_state, PF_INET, in sel_netnode_sid_slow()
|
D | netlabel.c | 280 if (ep->base.sk->sk_family != PF_INET && in selinux_netlbl_sctp_assoc_request() 329 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request() 357 if (family == PF_INET) in selinux_netlbl_inet_csk_clone() 395 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | txtimestamp.c | 499 if (family == PF_INET) in do_test() 542 if (family == PF_INET) { in do_test() 585 if (family == PF_INET) in do_test() 591 fill_header_udp(buf + off, family == PF_INET); in do_test() 610 } else if (family == PF_INET) { in do_test() 866 family == PF_INET ? "INET" : "INET6", in do_main() 911 do_listen(PF_INET, &daddr, sizeof(daddr)); in main() 912 do_main(PF_INET); in main()
|
D | psock_lib.h | 79 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open() 80 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
|
D | msg_zerocopy.c | 250 PF_INET : PF_INET6)); in do_sendmsg_corked() 301 case PF_INET: in setup_sockaddr() 497 uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; in do_tx() 524 if (cfg_family == PF_INET) in do_tx() 633 if (cfg_family == PF_INET && type == SOCK_RAW) { in do_flush_datagram() 716 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 | 121 case PF_INET: in setup_sockaddr() 431 cfg_family = PF_INET; in parse_opts() 513 if (cfg_family == PF_INET) in parse_opts() 656 set_pmtu_discover(fd, cfg_family == PF_INET); in main()
|
D | udpgso_bench_rx.c | 67 case PF_INET: in setup_sockaddr() 302 cfg_family = PF_INET; in parse_opts()
|
D | tcp_mmap.c | 288 case PF_INET: in setup_sockaddr() 385 cfg_family = PF_INET; in main()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 126 #define PF_INET 2 macro 134 #define AF_INET PF_INET
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | sock_flags_kern.c | 41 if (sk->family == PF_INET && in bpf_prog2()
|
D | cookie_uid_helper_example.c | 221 s_rcv = socket(PF_INET, SOCK_DGRAM, 0); in udp_client() 230 s_send = socket(PF_INET, SOCK_DGRAM, 0); in udp_client()
|
/kernel/linux/linux-5.10/net/rds/ |
D | tcp_listen.c | 272 ret = sock_create_kern(net, isv6 ? PF_INET6 : PF_INET, SOCK_STREAM, in rds_tcp_listen_init() 298 sin->sin_family = PF_INET; in rds_tcp_listen_init()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ipv4.c | 568 .family = PF_INET, 977 .family = PF_INET, 1013 return inet_ctl_sock_create(&net->dccp.v4_ctl_sk, PF_INET, in dccp_v4_init_net() 1076 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); 1077 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6);
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_TCPMSS.c | 51 if (family == PF_INET) { in tcpmss_reverse_mtu() 203 PF_INET, in tcpmss_tg4()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | protocol.c | 578 struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, in sctp_v4_create_accept_sk() 828 sa_family_t family = PF_INET; in sctp_ctl_sock_init() 1026 .family = PF_INET, 1103 case PF_INET: in sctp_get_pf_specific() 1116 case PF_INET: in sctp_register_pf() 1148 sctp_register_pf(&sctp_pf_inet, PF_INET); in sctp_v4_pf_init() 1623 MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-132");
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_001.cpp | 44 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); in SetIP()
|
D | It_net_container_002.cpp | 44 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); in SetIP()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | callback.c | 48 ret = svc_create_xprt(serv, "tcp", net, PF_INET, in nfs4_callback_up_net() 55 nn->nfs_callback_tcpport, PF_INET, net->ns.inum); in nfs4_callback_up_net()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip.c | 608 .family = PF_INET, 682 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 2, IPPROTO_L2TP); 683 MODULE_ALIAS_NET_PF_PROTO(PF_INET, IPPROTO_L2TP);
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_defrag_ipv4.c | 67 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
|
/kernel/linux/linux-5.10/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() 1649 fs->type ? PF_INET6 : PF_INET); in __cxgb4_set_filter() 1653 fs->type ? PF_INET6 : PF_INET, in __cxgb4_set_filter() 1724 fs->type ? PF_INET6 : PF_INET); in __cxgb4_set_filter() 1727 fs->type ? PF_INET6 : PF_INET, in __cxgb4_set_filter() 1837 f->fs.type ? PF_INET6 : PF_INET); in __cxgb4_del_filter() 1841 f->fs.type ? PF_INET6 : PF_INET, in __cxgb4_del_filter()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | af_inet.c | 296 PF_INET, protocol, sock->type); in inet_create() 303 PF_INET, protocol); in inet_create() 322 sk = sk_alloc(net, PF_INET, GFP_KERNEL, answer_prot, kern); in inet_create() 1031 .family = PF_INET, 1065 .family = PF_INET, 1096 .family = PF_INET, 1121 .family = PF_INET,
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | port_user.c | 116 fd = socket(PF_INET, SOCK_STREAM, 0); in port_listen_fd()
|