| /Linux-v5.4/samples/bpf/ |
| D | xdp_tx_iptunnel_user.c | 111 return AF_UNSPEC; in parse_ipstr() 172 tnl.family = AF_UNSPEC; in main() 191 if (vip.family == AF_UNSPEC) in main() 209 if (family == AF_UNSPEC) in main() 211 if (tnl.family == AF_UNSPEC) { in main()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.c | 69 static int cfg_l3_extra = AF_UNSPEC; /* optional SIT prefix */ 70 static int cfg_l3_inner = AF_UNSPEC; 71 static int cfg_l3_outer = AF_UNSPEC; 629 if (cfg_l3_outer == AF_UNSPEC) in parse_opts() 637 if (cfg_l3_inner == AF_UNSPEC) in parse_opts() 718 if (cfg_encap_proto && cfg_l3_outer == AF_UNSPEC) in parse_opts() 720 else if ((!cfg_encap_proto) && cfg_l3_outer != AF_UNSPEC) in parse_opts() 722 else if ((!cfg_encap_proto) && cfg_l3_extra != AF_UNSPEC) in parse_opts() 725 if (cfg_l3_inner == AF_UNSPEC) in parse_opts()
|
| /Linux-v5.4/net/netlabel/ |
| D | netlabel_domainhash.c | 120 return (f1 == f2) || (f1 == AF_UNSPEC) || (f2 == AF_UNSPEC); in netlbl_family_match() 178 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 183 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 285 (entry->family != AF_UNSPEC || in netlbl_domhsh_validate() 448 case AF_UNSPEC: in netlbl_domhsh_add() 801 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_remove() 810 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_remove() 858 if (family == AF_UNSPEC) in netlbl_domhsh_getentry()
|
| D | netlabel_mgmt.c | 113 entry->family = AF_UNSPEC; in netlbl_mgmt_add_common() 463 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info); in netlbl_mgmt_remove() 581 return netlbl_domhsh_remove_default(AF_UNSPEC, &audit_info); in netlbl_mgmt_removedef()
|
| /Linux-v5.4/tools/lib/bpf/ |
| D | netlink.c | 152 req.ifinfo.ifi_family = AF_UNSPEC; in bpf_set_link_xdp_fd() 332 .t.tcm_family = AF_UNSPEC, in libbpf_nl_get_class() 371 .t.tcm_family = AF_UNSPEC, in libbpf_nl_get_qdisc() 410 .t.tcm_family = AF_UNSPEC, in libbpf_nl_get_filter()
|
| /Linux-v5.4/include/linux/ |
| D | socket.h | 162 #define AF_UNSPEC 0 macro 216 #define PF_UNSPEC AF_UNSPEC
|
| /Linux-v5.4/net/core/ |
| D | dev_ioctl.c | 270 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc() 278 ifr->ifr_hwaddr.sa_family != AF_UNSPEC) in dev_ifsioc()
|
| D | dst.c | 241 .family = AF_UNSPEC,
|
| D | utils.c | 389 case AF_UNSPEC: in inet_pton_with_scope()
|
| /Linux-v5.4/include/net/ |
| D | rtnetlink.h | 28 return AF_UNSPEC; in rtnl_msg_family()
|
| /Linux-v5.4/net/ipv4/ |
| D | inet_diag.c | 609 if (cond->family != AF_UNSPEC && in inet_diag_bc_run() 746 case AF_UNSPEC: in valid_hostcond() 932 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk() 991 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk() 1094 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
|
| D | udp_diag.c | 124 if (r->sdiag_family != AF_UNSPEC && in udp_dump()
|
| D | nexthop.c | 222 nhm->nh_family = AF_UNSPEC; in nh_fill_node() 1326 case AF_UNSPEC: in rtm_to_nh_config() 1354 if (nhm->nh_family != AF_UNSPEC) { in rtm_to_nh_config()
|
| D | af_inet.c | 473 if (addr->sin_family != AF_UNSPEC || in __inet_bind() 560 if (uaddr->sa_family == AF_UNSPEC) in inet_dgram_connect() 623 if (uaddr->sa_family == AF_UNSPEC) { in __inet_stream_connect()
|
| /Linux-v5.4/net/netfilter/ipvs/ |
| D | ip_vs_pe_sip.c | 117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match()
|
| /Linux-v5.4/net/xfrm/ |
| D | xfrm_input.c | 367 if (x->sel.family == AF_UNSPEC) { in xfrm_prepare_input() 466 unsigned int family = AF_UNSPEC; in xfrm_input() 675 if (x->sel.family == AF_UNSPEC) { in xfrm_input()
|
| /Linux-v5.4/tools/usb/usbip/src/ |
| D | usbip_network.c | 260 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
|
| D | usbipd.c | 524 family = AF_UNSPEC; in do_standalone_mode()
|
| /Linux-v5.4/net/netfilter/ |
| D | nfnetlink_cttimeout.c | 175 nfmsg->nfgen_family = AF_UNSPEC; in ctnl_timeout_fill_info() 396 nfmsg->nfgen_family = AF_UNSPEC; in cttimeout_default_fill_info()
|
| D | nfnetlink_acct.c | 146 nfmsg->nfgen_family = AF_UNSPEC; in nfnl_acct_fill_info()
|
| /Linux-v5.4/net/sctp/ |
| D | diag.c | 366 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter() 392 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
|
| D | bind_addr.c | 482 if (addr->sa.sa_family != AF_UNSPEC) in sctp_is_any()
|
| /Linux-v5.4/security/selinux/ |
| D | netlabel.c | 551 if (addr->sa_family == AF_UNSPEC) { in selinux_netlbl_socket_connect_helper()
|
| /Linux-v5.4/fs/nfs/ |
| D | super.c | 1232 unsigned short protofamily = AF_UNSPEC; in nfs_parse_mount_options() 1233 unsigned short mountfamily = AF_UNSPEC; in nfs_parse_mount_options() 1665 if (protofamily != AF_UNSPEC && in nfs_parse_mount_options() 1669 if (mountfamily != AF_UNSPEC) { in nfs_parse_mount_options() 1800 if (args->mount_server.address.ss_family == AF_UNSPEC) { in nfs_request_mount()
|
| /Linux-v5.4/net/sched/ |
| D | act_api.c | 1051 t->tca_family = AF_UNSPEC; in tca_get_fill() 1177 t->tca_family = AF_UNSPEC; in tca_action_flush() 1506 t->tca_family = AF_UNSPEC; in tc_dump_action()
|