/external/libpcap/ |
nametoaddr.c | 167 int tcp_port = -1; local 177 if (sp != NULL) tcp_port = ntohs(sp->s_port); 180 if (tcp_port >= 0) { 181 *port = tcp_port; 184 if (udp_port == tcp_port)
|
/external/c-ares/ |
ares_private.h | 255 int tcp_port; member in struct:ares_channeldata
|
ares.h | 256 unsigned short tcp_port; member in struct:ares_options
|
/external/ltp/testcases/network/tcp_fastopen/ |
tcp_fastopen.c | 94 static char *tcp_port = "61000"; variable 126 {"g:", NULL, &tcp_port}, 143 printf(" -g x x - server port, default is %s\n", tcp_port); 436 int err = getaddrinfo(server_addr, tcp_port, &hints, &remote_addrinfo); 612 if (getaddrinfo(NULL, tcp_port, &hints, &local_addrinfo) != 0) 637 tst_resm(TINFO, "Listen on the socket '%d', port '%s'", sfd, tcp_port); 757 server_addr, tcp_port);
|