Home
last modified time | relevance | path

Searched refs:INADDR_ANY (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.15/tools/testing/selftests/net/
H A Dreuseport_dualstack.c42 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 Dreuseport_bpf_numa.c42 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 Dreuseport_addr_any.c48 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 Dreuseport_bpf_cpu.c46 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 Dreuseaddr_conflict.c39 .sin_addr.s_addr = any ? htonl(INADDR_ANY) : inet_addr("127.0.0.1"), in open_port()
H A Dbind_timewait.c27 .addr_const = INADDR_ANY in FIXTURE_VARIANT_ADD()
H A Dtcp_fastopen_backup_key.c101 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 Dfin_ack_lat.c130 address.sin_addr.s_addr = INADDR_ANY; in main()
H A Dbusy_poller.c58 static struct in_addr cfg_bind_addr = { .s_addr = INADDR_ANY };
/linux-6.15/net/rds/
H A Dbind.c182 sin->sin_addr.s_addr == htonl(INADDR_ANY) || in rds_bind()
207 if (addr4 == htonl(INADDR_ANY) || in rds_bind()
H A Drdma_transport.c256 sin.sin_addr.s_addr = htonl(INADDR_ANY); in rds_rdma_listen_init()
H A Dtcp_listen.c308 sin->sin_addr.s_addr = INADDR_ANY; in rds_tcp_listen_init()
/linux-6.15/include/net/
H A Darp.h25 key = INADDR_ANY; in __ipv4_neigh_lookup_noref()
H A Dvxlan.h457 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 Dprotocol.c313 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 Dumcast_user.c36 sin->sin_addr.s_addr = INADDR_ANY; in new_addr()
H A Dport_user.c129 addr.sin_addr.s_addr = htonl(INADDR_ANY); in port_listen_fd()
/linux-6.15/security/landlock/
H A Dnet.c157 if (sockaddr->sin_addr.s_addr != htonl(INADDR_ANY)) in current_check_access_socket()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c783 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 Din.h307 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
/linux-6.15/include/uapi/linux/
H A Din.h307 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
/linux-6.15/net/ipv4/
H A Dtcp_ao.c160 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 Dipmr.c401 .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 Dip_options.c231 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 Dpfcp.c158 .local_ip.s_addr = htonl(INADDR_ANY), in pfcp_create_sock()

123