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

Function kdebug_secpolicyindex_dir

freebsd/netipsec/key_debug.c:628–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628const char*
629kdebug_secpolicyindex_dir(u_int dir)
630{
631
632 switch (dir) {
633 case IPSEC_DIR_ANY:
634 return ("any");
635 case IPSEC_DIR_INBOUND:
636 return ("in");
637 case IPSEC_DIR_OUTBOUND:
638 return ("out");
639 }
640 return ("unknown");
641}
642
643const char*
644kdebug_ipsecrequest_level(u_int level)

Callers 1

kdebug_secpolicyindexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected