Searched defs:servname (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 103 * servname - pointer to null-terminated strings that represents 129 * AI_NUMERICSERV - If set, then a non-null servname string supplied shall 165 * EAI_NONAME - host/servname not known 166 * EAI_SERVICE - servname not supported for ai_socktype 179 _getaddrinfo(const char *hostname, const char *servname, argument 210 /* if nodename nor servname provided */ 211 if (hostname == NULL && servname == NULL) { 290 if (servname != NULL) { 336 if (!str_isnumber(servname)) { 339 port = htons(atoi(servname)); 541 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 548 __xnet_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/osnet-11/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 178 char *servname; /* the "second" part of string */ local 195 servname = strtok_r(NULL, " \n\t", &nexttok); 213 if (servname == NULL) { 220 if (searchserv(netconfigp, servname, FIELD2, servbuf) == 0) { 513 * on, and returns the string associated with the token in servname. 517 searchserv(struct netconfig *netconfigp, char *token, int field, char *servname) argument 554 (void) strcpy(servname, retstr);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 213 "hostname nor servname provided, or not known", /*%< EAI_NONAME */ 214 "servname not supported for ai_socktype", /*%< EAI_SERVICE */ 320 getaddrinfo(hostname, servname, hints, res) 321 const char *hostname, *servname; 353 if (hostname == NULL && servname == NULL) 421 * check for special cases. (1) numeric servname is disallowed if 422 * socktype/protocol are left unspecified. (2) servname is disallowed 439 error = get_portmatch(pai, servname); 467 * if the servname does not match socktype/protocol, ignore it. 469 if (get_portmatch(pai, servname) ! 979 get_portmatch(const struct addrinfo *ai, const char *servname) argument 987 get_port(const struct addrinfo *ai, const char *servname, int matchonly) argument [all...] |
Completed in 61 milliseconds