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

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c541 int exthdrlength; local
566 exthdrlength = 8 * (hbhhdr->ip6h_len + 1);
567 if ((uchar_t *)hbhhdr + exthdrlength > endptr)
570 length += exthdrlength;
575 exthdrlength = 8 * (desthdr->ip6d_len + 1);
576 if ((uchar_t *)desthdr + exthdrlength > endptr)
579 length += exthdrlength;
584 exthdrlength = 8 * (rthdr->ip6r_len + 1);
585 if ((uchar_t *)rthdr + exthdrlength > endptr)
588 length += exthdrlength;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c944 int exthdrlength; local
969 exthdrlength = 8 * (hbhhdr->ip6h_len + 1);
970 if ((uchar_t *)hbhhdr + exthdrlength > endptr)
973 length += exthdrlength;
978 exthdrlength = 8 * (desthdr->ip6d_len + 1);
979 if ((uchar_t *)desthdr + exthdrlength > endptr)
982 length += exthdrlength;
987 exthdrlength = 8 * (rthdr->ip6r_len + 1);
988 if ((uchar_t *)rthdr + exthdrlength > endptr)
991 length += exthdrlength;
[all...]

Completed in 91 milliseconds