Lines Matching refs:nexthdr
2148 uint8_t nexthdr; in ah_icmp_error_v4() local
2179 nexthdr = ah->ah_nexthdr; in ah_icmp_error_v4()
2287 ipha->ipha_protocol = nexthdr; in ah_icmp_error_v4()
2397 uint8_t nexthdr; in ah_fix_phdr_v6() local
2435 nexthdr = oip6h->ip6_nxt; in ah_fix_phdr_v6()
2437 ASSERT(nexthdr != IPPROTO_FRAGMENT); in ah_fix_phdr_v6()
2441 switch (nexthdr) { in ah_fix_phdr_v6()
2444 nexthdr = hbhhdr->ip6h_nxt; in ah_fix_phdr_v6()
2459 nexthdr = rthdr->ip6r0_nxt; in ah_fix_phdr_v6()
2513 nexthdr = dsthdr->ip6d_nxt; in ah_fix_phdr_v6()
2538 ah->ah_nexthdr = nexthdr; in ah_fix_phdr_v6()
3757 uint8_t *nexthdr; in ah_auth_in_done() local
3785 nexthdr = &ip6h->ip6_nxt; in ah_auth_in_done()
3789 while (*nexthdr != IPPROTO_AH) { in ah_auth_in_done()
3792 ASSERT(*nexthdr != IPPROTO_FRAGMENT); in ah_auth_in_done()
3793 switch (*nexthdr) { in ah_auth_in_done()
3796 nexthdr = &hbhhdr->ip6h_nxt; in ah_auth_in_done()
3801 nexthdr = &dsthdr->ip6d_nxt; in ah_auth_in_done()
3806 nexthdr = &rthdr->ip6r0_nxt; in ah_auth_in_done()
3811 *nexthdr = ah->ah_nexthdr; in ah_auth_in_done()