Lines Matching refs:udp_sock
190 test_ttl(int raw_sock, int tcp_sock, int udp_sock) in test_ttl() argument
198 "udp_sock", udp_sock, 0); in test_ttl()
202 test_loop(int raw_sock, int tcp_sock, int udp_sock) in test_loop() argument
210 "udp_sock", udp_sock, 0); in test_loop()
214 test_if(int raw_sock, int tcp_sock, int udp_sock) in test_if() argument
231 fakev, "udp_sock", udp_sock, 0); in test_if()
323 test_addr(int raw_sock, int tcp_sock, int udp_sock) in test_addr() argument
339 test_add_multi(udp_sock, "raw_sock", imr, 0); in test_addr()
340 test_drop_multi(udp_sock, "raw_sock", imr, 0); in test_addr()
433 int raw_sock, tcp_sock, udp_sock; in main() local
446 udp_sock = socket(PF_INET, SOCK_DGRAM, 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()
455 close(udp_sock); in main()