Searched refs:srv_addr (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-socket-timestamp.c | 40 static struct sockaddr_in srv_addr; variable 157 do_sendto (&srv_addr, array_length (slack)); in do_test_slack_space() 165 do_sendto (&srv_addr, array_length (slack)); in do_test_slack_space() 181 do_sendto (&srv_addr, array_length (slack)); in do_test_slack_space() 186 do_sendto (&srv_addr, array_length (slack)); in do_test_slack_space() 253 origdstaddr = sa.sin_addr.s_addr == srv_addr.sin_addr.s_addr in do_recvmsg_multiple_ancillary() 254 && sa.sin_port == srv_addr.sin_port; in do_recvmsg_multiple_ancillary() 296 do_sendto (&srv_addr, nmsgs); in do_test_multiple_ancillary() 300 do_sendto (&srv_addr, nmsgs); in do_test_multiple_ancillary() 309 srv_addr = (struct sockaddr_in) { in do_test() [all …]
|
D | tst-socket-timestamp-compat.c | 29 static struct sockaddr_in srv_addr; variable 96 do_sendto (&srv_addr, 42); in do_test_large_buffer() 122 do_sendto (&srv_addr, 42); in do_test_large_buffer() 165 do_sendto (&srv_addr, 42); in do_test_small_buffer() 206 do_sendto (&srv_addr, 42); in do_test_small_buffer() 245 srv_addr = (struct sockaddr_in) { in do_test() 249 xbind (srv, (struct sockaddr *) &srv_addr, sizeof (srv_addr)); in do_test() 251 socklen_t sa_len = sizeof (srv_addr); in do_test() 252 xgetsockname (srv, (struct sockaddr *) &srv_addr, &sa_len); in do_test() 253 TEST_VERIFY (sa_len == sizeof (srv_addr)); in do_test()
|