Lines Matching refs:port
45 int *port,
94 *port = htons(strtol (servname, &endstr, 10));
98 *port = se->s_port;
104 add_one (int port, int protocol, int socktype,
106 int (*func)(struct addrinfo *, void *data, int port),
122 ret = (*func)(a, data, port);
133 const_v4 (struct addrinfo *a, void *data, int port)
146 sin4->sin_port = port;
153 const_v6 (struct addrinfo *a, void *data, int port)
166 sin6->sin6_port = port;
181 int port, int protocol, int socktype,
210 ret = add_one (port, protocol, socktype,
215 ret = add_one (port, protocol, socktype,
223 add_hostent (int port, int protocol, int socktype,
225 int (*func)(struct addrinfo *, void *data, int port),
258 ret = add_one (port, protocol, socktype,
273 int port, int protocol, int socktype,
290 ret = add_one (port, protocol, socktype,
301 ret = add_one (port, protocol, socktype,
313 int port, int protocol, int socktype,
335 ret = add_hostent (port, protocol, socktype,
347 ret = add_hostent (port, protocol, socktype,
375 int port = 0;
395 &port, &protocol, &socktype);
400 ret = get_number (nodename, hints, port, protocol, socktype, res);
405 ret = get_nodes (nodename, hints, port, protocol, socktype,
409 ret = get_null (hints, port, protocol, socktype, res);