Lines Matching refs:lsapp
412 const struct lsa6_prefix *lsapp = (const struct lsa6_prefix *)tptr; in ospf6_print_lsaprefix() local
416 if (lsa_length < sizeof (*lsapp) - IPV6_ADDR_LEN_BYTES) in ospf6_print_lsaprefix()
418 lsa_length -= sizeof (*lsapp) - IPV6_ADDR_LEN_BYTES; in ospf6_print_lsaprefix()
419 ND_TCHECK2(*lsapp, sizeof (*lsapp) - IPV6_ADDR_LEN_BYTES); in ospf6_print_lsaprefix()
420 wordlen = (lsapp->lsa_p_len + 31) / 32; in ospf6_print_lsaprefix()
422 ND_PRINT((ndo, " bogus prefixlen /%d", lsapp->lsa_p_len)); in ospf6_print_lsaprefix()
428 ND_TCHECK2(lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix()
430 memcpy(&prefix, lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix()
432 lsapp->lsa_p_len)); in ospf6_print_lsaprefix()
433 if (lsapp->lsa_p_opt) { in ospf6_print_lsaprefix()
436 "none", lsapp->lsa_p_opt))); in ospf6_print_lsaprefix()
438 ND_PRINT((ndo, ", metric %u", EXTRACT_16BITS(&lsapp->lsa_p_metric))); in ospf6_print_lsaprefix()
439 return sizeof(*lsapp) - IPV6_ADDR_LEN_BYTES + wordlen * 4; in ospf6_print_lsaprefix()
463 register const struct lsa6_prefix *lsapp; in ospf6_print_lsa() local
596 lsapp = (const struct lsa6_prefix *)tptr; in ospf6_print_lsa()
626 if (lsapp->lsa_p_metric) { in ospf6_print_lsa()