| /linux-6.15/tools/testing/selftests/net/ |
| H A D | reuseport_dualstack.c | 42 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd() 79 saddr.sin_addr.s_addr = htonl(INADDR_ANY); in send_from_v4()
|
| H A D | reuseport_bpf_numa.c | 42 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_group() 118 saddr4->sin_addr.s_addr = htonl(INADDR_ANY); in send_from_node()
|
| H A D | reuseport_addr_any.c | 48 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in build_rcv_fd() 113 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in connect_and_send()
|
| 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 | reuseaddr_conflict.c | 39 .sin_addr.s_addr = any ? htonl(INADDR_ANY) : inet_addr("127.0.0.1"), in open_port()
|
| H A D | bind_timewait.c | 27 .addr_const = INADDR_ANY in FIXTURE_VARIANT_ADD()
|
| 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 | fin_ack_lat.c | 130 address.sin_addr.s_addr = INADDR_ANY; in main()
|
| H A D | busy_poller.c | 58 static struct in_addr cfg_bind_addr = { .s_addr = INADDR_ANY };
|
| /linux-6.15/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 | 256 sin.sin_addr.s_addr = htonl(INADDR_ANY); in rds_rdma_listen_init()
|
| H A D | tcp_listen.c | 308 sin->sin_addr.s_addr = INADDR_ANY; in rds_tcp_listen_init()
|
| /linux-6.15/include/net/ |
| H A D | arp.h | 25 key = INADDR_ANY; in __ipv4_neigh_lookup_noref()
|
| H A D | vxlan.h | 457 return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); in vxlan_addr_any() 472 return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); in vxlan_addr_any()
|
| /linux-6.15/net/sctp/ |
| H A D | protocol.c | 313 addr->v4.sin_addr.s_addr = htonl(INADDR_ANY); in sctp_v4_inaddr_any() 321 return htonl(INADDR_ANY) == addr->v4.sin_addr.s_addr; in sctp_v4_is_any() 360 if (addr->v4.sin_addr.s_addr != htonl(INADDR_ANY) && in sctp_v4_available() 887 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in sctp_udp_sock_start() 1034 if (htonl(INADDR_ANY) == addr1->v4.sin_addr.s_addr || in sctp_inet_cmp_addr() 1035 htonl(INADDR_ANY) == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
|
| /linux-6.15/arch/um/drivers/ |
| H A D | umcast_user.c | 36 sin->sin_addr.s_addr = INADDR_ANY; in new_addr()
|
| H A D | port_user.c | 129 addr.sin_addr.s_addr = htonl(INADDR_ANY); in port_listen_fd()
|
| /linux-6.15/security/landlock/ |
| H A D | net.c | 157 if (sockaddr->sin_addr.s_addr != htonl(INADDR_ANY)) in current_check_access_socket()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_mr.c | 783 if (mfc->mfc_origin == htonl(INADDR_ANY) && in mlxsw_sp_mr_route4_validate() 784 mfc->mfc_mcastgrp == htonl(INADDR_ANY)) { in mlxsw_sp_mr_route4_validate() 799 starg = (mfc->mfc_origin == htonl(INADDR_ANY)); in mlxsw_sp_mr_route4_key() 813 return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); in mlxsw_sp_mr_route4_starg()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | in.h | 307 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | in.h | 307 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_ao.c | 160 if (ntohl(key->addr.a4.s_addr) == INADDR_ANY) in __tcp_ao_key_cmp() 162 if (ntohl(addr->a4.s_addr) == INADDR_ANY) in __tcp_ao_key_cmp() 1315 if (ntohl(sin->sin_addr.s_addr) == INADDR_ANY) in tcp_ao_verify_ipv4() 1325 if (ntohl(inet->inet_daddr) != INADDR_ANY && in tcp_ao_verify_ipv4() 1329 if (ntohl(sin->sin_addr.s_addr) != INADDR_ANY) in tcp_ao_verify_ipv4() 1470 if (prefix > 32 || ntohl(addr4) == INADDR_ANY) in tcp_ao_verify_ipv6() 2165 if (ntohl(sin->sin_addr.s_addr) == INADDR_ANY && in tcp_ao_copy_mkts_to_user() 2193 ntohl(addr4) == INADDR_ANY) in tcp_ao_copy_mkts_to_user()
|
| H A D | ipmr.c | 401 .mfc_mcastgrp = htonl(INADDR_ANY), 402 .mfc_origin = htonl(INADDR_ANY), 950 .mfc_origin = htonl(INADDR_ANY) in ipmr_cache_find_any() 953 if (mcastgrp == htonl(INADDR_ANY)) in ipmr_cache_find_any() 1243 if (mfc->mfcc_mcastgrp.s_addr != htonl(INADDR_ANY) && in ipmr_mfc_add() 1985 if (c->mfc_origin == htonl(INADDR_ANY) && true_vifi >= 0) { in ip_mr_forward() 2043 if (c->mfc_origin == htonl(INADDR_ANY) && in ip_mr_forward() 2044 c->mfc_mcastgrp == htonl(INADDR_ANY)) { in ip_mr_forward() 2061 if ((c->mfc_origin != htonl(INADDR_ANY) || in ip_mr_forward()
|
| 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-6.15/drivers/net/ |
| H A D | pfcp.c | 158 .local_ip.s_addr = htonl(INADDR_ANY), in pfcp_create_sock()
|