/linux/tools/testing/selftests/net/ |
H A D | psock_lib.h | 91 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 D | txring_overwrite.c | 58 iph->saddr = htonl(INADDR_LOOPBACK); in build_packet() 59 iph->daddr = htonl(INADDR_LOOPBACK + 1); in build_packet()
|
H A D | bind_timewait.c | 22 .addr_const = INADDR_LOOPBACK in FIXTURE_VARIANT_ADD()
|
H A D | ip_defrag.c | 26 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 D | tcp_inq.c | 45 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup_loopback_addr()
|
H A D | reuseport_dualstack.c | 83 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_v4()
|
H A D | so_incoming_cpu.c | 100 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in FIXTURE_SETUP()
|
H A D | reuseport_bpf_cpu.c | 111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
|
H A D | reuseport_bpf_numa.c | 123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
|
H A D | psock_tpacket.c | 166 ip->saddr = htonl(INADDR_LOOPBACK); in create_payload() 167 ip->daddr = htonl(INADDR_LOOPBACK); in create_payload()
|
H A D | rxtimestamp.c | 312 addr.addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in run_test_case()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 97 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 D | connect_ping.c | 25 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in subtest() 77 htonl(do_bind ? 0x01010101 : INADDR_LOOPBACK), in subtest()
|
H A D | cls_redirect.c | 20 #define ENCAP_IP INADDR_LOOPBACK 119 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
|
H A D | sockopt_inherit.c | 101 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in run_test()
|
H A D | sk_assign.c | 184 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
|
H A D | select_reuseport.c | 145 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 D | socket_helpers.h | 157 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in init_addr_loopback4()
|
/linux/net/netfilter/ |
H A D | nf_nat_redirect.c | 60 newdst.ip = htonl(INADDR_LOOPBACK); in nf_nat_redirect_ipv4()
|
/linux/include/uapi/linux/ |
H A D | in.h | 320 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
|
/linux/tools/include/uapi/linux/ |
H A D | in.h | 320 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
|
/linux/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 391 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 D | selftest.c | 392 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 D | selftest.c | 394 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 D | mon.c | 72 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in nsm_create()
|