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

Function kdebug_secash

freebsd/netipsec/key_debug.c:788–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788void
789kdebug_secash(struct secashead *sah, const char *indent)
790{
791
792 IPSEC_ASSERT(sah != NULL, ("null sah"));
793 if (indent != NULL)
794 printf("%s", indent);
795 printf("SAH { refcnt=%u state=%s\n", sah->refcnt,
796 kdebug_secasv_state(sah->state));
797 if (indent != NULL)
798 printf("%s", indent);
799 kdebug_secasindex(&sah->saidx, indent);
800 if (indent != NULL)
801 printf("%s", indent);
802 printf("}\n");
803}
804
805#ifdef IPSEC_DEBUG
806static void

Callers 5

key_allocsa_tcpmd5Function · 0.85
key_allocsa_policyFunction · 0.85
key_newsahFunction · 0.85
key_freesahFunction · 0.85
kdebug_secasvFunction · 0.85

Calls 3

kdebug_secasv_stateFunction · 0.85
kdebug_secasindexFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected