Lines Matching refs:proto
209 StrToPortRange (const char* str, const char* proto, port_range *portRange)
218 sp = getservbyname (str,proto);
236 errx (EX_DATAERR, "%s/%s: unknown service", str, proto);
267 StrToAddrAndPortRange (const char* str, struct in_addr* addr, char* proto,
280 return StrToPortRange (ptr, proto, portRange);
286 * The next 3 functions add support for the addr, port and proto redirect and
417 r->proto = StrToProto(**av);
435 if (r->proto == IPPROTO_SCTP) {
470 if (r->proto == IPPROTO_SCTP) { /* so the logic below still works */
530 if (r->proto == IPPROTO_SCTP) {
581 r->proto = protoent->p_proto;
684 p = getprotobynumber(t->proto);
719 p = getprotobynumber(t->proto);