Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/net/
H A 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()
H A Dtxring_overwrite.c58 iph->saddr = htonl(INADDR_LOOPBACK); in build_packet()
59 iph->daddr = htonl(INADDR_LOOPBACK + 1); in build_packet()
H A Dbind_timewait.c22 .addr_const = INADDR_LOOPBACK in FIXTURE_VARIANT_ADD()
H A 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()
H A Dtcp_inq.c45 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup_loopback_addr()
H A Dreuseport_dualstack.c83 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_v4()
H A Dso_incoming_cpu.c100 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in FIXTURE_SETUP()
H A Dreuseport_bpf_cpu.c111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
H A Dreuseport_bpf_numa.c123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
H A Dpsock_tpacket.c166 ip->saddr = htonl(INADDR_LOOPBACK); in create_payload()
167 ip->daddr = htonl(INADDR_LOOPBACK); in create_payload()
H A Drxtimestamp.c312 addr.addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in run_test_case()
/linux/tools/testing/selftests/bpf/
H A 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()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dconnect_ping.c25 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in subtest()
77 htonl(do_bind ? 0x01010101 : INADDR_LOOPBACK), in subtest()
H A Dcls_redirect.c20 #define ENCAP_IP INADDR_LOOPBACK
119 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
H A Dsockopt_inherit.c101 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in run_test()
H A Dsk_assign.c184 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
H A Dselect_reuseport.c145 sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sa46_init_loopback()
271 expected.skb_addrs[1] = htonl(INADDR_LOOPBACK); in check_data()
H A Dsocket_helpers.h157 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in init_addr_loopback4()
/linux/net/netfilter/
H A Dnf_nat_redirect.c60 newdst.ip = htonl(INADDR_LOOPBACK); in nf_nat_redirect_ipv4()
/linux/include/uapi/linux/
H A Din.h320 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
/linux/tools/include/uapi/linux/
H A Din.h320 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
/linux/drivers/net/ethernet/sfc/
H A 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()
/linux/drivers/net/ethernet/sfc/siena/
H A 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/drivers/net/ethernet/sfc/falcon/
H A 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/fs/lockd/
H A Dmon.c72 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in nsm_create()

12