MCPcopy Create free account
hub / github.com/F-Stack/f-stack / netisr_protoispresent

Function netisr_protoispresent

tools/netstat/netisr.c:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141#ifndef FSTACK
142static int
143netisr_protoispresent(u_int proto)
144{
145 u_int i;
146
147 for (i = 0; i < proto_array_len; i++) {
148 if (proto_array[i].snp_proto == proto)
149 return (1);
150 }
151 return (0);
152}
153
154static void
155netisr_load_kvm_config(void)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected