• Home
  • Raw
  • Download

Lines Matching refs:lsa_length

410                       const uint8_t *tptr, u_int lsa_length)  in ospf6_print_lsaprefix()  argument
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()
425 if (lsa_length < wordlen * 4) in ospf6_print_lsaprefix()
427 lsa_length -= wordlen * 4; in ospf6_print_lsaprefix()
469 register u_int length, lsa_length; in ospf6_print_lsa() local
486 lsa_length = length - sizeof(struct lsa6_hdr); in ospf6_print_lsa()
491 if (lsa_length < sizeof (lsap->lsa_un.un_rla.rla_options)) in ospf6_print_lsa()
493 lsa_length -= sizeof (lsap->lsa_un.un_rla.rla_options); in ospf6_print_lsa()
503 while (lsa_length != 0) { in ospf6_print_lsa()
504 if (lsa_length < sizeof (*rlp)) in ospf6_print_lsa()
506 lsa_length -= sizeof (*rlp); in ospf6_print_lsa()
545 if (lsa_length < sizeof (lsap->lsa_un.un_nla.nla_options)) in ospf6_print_lsa()
547 lsa_length -= sizeof (lsap->lsa_un.un_nla.nla_options); in ospf6_print_lsa()
555 while (lsa_length != 0) { in ospf6_print_lsa()
556 if (lsa_length < sizeof (*ap)) in ospf6_print_lsa()
558 lsa_length -= sizeof (*ap); in ospf6_print_lsa()
566 if (lsa_length < sizeof (lsap->lsa_un.un_inter_ap.inter_ap_metric)) in ospf6_print_lsa()
568 lsa_length -= sizeof (lsap->lsa_un.un_inter_ap.inter_ap_metric); in ospf6_print_lsa()
574 while (lsa_length != 0) { in ospf6_print_lsa()
575 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa()
578 lsa_length -= bytelen; in ospf6_print_lsa()
584 if (lsa_length < sizeof (lsap->lsa_un.un_asla.asla_metric)) in ospf6_print_lsa()
586 lsa_length -= sizeof (lsap->lsa_un.un_asla.asla_metric); in ospf6_print_lsa()
597 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa()
600 lsa_length -= bytelen; in ospf6_print_lsa()
607 if (lsa_length < sizeof (*fwdaddr6)) in ospf6_print_lsa()
609 lsa_length -= sizeof (*fwdaddr6); in ospf6_print_lsa()
617 if (lsa_length < sizeof (uint32_t)) in ospf6_print_lsa()
619 lsa_length -= sizeof (uint32_t); in ospf6_print_lsa()
627 if (lsa_length < sizeof (uint32_t)) in ospf6_print_lsa()
629 lsa_length -= sizeof (uint32_t); in ospf6_print_lsa()
640 if (lsa_length < sizeof (llsap->llsa_priandopt)) in ospf6_print_lsa()
642 lsa_length -= sizeof (llsap->llsa_priandopt); in ospf6_print_lsa()
648 if (lsa_length < sizeof (llsap->llsa_lladdr) + sizeof (llsap->llsa_nprefix)) in ospf6_print_lsa()
650 lsa_length -= sizeof (llsap->llsa_lladdr) + sizeof (llsap->llsa_nprefix); in ospf6_print_lsa()
660 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa()
664 lsa_length -= bytelen; in ospf6_print_lsa()
671 if (lsa_length < sizeof (lsap->lsa_un.un_intra_ap.intra_ap_rtid)) in ospf6_print_lsa()
673 lsa_length -= sizeof (lsap->lsa_un.un_intra_ap.intra_ap_rtid); in ospf6_print_lsa()
679 if (lsa_length < sizeof (lsap->lsa_un.un_intra_ap.intra_ap_nprefix)) in ospf6_print_lsa()
681 lsa_length -= sizeof (lsap->lsa_un.un_intra_ap.intra_ap_nprefix); in ospf6_print_lsa()
688 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa()
692 lsa_length -= bytelen; in ospf6_print_lsa()
698 if (ospf_print_grace_lsa(ndo, tptr, lsa_length) == -1) { in ospf6_print_lsa()
704 if (ospf_print_te_lsa(ndo, tptr, lsa_length) == -1) { in ospf6_print_lsa()
712 lsa_length)) { in ospf6_print_lsa()