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

Function kdebug_sadb_lifetime

freebsd/netipsec/key_debug.c:386–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386static void
387kdebug_sadb_lifetime(struct sadb_ext *ext)
388{
389 struct sadb_lifetime *lft = (struct sadb_lifetime *)ext;
390
391 /* sanity check */
392 if (ext == NULL)
393 panic("%s: NULL pointer was passed.\n", __func__);
394
395 printf("sadb_lifetime{ alloc=%u, bytes=%u\n",
396 lft->sadb_lifetime_allocations,
397 (u_int32_t)lft->sadb_lifetime_bytes);
398 printf(" addtime=%u, usetime=%u }\n",
399 (u_int32_t)lft->sadb_lifetime_addtime,
400 (u_int32_t)lft->sadb_lifetime_usetime);
401
402 return;
403}
404
405static void
406kdebug_sadb_sa(struct sadb_ext *ext)

Callers 1

kdebug_sadbFunction · 0.85

Calls 2

panicFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected