| /linux/tools/testing/selftests/net/ |
| H A D | reuseport_dualstack.c | 43 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd() 80 saddr.sin_addr.s_addr = htonl(INADDR_ANY); in send_from_v4()
|
| H A D | reuseport_bpf_cpu.c | 46 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_group() 106 saddr4->sin_addr.s_addr = htonl(INADDR_ANY); in send_from_cpu()
|
| H A D | reuseport_addr_any.c | 43 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd() 99 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd()
|
| H A D | reuseport_bpf_numa.c | 42 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_group() 138 saddr4->sin_addr.s_addr = htonl(INADDR_ANY); in send_from_node()
|
| H A D | reuseaddr_conflict.c | 39 .sin_addr.s_addr = any ? htonl(INADDR_ANY) : inet_addr("127.0.0.1"), in open_port()
|
| H A D | tcp_fastopen_backup_key.c | 101 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd() 154 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in connect_and_send()
|
| H A D | bind_timewait.c | 27 .addr_const = INADDR_ANY in FIXTURE_VARIANT_ADD()
|
| H A D | fin_ack_lat.c | 131 address.sin_addr.s_addr = INADDR_ANY; in main()
|
| /linux/net/rds/ |
| H A D | bind.c | 182 sin->sin_addr.s_addr == htonl(INADDR_ANY) || in rds_bind() 207 if (addr4 == htonl(INADDR_ANY) || in rds_bind()
|
| H A D | rdma_transport.c | 284 sin.sin_addr.s_addr = htonl(INADDR_ANY); in rds_rdma_listen_stop()
|
| H A D | tcp_listen.c | 422 sin->sin_addr.s_addr = htonl(INADDR_ANY); in rds_tcp_listen_init()
|
| /linux/include/net/ |
| H A D | arp.h | 25 key = INADDR_ANY; in __ipv4_neigh_lookup_noref()
|
| H A D | vxlan.h | 459 return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); in vxlan_addr_any() 474 return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); in vxlan_addr_any()
|
| /linux/net/sctp/ |
| H A D | protocol.c | 314 addr->v4.sin_addr.s_addr = htonl(INADDR_ANY); in sctp_v4_inaddr_any() 322 return htonl(INADDR_ANY) == addr->v4.sin_addr.s_addr; in sctp_v4_is_any() 361 if (addr->v4.sin_addr.s_addr != htonl(INADDR_ANY) && in sctp_v4_available() 857 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in sctp_udp_sock_start() 1004 if (htonl(INADDR_ANY) == addr1->v4.sin_addr.s_addr || in sctp_inet_cmp_addr() 1005 htonl(INADDR_ANY) == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_mr.c | 785 if (mfc->mfc_origin == htonl(INADDR_ANY) && in mlxsw_sp_mr_route4_validate() 786 mfc->mfc_mcastgrp == htonl(INADDR_ANY)) { in mlxsw_sp_mr_route4_validate() 801 starg = (mfc->mfc_origin == htonl(INADDR_ANY)); in mlxsw_sp_mr_route4_key() 815 return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); in mlxsw_sp_mr_route4_starg()
|
| /linux/arch/um/drivers/ |
| H A D | port_user.c | 129 addr.sin_addr.s_addr = htonl(INADDR_ANY); in port_listen_fd()
|
| /linux/net/ipv4/ |
| H A D | ipmr.c | 417 .mfc_mcastgrp = htonl(INADDR_ANY), 418 .mfc_origin = htonl(INADDR_ANY), 972 .mfc_origin = htonl(INADDR_ANY) in ipmr_cache_find_any() 975 if (mcastgrp == htonl(INADDR_ANY)) in ipmr_cache_find_any() 1269 if (mfc->mfcc_mcastgrp.s_addr != htonl(INADDR_ANY) && in ipmr_mfc_add() 2054 if (c->mfc_origin == htonl(INADDR_ANY) && true_vifi >= 0) { in ip_mr_forward() 2112 if (c->mfc_origin == htonl(INADDR_ANY) && in ip_mr_forward() 2113 c->mfc_mcastgrp == htonl(INADDR_ANY)) { in ip_mr_forward() 2130 if ((c->mfc_origin != htonl(INADDR_ANY) || in ip_mr_forward() 2301 if (c->mfc_origin == htonl(INADDR_ANY) && in ip_mr_output_finish() [all …]
|
| H A D | tcp_ao.c | 265 if (ntohl(key->addr.a4.s_addr) == INADDR_ANY) in __tcp_ao_key_cmp() 267 if (ntohl(addr->a4.s_addr) == INADDR_ANY) in __tcp_ao_key_cmp() 1362 if (ntohl(sin->sin_addr.s_addr) == INADDR_ANY) in tcp_ao_verify_ipv4() 1372 if (ntohl(inet->inet_daddr) != INADDR_ANY && in tcp_ao_verify_ipv4() 1376 if (ntohl(sin->sin_addr.s_addr) != INADDR_ANY) in tcp_ao_verify_ipv4() 1467 if (prefix > 32 || ntohl(addr4) == INADDR_ANY) in tcp_ao_verify_ipv6() 2151 if (ntohl(sin->sin_addr.s_addr) == INADDR_ANY && in tcp_ao_copy_mkts_to_user() 2179 ntohl(addr4) == INADDR_ANY) in tcp_ao_copy_mkts_to_user()
|
| H A D | ip_options.c | 231 if (*spec_dst == htonl(INADDR_ANY)) in spec_dst_fill() 245 __be32 spec_dst = htonl(INADDR_ANY); in __ip_options_compile()
|
| /linux/tools/include/uapi/linux/ |
| H A D | in.h | 307 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
|
| /linux/net/ipv6/ |
| H A D | sit.c | 320 if (cmax > 1 && kprl.addr != htonl(INADDR_ANY)) in ipip6_tunnel_get_prl() 350 if (kprl.addr != htonl(INADDR_ANY) && prl->addr != kprl.addr) in ipip6_tunnel_get_prl() 355 if (kprl.addr != htonl(INADDR_ANY)) in ipip6_tunnel_get_prl() 377 if (a->addr == htonl(INADDR_ANY)) in ipip6_tunnel_add_prl() 434 if (a && a->addr != htonl(INADDR_ANY)) { in ipip6_tunnel_del_prl()
|
| /linux/drivers/net/ |
| H A D | pfcp.c | 170 .local_ip.s_addr = htonl(INADDR_ANY), in pfcp_create_sock()
|
| /linux/drivers/net/ovpn/ |
| H A D | peer.c | 110 peer->vpn_addrs.ipv4.s_addr = htonl(INADDR_ANY); in ovpn_peer_new() 539 if (addr->s_addr != htonl(INADDR_ANY)) in ovpn_peer_vpn_addr_conflict4() 1059 if (peer->vpn_addrs.ipv4.s_addr != htonl(INADDR_ANY)) { in ovpn_peer_hash_vpn_ip()
|
| H A D | netlink.c | 194 if (addr4->s_addr == htonl(INADDR_ANY) && ipv6_addr_any(addr6)) { in ovpn_nl_peer_check_vpn_addrs() 388 struct in_addr vpn_addr4 = { .s_addr = htonl(INADDR_ANY) }; in ovpn_nl_peer_new_doit() 673 if (peer->vpn_addrs.ipv4.s_addr != htonl(INADDR_ANY)) in ovpn_nl_send_peer()
|
| /linux/security/landlock/ |
| H A D | net.c | 193 htonl(INADDR_ANY)) in current_check_access_socket()
|