Home
last modified time | relevance | path

Searched refs:PF_INET6 (Results 1 – 25 of 85) sorted by relevance

1234

/openbmc/linux/security/selinux/
H A Dnetnode.c112 case PF_INET6: in sel_netnode_find()
127 case PF_INET6: in sel_netnode_find()
153 case PF_INET6: in sel_netnode_insert()
212 case PF_INET6: in sel_netnode_sid_slow()
213 ret = security_node_sid(PF_INET6, in sel_netnode_sid_slow()
H A Dnetlabel.c285 asoc->base.sk->sk_family != PF_INET6) in selinux_netlbl_sctp_assoc_request()
333 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request()
399 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c128 case PF_INET6: in util_printaddr()
320 case PF_INET6: in build_packet()
343 case PF_INET6: in build_packet()
379 case PF_INET6: in build_packet()
617 return PF_INET6; in parse_protocol_family()
669 cfg_l3_inner = PF_INET6; in parse_opts()
741 if (cfg_l3_inner == PF_INET6) { in print_opts()
754 if (cfg_l3_outer == PF_INET6) { in print_opts()
765 if (cfg_l3_outer == PF_INET6) { in print_opts()
/openbmc/linux/tools/testing/selftests/net/
H A Dcsum.c97 static int cfg_family = PF_INET6;
174 alen = cfg_family == PF_INET6 ? 32 : 8; in checksum()
353 if (cfg_family == PF_INET6) { in open_inet()
422 if (cfg_family == PF_INET6) { in send_packet()
479 if (cfg_family == PF_INET6) { in recv_prepare_udp()
752 if (cfg_family == PF_INET6) in recv_packet()
792 cfg_family = PF_INET6; in parse_args()
880 if (cfg_family == PF_INET6) { in parse_args()
H A Dudpgso_bench_rx.c43 static int cfg_family = PF_INET6;
73 case PF_INET6: in setup_sockaddr()
343 bind_addr = cfg_family == PF_INET6 ? "::" : "0.0.0.0"; in parse_opts()
H A Dtcp_inq.c48 case PF_INET6: in setup_loopback_addr()
115 family = PF_INET6; in main()
H A Dipv6_flowlabel.c228 fdt = socket(PF_INET6, SOCK_DGRAM, prot); in main()
232 fdr = use_ping ? fdt : socket(PF_INET6, SOCK_DGRAM, 0); in main()
H A Dgro.c181 if (proto == PF_INET6) { in tcp_checksum()
226 if (proto == PF_INET6) { in fill_networklayer()
656 } else if (proto == PF_INET6) { in send_changed_tos()
882 } else if (proto == PF_INET6) { in gro_sender()
994 } else if (proto == PF_INET6) { in gro_receiver()
1048 proto = PF_INET6; in parse_args()
1089 } else if (proto == PF_INET6) { in main()
H A Dudpgso_bench_tx.c128 case PF_INET6: in setup_sockaddr()
454 cfg_family = PF_INET6; in parse_opts()
519 bind_addr = cfg_family == PF_INET6 ? "::" : "0.0.0.0"; in parse_opts()
H A Dmsg_zerocopy.c253 PF_INET : PF_INET6)); in do_sendmsg_corked()
312 case PF_INET6: in setup_sockaddr()
729 cfg_family = PF_INET6; in parse_opts()
H A Dso_txtime.c377 case PF_INET6: in setup_sockaddr()
454 domain = PF_INET6; in parse_opts()
H A Dipv6_flowlabel_mgr.c189 fd = socket(PF_INET6, SOCK_DGRAM, 0); in main()
H A Dtcp_mmap.c352 case PF_INET6: in setup_sockaddr()
464 cfg_family = PF_INET6; in main()
/openbmc/linux/net/ipv6/
H A Daf_inet6.c166 PF_INET6, protocol, sock->type); in inet6_create()
173 PF_INET6, protocol); in inet6_create()
192 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot, kern); in inet6_create()
215 sk->sk_family = PF_INET6; in inet6_create()
686 .family = PF_INET6,
719 .family = PF_INET6,
745 .family = PF_INET6,
1304 sock_unregister(PF_INET6); in inet6_init()
1305 rtnl_unregister_all(PF_INET6); in inet6_init()
1322 MODULE_ALIAS_NETPROTO(PF_INET6);
H A Daddrlabel.c638 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_NEWADDRLABEL, in ipv6_addr_label_rtnl_register()
643 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_DELADDRLABEL, in ipv6_addr_label_rtnl_register()
648 ret = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_GETADDRLABEL, in ipv6_addr_label_rtnl_register()
/openbmc/linux/net/rds/
H A Dtcp_listen.c277 ret = sock_create_kern(net, isv6 ? PF_INET6 : PF_INET, SOCK_STREAM, in rds_tcp_listen_init()
295 sin6->sin6_family = PF_INET6; in rds_tcp_listen_init()
H A Dtcp_connect.c119 ret = sock_create_kern(rds_conn_net(conn), PF_INET6, in rds_tcp_conn_path_connect()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ruli/files/
H A D0001-src-ruli_addr.c-Add-missing-format-string.patch31 case PF_INET6:
H A D0001-Fix-build-with-format-string-checks.patch27 case PF_INET6:
/openbmc/qemu/util/
H A Dqemu-sockets.c54 case PF_INET6: in inet_getport()
71 case PF_INET6: in inet_setport()
85 case PF_INET6: return NETWORK_ADDRESS_FAMILY_IPV6; in inet_netfamily()
146 return PF_INET6; in inet_ai_family_from_address()
152 return PF_INET6; in inet_ai_family_from_address()
186 if (e->ai_family == PF_INET6) { in try_bind()
200 if (e->ai_family == PF_INET6 && errno == EADDRINUSE && !v6only) { in try_bind()
/openbmc/linux/fs/nfs/
H A Dcallback.c56 ret = svc_xprt_create(serv, "tcp", net, PF_INET6, in nfs4_callback_up_net()
62 nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum); in nfs4_callback_up_net()
/openbmc/qemu/tests/unit/
H A Dsocket-helpers.c147 if (socket_can_bind_connect("::1", PF_INET6) < 0) { in socket_check_protocol_support()
/openbmc/linux/net/l2tp/
H A Dl2tp_ip6.c734 .family = PF_INET6,
809 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET6, 115, 2);
810 MODULE_ALIAS_NET_PF_PROTO(PF_INET6, 115);
/openbmc/linux/net/sctp/
H A Dprotocol.c835 if (sctp_get_pf_specific(PF_INET6)) in sctp_ctl_sock_init()
836 family = PF_INET6; in sctp_ctl_sock_init()
842 if (err < 0 && family == PF_INET6) in sctp_ctl_sock_init()
1203 case PF_INET6: in sctp_get_pf_specific()
1219 case PF_INET6: in sctp_register_pf()
1732 MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-132");
/openbmc/linux/fs/smb/server/
H A Dtransport_tcp.c432 ret = sock_create(PF_INET6, SOCK_STREAM, IPPROTO_TCP, &ksmbd_socket); in create_socket()
448 sin6.sin6_family = PF_INET6; in create_socket()

1234