Lines Matching refs:srv
39 static int srv; variable
152 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMP, &(int){1}, in do_test_slack_space()
161 do_recvmsg_slack_ancillary (false, srv, msgbuf, slack[s], in do_test_slack_space()
169 do_recvmsg_slack_ancillary (true, srv, msgbuf, slack[s], in do_test_slack_space()
176 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMPNS, &(int){1}, in do_test_slack_space()
183 do_recvmsg_slack_ancillary (false, srv, msgbuf, slack[s], in do_test_slack_space()
188 do_recvmsg_slack_ancillary (true, srv, msgbuf, slack[s], in do_test_slack_space()
277 int r = setsockopt (srv, SOL_SOCKET, SO_TIMESTAMP, &(int){1}, in do_test_multiple_ancillary()
282 int r = setsockopt (srv, IPPROTO_IP, IP_RECVORIGDSTADDR, &(int){1}, in do_test_multiple_ancillary()
298 do_recvmsg_multiple_ancillary (false, srv, msgbuf, msgbuflen, s); in do_test_multiple_ancillary()
302 do_recvmsg_multiple_ancillary (true, srv, msgbuf, msgbuflen, s); in do_test_multiple_ancillary()
308 srv = xsocket (AF_INET, SOCK_DGRAM, 0); in do_test()
313 xbind (srv, (struct sockaddr *) &srv_addr, sizeof (srv_addr)); in do_test()
316 xgetsockname (srv, (struct sockaddr *) &srv_addr, &sa_len); in do_test()
326 support_64_timestamp = support_socket_so_timestamp_time64 (srv); in do_test()
331 xclose (srv); in do_test()