Lines Matching defs:protocol
50 char *protocol;
81 * But some protocol does have different aliases.
97 get_alias(char *protocol) {
101 if (strncmp(protocol, "ip", 2) == 0) {
102 for (i = 0; ip_aliases[i].protocol != NULL; i++) {
103 if (strcmp(protocol, ip_aliases[i].protocol) == 0)
109 for (cp = protocol; *cp; cp++)
112 return (protocol);
115 for (cp = protocol; *cp; cp++)
118 return (protocol);
181 /* create an aliase from protocol name */
214 * getbyname gets struct protoent values by protocol name. This
215 * function constructs an ldap search filter using the protocol
252 * getbynumber gets struct protoent values by protocol number. This
253 * function constructs an ldap search filter using the protocol