Lines Matching refs:protocol
46 int *protocol, in get_port_protocol_socktype() argument
61 *protocol = protoent->p_proto; in get_port_protocol_socktype()
70 *protocol = IPPROTO_TCP; in get_port_protocol_socktype()
74 *protocol = IPPROTO_UDP; in get_port_protocol_socktype()
80 *protocol = IPPROTO_TCP; in get_port_protocol_socktype()
84 *protocol = IPPROTO_UDP; in get_port_protocol_socktype()
104 add_one (int port, int protocol, int socktype, in add_one() argument
119 a->ai_protocol = protocol; in add_one()
181 int port, int protocol, int socktype, in get_null() argument
210 ret = add_one (port, protocol, socktype, in get_null()
217 ret = add_one (port, protocol, socktype, in get_null()
225 add_hostent (int port, int protocol, int socktype, in add_hostent() argument
260 ret = add_one (port, protocol, socktype, in add_hostent()
275 int port, int protocol, int socktype, in get_number() argument
292 ret = add_one (port, protocol, socktype, in get_number()
303 ret = add_one (port, protocol, socktype, in get_number()
315 int port, int protocol, int socktype, in get_nodes() argument
337 ret = add_hostent (port, protocol, socktype, in get_nodes()
349 ret = add_hostent (port, protocol, socktype, in get_nodes()
378 int protocol = 0; in getaddrinfo() local
397 &port, &protocol, &socktype); in getaddrinfo()
402 ret = get_number (nodename, hints, port, protocol, socktype, res); in getaddrinfo()
407 ret = get_nodes (nodename, hints, port, protocol, socktype, in getaddrinfo()
411 ret = get_null (hints, port, protocol, socktype, res); in getaddrinfo()