Lines Matching defs:socktype
47 int *socktype)
52 *socktype = 0;
65 *socktype = hints->ai_socktype;
67 if (*socktype == SOCK_STREAM) {
71 } else if (*socktype == SOCK_DGRAM) {
75 } else if (*socktype == 0) {
81 *socktype = SOCK_STREAM;
85 *socktype = SOCK_DGRAM;
104 add_one (int port, int protocol, int socktype,
120 a->ai_socktype = socktype;
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,
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,
377 int socktype = 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);