/tools/testing/selftests/net/ |
D | reuseport_bpf_numa.c | 33 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()
|
D | reuseport_bpf_cpu.c | 37 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()
|
D | tcp_inq.c | 39 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()
|
D | reuseport_dualstack.c | 34 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()
|
D | reuseport_addr_any.c | 33 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()
|
D | tcp_fastopen_backup_key.c | 93 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()
|
D | tcp_mmap.c | 247 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()
|
D | nettest.c | 180 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()
|
D | reuseaddr_conflict.c | 36 struct sockaddr_in addr4 = { in open_port()
|
D | psock_lib.h | 77 struct sockaddr_in saddr, daddr; in pair_udp_open()
|
D | msg_zerocopy.c | 259 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()
|
D | udpgso_bench_rx.c | 64 struct sockaddr_in *addr4 = (void *) sockaddr; in setup_sockaddr() 301 cfg_alen = sizeof(struct sockaddr_in); in parse_opts()
|
D | reuseport_bpf.c | 48 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()
|
D | tls.c | 36 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/ |
D | timestamping.c | 139 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/ |
D | sockaddr.c | 22 struct sockaddr_in *sin = (struct sockaddr_in *)sa; in af_inet__scnprintf()
|
/tools/testing/selftests/bpf/ |
D | test_sock.c | 359 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()
|
D | test_sock_addr.c | 607 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()
|
D | xdping.c | 97 struct sockaddr_in rin; in main()
|
D | test_tcp_check_syncookie_user.c | 204 struct sockaddr_in addr4; in main()
|
D | test_flow_dissector.c | 84 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/ |
D | connect4_prog.c | 25 struct sockaddr_in sa; in connect_v4_prog()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 105 struct sockaddr_in addr = { in start_server()
|
D | tcp_rtt.c | 185 struct sockaddr_in addr = { in start_server()
|
/tools/include/uapi/linux/ |
D | in.h | 232 struct sockaddr_in { struct
|