Searched refs:exthdrlen (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c503 uint32_t exthdrlen; local
525 exthdrlen = 8 + ipv6ext_hbh->ip6h_len * 8;
526 if (*fraglen <= exthdrlen) {
535 exthdrlen = 8 + ipv6ext_dest->ip6d_len * 8;
536 if (*fraglen <= exthdrlen) {
545 exthdrlen = 8 + ipv6ext_rthdr->ip6r_len * 8;
546 if (*fraglen <= exthdrlen) {
556 exthdrlen = sizeof (struct ip6_frag);
557 if (*fraglen <= exthdrlen) {
578 *iplen -= exthdrlen;
[all...]
H A Dsnoop_ether.c1761 uint_t hdrlen = sizeof (ip6_t), exthdrlen; local
1779 exthdrlen = 8 + exthdr->ip6h_len * 8;
1780 hdrlen += exthdrlen;
1781 pptr += exthdrlen;

Completed in 61 milliseconds