Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dpsock_lib.h89 saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in pair_udp_open()
94 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()
Dtcp_inq.c45 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup_loopback_addr()
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()
Dreuseport_dualstack.c83 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_v4()
Dreuseport_bpf_numa.c123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
Dreuseport_bpf_cpu.c111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
Dso_txtime.c384 addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
Dpsock_tpacket.c166 ip->saddr = htonl(INADDR_LOOPBACK); in create_payload()
167 ip->daddr = htonl(INADDR_LOOPBACK); in create_payload()
Drxtimestamp.c294 addr.addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in run_test_case()
Dudpgso.c73 const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) };
Dreuseport_bpf.c82 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in new_loopback_sockaddr()
/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.c225 addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
/tools/include/uapi/linux/
Din.h299 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
/tools/testing/selftests/bpf/prog_tests/
Dsockopt_inherit.c107 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in start_server()
Dcls_redirect.c17 #define ENCAP_IP INADDR_LOOPBACK
149 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.c156 sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sa46_init_loopback()
290 expected.skb_addrs[1] = htonl(INADDR_LOOPBACK); in check_data()
Dsockmap_listen.c238 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in init_addr_loopback4()