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

Function inm_state_str

freebsd/netinet/in_mcast.c:3037–3044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3035 "inm_statetrs: no longer matches #defines");
3036
3037static const char *
3038inm_state_str(const int state)
3039{
3040
3041 if (state >= IGMP_NOT_MEMBER && state <= IGMP_LEAVING_MEMBER)
3042 return (inm_statestrs[state]);
3043 return ("??");
3044}
3045
3046/*
3047 * Dump an in_multi structure to the console.

Callers 1

inm_printFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected