Lines Matching defs:port

271 			 * If servname is NULL, return 0 as the port number
272 * If servname is rpcbind, return 111 as the port number
273 * If servname is a number, return it back as the port
395 * If servname is NULL, return 0 as the port number.
396 * If servname is rpcbind, return 111 as the port number
397 * If servname is a number, return it back as the port
545 * We go through all this for just one port number,
641 * one port number,
761 * accept a match using tcp or udp for the port
955 se = _switch_getservbyport_r(args->arg.nss.serv.port,
979 * if NETDIR_BY_NOSRV or port == 0 skip the service
992 * traditionally accepts a stringified port
1074 * if NETDIR_BY_NOSRV6 or port == 0 skip the service
1087 * port number
1173 * accept a match on tcp or udp for the port
1203 sa.sin_port = (ushort_t)args->arg.nss.serv.port;
1214 _nderror = ndhostserv2srent(args->arg.nss.serv.port,
1403 _switch_getservbyport_r(int port, const char *proto, struct servent *result,
1410 arg.key.serv.serv.port = port;
1469 /* Syntax error -- no port/proto */
1482 /* Syntax error -- port number isn't a number */
2057 * Given haddrlist and a port number, mallocs and populates a new
2155 * We could be passed in a NULL servent, in which case stringify port.
2159 ushort_t port, struct nd_hostservlist **hslist)
2203 (void) sprintf(stmp, "%d", port);
2299 ndaddr2srent(const char *name, const char *proto, ushort_t port,
2305 result->s_port = (int)port;
2406 ndhostserv2srent(int port, const char *proto, struct nd_hostservlist *addrs,
2416 result->s_port = port;