Lines Matching refs:servent

44  * nd_addrlist or hostservlist back into hostent and servent, as the case
130 struct servent *_switch_getservbyname_r(const char *, const char *,
131 struct servent *, char *, int);
132 struct servent *_switch_getservbyport_r(int, const char *, struct servent *,
141 static int hsents2ndhostservs(struct hostent *, struct servent *, ushort_t,
143 static int ndaddr2srent(const char *, const char *, ushort_t, struct servent *,
148 struct servent *, char *, int);
491 struct servent *se;
551 sizeof (struct servent), NSS_BUFLEN_SERVICES);
649 sizeof (struct servent),
791 * convert addresses back into servent for getservbyname.
910 struct servent *se = NULL;
969 ndbuf4serv = _nss_XbyY_buf_alloc(sizeof (struct servent),
1065 ndbuf4serv = _nss_XbyY_buf_alloc(sizeof (struct servent),
1212 * convert the host-serv pairs into s_aliases and servent.
1385 struct servent *
1387 struct servent *result, char *buffer, int buflen)
1399 return ((struct servent *)NSS_XbyY_FINI(&arg));
1402 struct servent *
1403 _switch_getservbyport_r(int port, const char *proto, struct servent *result,
1416 return ((struct servent *)NSS_XbyY_FINI(&arg));
1432 struct servent *serv = (struct servent *)ent;
2152 * Given a hostent and a servent, mallocs and populates
2155 * We could be passed in a NULL servent, in which case stringify port.
2158 hsents2ndhostservs(struct hostent *he, struct servent *se,
2296 * into a servent using buf.
2300 struct servent *result, char *buffer, int buflen)
2403 * into a servent using buf.
2407 struct servent *result, char *buffer, int buflen)