Lines Matching refs:tcp_sock
190 test_ttl(int raw_sock, int tcp_sock, int udp_sock) in test_ttl() argument
196 "tcp_sock", tcp_sock, WARN_SUCCESS); in test_ttl()
202 test_loop(int raw_sock, int tcp_sock, int udp_sock) in test_loop() argument
208 "tcp_sock", tcp_sock, WARN_SUCCESS); in test_loop()
214 test_if(int raw_sock, int tcp_sock, int udp_sock) in test_if() argument
229 fakev, "tcp_sock", tcp_sock, WARN_SUCCESS); in test_if()
323 test_addr(int raw_sock, int tcp_sock, int udp_sock) in test_addr() argument
336 test_add_multi(tcp_sock, "raw_sock", imr, WARN_SUCCESS); in test_addr()
337 test_drop_multi(tcp_sock, "raw_sock", imr, WARN_SUCCESS); in test_addr()
433 int raw_sock, tcp_sock, udp_sock; in main() local
442 tcp_sock = socket(PF_INET, SOCK_STREAM, 0); in main()
450 test_ttl(raw_sock, tcp_sock, udp_sock); in main()
451 test_loop(raw_sock, tcp_sock, udp_sock); in main()
452 test_if(raw_sock, tcp_sock, udp_sock); in main()
453 test_addr(raw_sock, tcp_sock, udp_sock); in main()
456 close(tcp_sock); in main()