| 384 | } |
| 385 | |
| 386 | static void |
| 387 | kdebug_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 | |
| 405 | static void |
| 406 | kdebug_sadb_sa(struct sadb_ext *ext) |
no test coverage detected