Searched refs:tcp_port (Results 1 – 2 of 2) sorted by relevance
74 unsigned short tcp_port, char *socket_path) in get_random_bytes_prngd() argument84 if (socket_path == NULL && tcp_port == 0) in get_random_bytes_prngd()94 if (tcp_port != 0) { in get_random_bytes_prngd()97 addr_in->sin_port = htons(tcp_port); in get_random_bytes_prngd()119 if (tcp_port != 0) { in get_random_bytes_prngd()121 tcp_port, strerror(errno)); in get_random_bytes_prngd()
174 int tcp_port = -1; in pcap_nametoport() local184 if (sp != NULL) tcp_port = ntohs(sp->s_port); in pcap_nametoport()187 if (tcp_port >= 0) { in pcap_nametoport()188 *port = tcp_port; in pcap_nametoport()191 if (udp_port == tcp_port) in pcap_nametoport()