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

Function kdebug_sadb_sa

freebsd/netipsec/key_debug.c:405–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405static void
406kdebug_sadb_sa(struct sadb_ext *ext)
407{
408 struct sadb_sa *sa = (struct sadb_sa *)ext;
409
410 /* sanity check */
411 if (ext == NULL)
412 panic("%s: NULL pointer was passed.\n", __func__);
413
414 printf("sadb_sa{ spi=%u replay=%u state=%u\n",
415 (u_int32_t)ntohl(sa->sadb_sa_spi), sa->sadb_sa_replay,
416 sa->sadb_sa_state);
417 printf(" auth=%u encrypt=%u flags=0x%08x }\n",
418 sa->sadb_sa_auth, sa->sadb_sa_encrypt, sa->sadb_sa_flags);
419
420 return;
421}
422
423static void
424kdebug_sadb_address(struct sadb_ext *ext)

Callers 1

kdebug_sadbFunction · 0.85

Calls 2

panicFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected