Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c241 union sa46 cli_sa; in check_data() local
245 addrlen = sizeof(cli_sa); in check_data()
246 err = getsockname(cli_fd, (struct sockaddr *)&cli_sa, in check_data()
270 memcpy(&expected.skb_addrs[0], cli_sa.v6.sin6_addr.s6_addr32, in check_data()
271 sizeof(cli_sa.v6.sin6_addr)); in check_data()
274 expected.skb_ports[0] = cli_sa.v6.sin6_port; in check_data()
280 expected.skb_addrs[0] = cli_sa.v4.sin_addr.s_addr; in check_data()
282 expected.skb_ports[0] = cli_sa.v4.sin_port; in check_data()
377 union sa46 cli_sa; in send_data() local
383 sa46_init_loopback(&cli_sa, family); in send_data()
[all …]