| 786 | } |
| 787 | |
| 788 | void |
| 789 | kdebug_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 |
| 806 | static void |
no test coverage detected