Home
last modified time | relevance | path

Searched refs:INADDR_LOOPBACK (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/net/
Dbind_wildcard.c70 .addr4_const = INADDR_LOOPBACK, in FIXTURE_VARIANT_ADD()
77 .addr4_const = INADDR_LOOPBACK, in FIXTURE_VARIANT_ADD()
84 .addr4_const = INADDR_LOOPBACK, in FIXTURE_VARIANT_ADD()
91 .addr4_const = INADDR_LOOPBACK, in FIXTURE_VARIANT_ADD()
Dpsock_lib.h91 saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in pair_udp_open()
96 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in pair_udp_open()
Dtxring_overwrite.c58 iph->saddr = htonl(INADDR_LOOPBACK); in build_packet()
59 iph->daddr = htonl(INADDR_LOOPBACK + 1); in build_packet()
Dbind_timewait.c22 .addr_const = INADDR_LOOPBACK in FIXTURE_VARIANT_ADD()
Dip_defrag.c26 const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) };
239 iphdr->ip_src.s_addr = htonl(INADDR_LOOPBACK); in send_udp_frags()
Dtcp_inq.c45 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup_loopback_addr()
Dreuseport_dualstack.c83 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_v4()
Dso_incoming_cpu.c68 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in FIXTURE_SETUP()
Dreuseport_bpf_cpu.c111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
Dreuseport_bpf_numa.c123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
Dpsock_tpacket.c166 ip->saddr = htonl(INADDR_LOOPBACK); in create_payload()
167 ip->daddr = htonl(INADDR_LOOPBACK); in create_payload()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_flow_dissector.c97 INIT_ADDR4(in_daddr4, INADDR_LOOPBACK, CFG_PORT_INNER) in INIT_ADDR4() argument
98 INIT_ADDR4(in_saddr4, INADDR_LOOPBACK + 2, 0) in INIT_ADDR4()
99 INIT_ADDR4(out_daddr4, INADDR_LOOPBACK, 0) in INIT_ADDR4()
100 INIT_ADDR4(out_saddr4, INADDR_LOOPBACK + 1, 0) in INIT_ADDR4()
101 INIT_ADDR4(extra_daddr4, INADDR_LOOPBACK, 0) in INIT_ADDR4()
102 INIT_ADDR4(extra_saddr4, INADDR_LOOPBACK + 1, 0) in INIT_ADDR4()
Dtest_tcp_check_syncookie_user.c248 addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dconnect_ping.c25 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in subtest()
77 htonl(do_bind ? 0x01010101 : INADDR_LOOPBACK), in subtest()
Dsockopt_inherit.c105 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in start_server()
Dcls_redirect.c19 #define ENCAP_IP INADDR_LOOPBACK
151 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
Dsk_assign.c231 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
Dselect_reuseport.c147 sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sa46_init_loopback()
281 expected.skb_addrs[1] = htonl(INADDR_LOOPBACK); in check_data()
/Linux-v6.6/net/netfilter/
Dnf_nat_redirect.c60 newdst.ip = htonl(INADDR_LOOPBACK); in nf_nat_redirect_ipv4()
/Linux-v6.6/samples/bpf/
Dtest_probe_write_user_user.c66 serv_addr_in->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
/Linux-v6.6/tools/include/uapi/linux/
Din.h318 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
/Linux-v6.6/include/uapi/linux/
Din.h318 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dselftest.c392 payload->ip.daddr = htonl(INADDR_LOOPBACK); in efx_iterate_state()
439 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in efx_begin_loopback()
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Dselftest.c394 payload->ip.daddr = htonl(INADDR_LOOPBACK); in ef4_iterate_state()
441 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in ef4_begin_loopback()
/Linux-v6.6/drivers/net/ethernet/sfc/
Dselftest.c391 payload->ip.daddr = htonl(INADDR_LOOPBACK); in efx_iterate_state()
438 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in efx_begin_loopback()

12