Searched refs:INADDR_LOOPBACK (Results 1 – 20 of 20) sorted by relevance
/tools/testing/selftests/net/ |
D | psock_lib.h | 89 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()
|
D | txring_overwrite.c | 58 iph->saddr = htonl(INADDR_LOOPBACK); in build_packet() 59 iph->daddr = htonl(INADDR_LOOPBACK + 1); in build_packet()
|
D | tcp_inq.c | 45 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in setup_loopback_addr()
|
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()
|
D | reuseport_dualstack.c | 83 daddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_v4()
|
D | reuseport_bpf_numa.c | 123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
|
D | reuseport_bpf_cpu.c | 111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
|
D | so_txtime.c | 384 addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
|
D | psock_tpacket.c | 166 ip->saddr = htonl(INADDR_LOOPBACK); in create_payload() 167 ip->daddr = htonl(INADDR_LOOPBACK); in create_payload()
|
D | rxtimestamp.c | 294 addr.addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in run_test_case()
|
D | udpgso.c | 73 const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) };
|
D | reuseport_bpf.c | 82 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in new_loopback_sockaddr()
|
/tools/testing/selftests/bpf/ |
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()
|
D | test_tcp_check_syncookie_user.c | 225 addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in main()
|
/tools/include/uapi/linux/ |
D | in.h | 299 #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ macro
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 107 .sin_addr.s_addr = htonl(INADDR_LOOPBACK), in start_server()
|
D | cls_redirect.c | 17 #define ENCAP_IP INADDR_LOOPBACK 149 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
|
D | sk_assign.c | 231 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in prepare_addr()
|
D | select_reuseport.c | 156 sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sa46_init_loopback() 290 expected.skb_addrs[1] = htonl(INADDR_LOOPBACK); in check_data()
|
D | sockmap_listen.c | 238 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in init_addr_loopback4()
|