/openbmc/linux/tools/testing/selftests/bpf/ |
H A 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() 364 cfg_l3_inner == PF_INET ? ETH_P_IP in build_packet() 370 case PF_INET: in build_packet() 410 if (cfg_l3_extra == PF_INET) in setup_tx() 420 if (cfg_l3_outer == PF_INET) in setup_tx() 430 if (cfg_l3_inner == PF_INET) in setup_tx() 452 if (cfg_l3_inner == PF_INET) in setup_rx() 615 return PF_INET; in parse_protocol_family() [all …]
|
/openbmc/linux/security/selinux/ |
H A 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()
|
H A D | netlabel.c | 284 if (asoc->base.sk->sk_family != PF_INET && in selinux_netlbl_sctp_assoc_request() 333 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request() 361 if (family == PF_INET) in selinux_netlbl_inet_csk_clone() 399 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
|
/openbmc/linux/net/handshake/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ruli/files/ |
H A D | 0001-Fix-build-with-format-string-checks.patch | 23 case PF_INET: 39 case PF_INET: 50 case PF_INET:
|
H A D | 0001-src-ruli_addr.c-Add-missing-format-string.patch | 27 case PF_INET:
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
H A D | gro.c | 110 if (proto == PF_INET) in setup_sock_filter() 117 if (proto == PF_INET) in setup_sock_filter() 190 } else if (proto == PF_INET) { in tcp_checksum() 237 } else if (proto == PF_INET) { in fill_networklayer() 389 if (proto == PF_INET) { in recompute_packet() 652 if (proto == PF_INET) { in send_changed_tos() 673 if (proto == PF_INET) { in send_changed_ECN() 864 if (proto == PF_INET) { in gro_sender() 984 if (proto == PF_INET) { in gro_receiver() 1044 proto = PF_INET; in parse_args() [all …]
|
H A 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()
|
H A 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()
|
H A D | tcp_inq.c | 42 case PF_INET: in setup_loopback_addr() 111 family = PF_INET; in main()
|
H A 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()
|
H A D | so_txtime.c | 327 addr->sa_family == PF_INET ? '4' : '6', in do_test_tx() 369 case PF_INET: in setup_sockaddr() 446 domain = PF_INET; in parse_opts()
|
H A D | udpgso_bench_rx.c | 67 case PF_INET: in setup_sockaddr() 300 cfg_family = PF_INET; in parse_opts()
|
/openbmc/u-boot/tools/ |
H A D | ncb.c | 17 s = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
|
/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/qemu/net/ |
H A D | socket.c | 234 fd = qemu_socket(PF_INET, SOCK_DGRAM, 0); in net_socket_mcast_create() 506 fd = qemu_socket(PF_INET, SOCK_STREAM, 0); in net_socket_listen_init() 554 fd = qemu_socket(PF_INET, SOCK_STREAM, 0); in net_socket_connect_init() 654 fd = qemu_socket(PF_INET, SOCK_DGRAM, 0); in net_socket_udp_init()
|
/openbmc/linux/net/rds/ |
H A D | tcp_listen.c | 277 ret = sock_create_kern(net, isv6 ? PF_INET6 : PF_INET, SOCK_STREAM, in rds_tcp_listen_init() 303 sin->sin_family = PF_INET; in rds_tcp_listen_init()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_TCPMSS.c | 51 if (family == PF_INET) { in tcpmss_reverse_mtu() 203 PF_INET, in tcpmss_tg4()
|
/openbmc/linux/fs/nfs/ |
H A 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()
|
/openbmc/linux/net/dccp/ |
H A D | ipv4.c | 584 .family = PF_INET, 995 .family = PF_INET, 1032 return inet_ctl_sock_create(&pn->v4_ctl_sk, PF_INET, in dccp_v4_init_net() 1099 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); 1100 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6);
|
/openbmc/qemu/tests/unit/ |
H A D | socket-helpers.c | 139 if (socket_can_bind_connect("127.0.0.1", PF_INET) < 0) { in socket_check_protocol_support()
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_ip.c | 609 .family = PF_INET, 681 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 115, 2); 682 MODULE_ALIAS_NET_PF_PROTO(PF_INET, 115);
|
/openbmc/linux/net/sctp/ |
H A D | protocol.c | 585 struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, in sctp_v4_create_accept_sk() 833 sa_family_t family = PF_INET; in sctp_ctl_sock_init() 1119 .family = PF_INET, 1201 case PF_INET: in sctp_get_pf_specific() 1214 case PF_INET: in sctp_register_pf() 1246 sctp_register_pf(&sctp_pf_inet, PF_INET); in sctp_v4_pf_init() 1731 MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-132");
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | nf_defrag_ipv4.c | 68 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
|