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

Function rt_flag_name

freebsd/net/route/route_ddb.c:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89};
90
91static const char * __pure
92rt_flag_name(unsigned idx)
93{
94 if (idx >= nitems(rtf_flag_strings))
95 return ("INVALID_FLAG");
96 if (rtf_flag_strings[idx] == NULL)
97 return ("UNKNOWN");
98 return (rtf_flag_strings[idx]);
99}
100
101static void
102rt_dumpaddr_ddb(const char *name, const struct sockaddr *sa)

Callers 1

rt_dumpentry_ddbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected