Lines Matching defs:proto
550 char *portname(res, proto, port)
552 char *proto;
564 if (!strcmp(proto, "tcp"))
566 else if (!strcmp(proto, "udp"))
725 char *proto;
760 proto = getproto(nl->nlg_p);
764 portname(res, proto, (u_int)nl->nlg_inport));
768 portname(res, proto, (u_int)nl->nlg_outport));
772 portname(res, proto, (u_int)nl->nlg_origport));
805 char *t = line, *proto;
847 proto = getproto(sl->isl_p);
852 portname(res, proto, (u_int)sl->isl_sport));
856 portname(res, proto, (u_int)sl->isl_dport), proto);
877 proto);
983 char *t, *proto;
1120 proto = getproto(p);
1126 portname(res, proto, (u_int)tp->th_sport));
1130 portname(res, proto, (u_int)tp->th_dport),
1131 proto, hl, plen);
1153 hostname(res, v, d), proto, hl, plen);
1183 proto = getproto(ipc->ip_p);
1192 portname(res, proto,
1197 portname(res, proto,
1199 proto, IP_HL(ipc) << 2, i);
1219 HOSTNAME_V4(res, ipc->ip_dst), proto,
1238 hostname(res, v, d), proto, hl, plen);