Searched refs:protocol (Results 1 – 2 of 2) sorted by relevance
/hesiod/nss_hesiod/ |
A D | hesiod-service.c | 60 lookup (const char *name, const char *type, const char *protocol, in lookup() argument 110 found = protocol == NULL || strcasecmp (serv->s_proto, protocol) == 0; in lookup() 129 _nss_hesiod_getservbyname_r (const char *name, const char *protocol, in _nss_hesiod_getservbyname_r() argument 133 return lookup (name, "service", protocol, serv, buffer, buflen, errnop); in _nss_hesiod_getservbyname_r() 137 _nss_hesiod_getservbyport_r (const int port, const char *protocol, in _nss_hesiod_getservbyport_r() argument 145 return lookup (portstr, "port", protocol, serv, buffer, buflen, errnop); in _nss_hesiod_getservbyport_r()
|
A D | hesiod-proto.c | 135 _nss_hesiod_getprotobynumber_r (const int protocol, struct protoent *proto, in _nss_hesiod_getprotobynumber_r() argument 140 snprintf (protostr, sizeof protostr, "%d", protocol); in _nss_hesiod_getprotobynumber_r()
|
Completed in 3 milliseconds