Searched refs:proto_str (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c50 const char *proto_str = NULL; local
60 proto_str = protoent->p_name;
68 se = getservbyname (servname, proto_str ? proto_str : "tcp");
69 if (proto_str == NULL)
72 se = getservbyname (servname, proto_str ? proto_str : "udp");
73 if (proto_str == NULL)
76 if (proto_str != NULL) {
77 se = getservbyname (servname, proto_str);
[all...]
/freebsd-11-stable/contrib/ldns/
H A Dstr2host.c1048 char *proto_str = NULL; local
1065 if (!proto_str) {
1066 proto_str = strdup(token);
1067 if (!proto_str) {
1074 serv = getservbyname(token, proto_str);
1086 free(proto_str);
1099 if (!proto_str || !bitmap) {
1103 free(proto_str);
1112 free(proto_str);
1115 if (proto_str)
[all...]
/freebsd-11-stable/contrib/unbound/sldns/
H A Dstr2wire.c1708 char token[50], proto_str[50]; local
1711 proto_str[0]=0;
1726 (void)strlcpy(proto_str, token, sizeof(proto_str));
1729 struct servent *serv = getservbyname(token, proto_str);

Completed in 84 milliseconds