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

Function netisr_proto2name

tools/netstat/netisr.c:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127#endif
128
129static const char *
130netisr_proto2name(u_int proto)
131{
132 u_int i;
133
134 for (i = 0; i < proto_array_len; i++) {
135 if (proto_array[i].snp_proto == proto)
136 return (proto_array[i].snp_name);
137 }
138 return ("unknown");
139}
140
141#ifndef FSTACK
142static int

Callers 1

netisr_print_workstreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected