Lines Matching defs:proto
91 pcblist_sysctl(int proto, const char *name, char **bufp)
97 switch (proto) {
150 struct protosw proto;
161 if (kread((uintptr_t)so->so_proto, &proto, sizeof(proto)) != 0)
163 xso->xso_protocol = proto.pr_protocol;
164 if (kread((uintptr_t)proto.pr_domain, &domain, sizeof(domain)) != 0)
188 protopr(u_long off, const char *name, int af1, int proto)
201 switch (proto) {
228 if (!pcblist_sysctl(proto, name, &buf))
243 if (so->xso_protocol != proto)
263 if (proto != 0 && so->xso_protocol != proto)
575 tcp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
897 udp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
962 carp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1017 ip_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1102 arp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1188 icmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1294 igmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1381 int proto __unused)
1429 divert_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1461 const char *proto, int num_port, const int af1)
1479 sp = getservbyport((int)port, proto);