| 403 | } |
| 404 | |
| 405 | static void |
| 406 | kdebug_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 | |
| 423 | static void |
| 424 | kdebug_sadb_address(struct sadb_ext *ext) |
no test coverage detected