Searched defs:nexthdr (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c181 uint8_t nexthdr; local
195 nexthdr = ip6hp->ip6_nxt;
198 while (nexthdr != IPPROTO_ENCAP && nexthdr != IPPROTO_IPV6) {
204 nexthdr = exthdrptr->ip6d_nxt;
215 hdr_info->mhi_bindsap = hdr_info->mhi_origsap = nexthdr;
232 uint8_t nexthdr; local
253 nexthdr = ip6hp->ip6_nxt;
254 if (nexthdr == IPPROTO_NONE)
259 while (nexthdr !
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c947 uint8_t nexthdr; local
960 nexthdr = ip6h->ip6_nxt;
967 *last_hdr_rtrn = nexthdr;
968 switch (nexthdr) {
974 nexthdr = hbhhdr->ip6h_nxt;
983 nexthdr = desthdr->ip6d_nxt;
992 nexthdr = rthdr->ip6r_nxt;
1001 nexthdr = fraghdr->ip6f_nxt;
1011 *last_hdr_rtrn = nexthdr;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c542 uint8_t nexthdr; local
555 nexthdr = ip6h->ip6_nxt;
562 *last_hdr_rtrn = nexthdr;
563 switch (nexthdr) {
569 nexthdr = hbhhdr->ip6h_nxt;
578 nexthdr = desthdr->ip6d_nxt;
587 nexthdr = rthdr->ip6r_nxt;
596 nexthdr = fraghdr->ip6f_nxt;
606 *last_hdr_rtrn = nexthdr;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c1971 uint8_t nexthdr; local
1974 &nexthdr, &frag)) {
1978 l3info->l3_protocol = nexthdr;
H A Dmac_sched.c1713 uint8_t nexthdr; local
1784 nexthdr = ip6h->ip6_nxt;
1793 if (!mac_ip_hdr_length_v6(ip6h, mp->b_wptr, &hdr_len, &nexthdr,
1800 nexthdr = ipha->ipha_protocol;
1804 * Catch IPv4 fragment case here. IPv6 has nexthdr == FRAG
1817 switch (nexthdr) {
1834 switch (nexthdr) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1644 uint64_t *buffer, *nexthdr; local
2714 nexthdr = buffer;
2715 bcopy(&msg, nexthdr, sizeof (msg));
2716 nexthdr += SADB_8TO64(sizeof (msg));
2768 bcopy(assoc, nexthdr, SADB_64TO8(assoc->sadb_sa_len));
2769 nexthdr += assoc->sadb_sa_len;
2787 bcopy(sadb_pair, nexthdr,
2789 nexthdr += sadb_pair->sadb_x_pair_len;
2794 bcopy(hard, nexthdr, SADB_64TO8(hard->sadb_lifetime_len));
2795 nexthdr
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dicmp.c2720 uint8_t nexthdr; local
2723 (void) ip_find_hdr_v6(mp, ip6h, B_TRUE, &ipps, &nexthdr);
H A Dip6.c543 uint8_t nexthdr; local
574 nexthdr = *nexthdrp;
577 switch (nexthdr) {
634 if ((uint8_t *)in_ip6h + (nexthdr == IPPROTO_ENCAP ?
773 uint8_t nexthdr; local
787 nexthdr = *nexthdrp;
788 ira->ira_protocol = nexthdr;
797 rip6h.ip6_nxt = nexthdr;
800 switch (nexthdr) {
878 if (nexthdr
2610 uint8_t nexthdr; local
3140 ipsec_needs_processing_v6(mblk_t *mp, uint8_t *nexthdr) argument
3241 uint8_t nexthdr; local
3300 uint8_t nexthdr = fraghdr->ip6f_nxt; local
3941 uint8_t nexthdr; local
4017 uint8_t nexthdr; local
4120 uint8_t nexthdr; local
4324 uint8_t nexthdr; local
4707 uint8_t nexthdr; local
4943 uint8_t nexthdr; local
[all...]
H A Dipsecah.c2148 uint8_t nexthdr; local
2179 nexthdr = ah->ah_nexthdr;
2287 ipha->ipha_protocol = nexthdr;
2397 uint8_t nexthdr; local
2435 nexthdr = oip6h->ip6_nxt;
2437 ASSERT(nexthdr != IPPROTO_FRAGMENT);
2441 switch (nexthdr) {
2444 nexthdr = hbhhdr->ip6h_nxt;
2459 nexthdr = rthdr->ip6r0_nxt;
2513 nexthdr
3757 uint8_t *nexthdr; local
[all...]
H A Dipsecesp.c797 uint8_t nexthdr, padlen; local
833 nexthdr = *lastbyte--;
838 ipha->ipha_protocol = nexthdr;
871 ip6h->ip6_nxt = nexthdr;
879 ipp.ipp_dstopts->ip6d_nxt = nexthdr;
881 ipp.ipp_rthdr->ip6r_nxt = nexthdr;
883 ipp.ipp_hopopts->ip6h_nxt = nexthdr;
889 ip6h->ip6_nxt = nexthdr;
H A Dspd.c2697 uint8_t nexthdr; local
2710 nexthdr = ip6h->ip6_nxt;
2718 switch (nexthdr) {
2740 nexthdr = *nexthdrp;
2760 nexthdr = ipha->ipha_protocol;
2772 sel->ips_protocol = nexthdr;
2774 if ((nexthdr != IPPROTO_TCP && nexthdr != IPPROTO_UDP &&
2775 nexthdr != IPPROTO_SCTP && nexthdr !
2825 uint8_t nexthdr; local
[all...]

Completed in 137 milliseconds