Home
last modified time | relevance | path

Searched refs:sockaddr_in (Results 1 – 25 of 37) sorted by relevance

12

/tools/testing/selftests/net/
Dreuseport_bpf_numa.c33 struct sockaddr_in *addr4; in build_rcv_group()
40 addr4 = (struct sockaddr_in *)&addr; in build_rcv_group()
110 struct sockaddr_in *saddr4, *daddr4; in send_from_node()
116 saddr4 = (struct sockaddr_in *)&saddr; in send_from_node()
121 daddr4 = (struct sockaddr_in *)&daddr; in send_from_node()
Dreuseport_bpf_cpu.c37 struct sockaddr_in *addr4; in build_rcv_group()
44 addr4 = (struct sockaddr_in *)&addr; in build_rcv_group()
97 struct sockaddr_in *saddr4, *daddr4; in send_from_cpu()
104 saddr4 = (struct sockaddr_in *)&saddr; in send_from_cpu()
109 daddr4 = (struct sockaddr_in *)&daddr; in send_from_cpu()
Dtcp_inq.c39 struct sockaddr_in *addr4 = (void *) sockaddr; in setup_loopback_addr()
62 struct sockaddr_in addr; in start_server()
112 addr_len = sizeof(struct sockaddr_in); in main()
Dreuseport_dualstack.c34 struct sockaddr_in *addr4; in build_rcv_fd()
40 addr4 = (struct sockaddr_in *)&addr; in build_rcv_fd()
75 struct sockaddr_in saddr, daddr; in send_from_v4()
Dreuseport_addr_any.c33 struct sockaddr_in addr4 = {0}; in build_rcv_fd()
99 struct sockaddr_in saddr4 = {0}; in connect_and_send()
100 struct sockaddr_in daddr4 = {0}; in connect_and_send()
Dtcp_fastopen_backup_key.c93 struct sockaddr_in addr4 = {0}; in build_rcv_fd()
145 struct sockaddr_in saddr4 = {0}; in connect_and_send()
146 struct sockaddr_in daddr4 = {0}; in connect_and_send()
Dtcp_mmap.c247 struct sockaddr_in *addr4 = (void *) sockaddr; in setup_sockaddr()
281 struct sockaddr_in addr; in do_accept()
316 cfg_alen = sizeof(struct sockaddr_in); in main()
Dnettest.c180 struct sockaddr_in *s = (struct sockaddr_in *) sa; in log_address()
230 struct sockaddr_in sin = { in tcp_md5_remote()
512 struct sockaddr_in *s = (struct sockaddr_in *) sa; in expected_addr_match()
779 struct sockaddr_in *sin; in socket_read_dgram()
781 sin = (struct sockaddr_in *) addr; in socket_read_dgram()
1010 struct sockaddr_in laddr = { in msock_init()
1072 struct sockaddr_in serv_addr = { in bind_socket()
1342 struct sockaddr_in sin = { in do_client()
Dreuseaddr_conflict.c36 struct sockaddr_in addr4 = { in open_port()
Dpsock_lib.h77 struct sockaddr_in saddr, daddr; in pair_udp_open()
Dmsg_zerocopy.c259 struct sockaddr_in *daddr = (void *) &cfg_dst_addr; in setup_iph()
260 struct sockaddr_in *saddr = (void *) &cfg_src_addr; in setup_iph()
299 struct sockaddr_in *addr4 = (void *) sockaddr; in setup_sockaddr()
537 sizeof(struct sockaddr_in) : in do_tx()
718 cfg_alen = sizeof(struct sockaddr_in); in parse_opts()
Dudpgso_bench_rx.c64 struct sockaddr_in *addr4 = (void *) sockaddr; in setup_sockaddr()
301 cfg_alen = sizeof(struct sockaddr_in); in parse_opts()
Dreuseport_bpf.c48 struct sockaddr_in *addr4; in new_any_sockaddr()
56 addr4 = (struct sockaddr_in *)addr; in new_any_sockaddr()
76 struct sockaddr_in *addr4; in new_loopback_sockaddr()
81 addr4 = (struct sockaddr_in *)addr; in new_loopback_sockaddr()
Dtls.c36 struct sockaddr_in addr; in FIXTURE_SETUP()
107 struct sockaddr_in addr; in FIXTURE_SETUP()
1125 struct sockaddr_in addr; in TEST_F()
1149 struct sockaddr_in addr; in TEST()
1201 struct sockaddr_in addr; in TEST()
1266 struct sockaddr_in addr; in TEST()
/tools/testing/selftests/networking/timestamping/
Dtimestamping.c139 struct sockaddr_in *from_addr = (struct sockaddr_in *)msg->msg_name; in printpacket()
265 struct sockaddr_in from_addr; in recvpacket()
310 struct sockaddr_in addr; in main()
386 sizeof(struct sockaddr_in)) < 0) in main()
394 ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; in main()
/tools/perf/trace/beauty/
Dsockaddr.c22 struct sockaddr_in *sin = (struct sockaddr_in *)sa; in af_inet__scnprintf()
/tools/testing/selftests/bpf/
Dtest_sock.c359 struct sockaddr_in *addr4; in bind_sock()
371 len = sizeof(struct sockaddr_in); in bind_sock()
372 addr4 = (struct sockaddr_in *)&addr; in bind_sock()
Dtest_sock_addr.c607 struct sockaddr_in *addr4; in mk_sockaddr()
617 if (addr_len < sizeof(struct sockaddr_in)) in mk_sockaddr()
619 addr4 = (struct sockaddr_in *)addr; in mk_sockaddr()
681 struct sockaddr_in addr4_rw; in bind4_prog_load()
893 struct sockaddr_in dst4_rw_addr; in sendmsg4_rw_asm_prog_load()
945 struct sockaddr_in src4_rw_addr; in recvmsg4_rw_asm_prog_load()
1098 const struct sockaddr_in *four1, *four2; in cmp_addr()
1105 four1 = (const struct sockaddr_in *)addr1; in cmp_addr()
1106 four2 = (const struct sockaddr_in *)addr2; in cmp_addr()
Dxdping.c97 struct sockaddr_in rin; in main()
Dtest_tcp_check_syncookie_user.c204 struct sockaddr_in addr4; in main()
Dtest_flow_dissector.c84 static struct sockaddr_in name = { \
126 off = __builtin_offsetof(struct sockaddr_in, sin_addr); in util_printaddr()
602 static void parse_addr4(struct sockaddr_in *addr, const char *optarg) in parse_addr4()
/tools/testing/selftests/bpf/progs/
Dconnect4_prog.c25 struct sockaddr_in sa; in connect_v4_prog()
/tools/testing/selftests/bpf/prog_tests/
Dsockopt_inherit.c105 struct sockaddr_in addr = { in start_server()
Dtcp_rtt.c185 struct sockaddr_in addr = { in start_server()
/tools/include/uapi/linux/
Din.h232 struct sockaddr_in { struct

12