Lines Matching refs:srv_addr
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()
313 xbind (srv, (struct sockaddr *) &srv_addr, sizeof (srv_addr)); in do_test()
315 socklen_t sa_len = sizeof (srv_addr); in do_test()
316 xgetsockname (srv, (struct sockaddr *) &srv_addr, &sa_len); in do_test()
317 TEST_VERIFY (sa_len == sizeof (srv_addr)); in do_test()