Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:mh

56 	u_int16_t ip6m_cksum;	/* sum of IPv6 pseudo-header and MH */
173 const struct ip6_mobility *mh;
177 mh = (struct ip6_mobility *)bp;
182 if (!TTEST(mh->ip6m_len)) {
198 mhlen = (int)((mh->ip6m_len + 1) << 3);
202 TCHECK(mh->ip6m_type);
203 type = mh->ip6m_type;
215 TCHECK2(*mh, hlen + 8);
227 TCHECK(mh->ip6m_data16[0]);
228 printf(" nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]));
231 TCHECK2(*mh, hlen + 8);
239 TCHECK2(*mh, hlen + 8);
249 TCHECK(mh->ip6m_data16[0]);
250 printf(" seq#=%d", EXTRACT_16BITS(&mh->ip6m_data16[0]));
252 TCHECK2(*mh, hlen + 1);
267 TCHECK2(*mh, hlen + 2);
274 TCHECK(mh->ip6m_data8[0]);
275 printf(" status=%d", mh->ip6m_data8[0]);
276 if (mh->ip6m_data8[1] & 0x80)
280 TCHECK2(*mh, hlen + 2);
283 TCHECK2(*mh, hlen + 2);
290 TCHECK(mh->ip6m_data8[0]);
291 printf(" status=%d", mh->ip6m_data8[0]);
294 TCHECK2(*mh, hlen + 16);
299 printf("mobility: type-#%d len=%d", type, mh->ip6m_len);