Lines Matching full:port1
43 #define PORT1 10001 macro
75 setup_udp(const char *test, int *fdp, int port1, int port2) in setup_udp() argument
85 sin.sin_port = htons(port1); in setup_udp()
91 inet_ntoa(sin.sin_addr), PORT1); in setup_udp()
103 sin.sin_port = htons(port1); in setup_udp()
106 inet_ntoa(sin.sin_addr), PORT1); in setup_udp()
134 PORT1); in setup_tcp()
150 inet_ntoa(sin.sin_addr), PORT1); in setup_tcp()
247 setup_udp("udp_0send", fd, PORT1, PORT2); in main()
251 setup_udp("udp_0write", fd, PORT1 + 10, PORT2 + 10); in main()
255 setup_tcp("tcp_0send", fd, PORT1); in main()
259 setup_tcp("tcp_0write", fd, PORT1 + 10); in main()