Lines Matching defs:proto
92 pcblist_sysctl(int proto, const char *name, char **bufp, int istcp __unused)
98 switch (proto) {
154 struct protosw proto;
165 if (kread((uintptr_t)so->so_proto, &proto, sizeof(proto)) != 0)
167 xso->xso_protocol = proto.pr_protocol;
168 if (kread((uintptr_t)proto.pr_domain, &domain, sizeof(domain)) != 0)
303 protopr(u_long off, const char *name, int af1, int proto)
316 switch (proto) {
343 if (!pcblist_sysctl(proto, name, &buf, istcp))
366 if (so->xso_protocol != proto)
586 tcp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
737 udp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
797 carp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
848 ip_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
912 arp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
997 icmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1120 igmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1203 int proto __unused)
1249 inetprint(struct in_addr *in, int port, const char *proto, int num_port)
1261 sp = getservbyport((int)port, proto);