Lines Matching refs:hlen
192 unsigned mhlen, hlen; in mobility_print() local
229 hlen = IP6M_MINLEN; in mobility_print()
235 hlen = IP6M_MINLEN; in mobility_print()
237 ND_TCHECK2(*mh, hlen + 8); in mobility_print()
240 EXTRACT_32BITS(&bp[hlen]), in mobility_print()
241 EXTRACT_32BITS(&bp[hlen + 4]))); in mobility_print()
243 hlen += 8; in mobility_print()
251 hlen = IP6M_MINLEN; in mobility_print()
253 ND_TCHECK2(*mh, hlen + 8); in mobility_print()
256 EXTRACT_32BITS(&bp[hlen]), in mobility_print()
257 EXTRACT_32BITS(&bp[hlen + 4]))); in mobility_print()
259 hlen += 8; in mobility_print()
261 ND_TCHECK2(*mh, hlen + 8); in mobility_print()
264 EXTRACT_32BITS(&bp[hlen]), in mobility_print()
265 EXTRACT_32BITS(&bp[hlen + 4]))); in mobility_print()
267 hlen += 8; in mobility_print()
273 hlen = IP6M_MINLEN; in mobility_print()
274 ND_TCHECK2(*mh, hlen + 1); in mobility_print()
275 if (bp[hlen] & 0xf0) in mobility_print()
277 if (bp[hlen] & 0x80) in mobility_print()
279 if (bp[hlen] & 0x40) in mobility_print()
281 if (bp[hlen] & 0x20) in mobility_print()
283 if (bp[hlen] & 0x10) in mobility_print()
286 hlen += 1; in mobility_print()
288 hlen += 1; in mobility_print()
289 ND_TCHECK2(*mh, hlen + 2); in mobility_print()
291 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2)); in mobility_print()
292 hlen += 2; in mobility_print()
301 hlen = IP6M_MINLEN; in mobility_print()
302 ND_TCHECK2(*mh, hlen + 2); in mobility_print()
303 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&bp[hlen]))); in mobility_print()
304 hlen += 2; in mobility_print()
305 ND_TCHECK2(*mh, hlen + 2); in mobility_print()
307 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2)); in mobility_print()
308 hlen += 2; in mobility_print()
315 hlen = IP6M_MINLEN; in mobility_print()
316 ND_TCHECK2(*mh, hlen + 16); in mobility_print()
317 ND_PRINT((ndo, " homeaddr %s", ip6addr_string(ndo, &bp[hlen]))); in mobility_print()
318 hlen += 16; in mobility_print()
326 mobility_opt_print(ndo, &bp[hlen], mhlen - hlen); in mobility_print()