Lines Matching defs:port
104 #include "port-sockets.h"
549 int port, const struct addrinfo *template)
570 sin4->sin_port = port;
585 sin6->sin6_port = port;
849 int port = 0, socktype;
874 port = htons (p);
894 port = sp->s_port;
926 ret = fai_add_entry (&res, &addr4, port, &template);
928 ret = fai_add_hosts_by_name (name, &template, port, flags,
1013 int port;
1015 port = ntohs (sinp->sin_port);
1016 if (port < 0 || port > 65535)
1018 snprintf (numbuf, sizeof(numbuf), "%d", port);
1142 code (for "host not found") is returned. If the port maps to a