Searched refs:sock_packet (Results 1 – 1 of 1) sorted by relevance
38 static struct packet_data sock_packet; variable129 ret = start_socket(&sock_packet.recv_sock); in recv_packet()135 ret = setsockopt(sock_packet.recv_sock, SOL_SOCKET, SO_RCVTIMEO, in recv_packet()143 ret = recv_packet_socket(&sock_packet); in recv_packet()216 ret = start_socket(&sock_packet.send_sock); in send_packet()223 ret = send_packet_socket(&sock_packet); in send_packet()278 if (sock_packet.recv_sock >= 0) { in main()279 (void)close(sock_packet.recv_sock); in main()282 if (sock_packet.send_sock >= 0) { in main()283 (void)close(sock_packet.send_sock); in main()