Lines Matching refs:lsap

616                register const struct lsa *lsap)  in ospf_print_lsa()  argument
628 tptr = (const uint8_t *)lsap->lsa_un.un_unknown; /* squelch compiler warnings */ in ospf_print_lsa()
629 ls_length = ospf_print_lshdr(ndo, &lsap->ls_hdr); in ospf_print_lsa()
632 ls_end = (const uint8_t *)lsap + ls_length; in ospf_print_lsa()
635 switch (lsap->ls_hdr.ls_type) { in ospf_print_lsa()
638 ND_TCHECK(lsap->lsa_un.un_rla.rla_flags); in ospf_print_lsa()
640 bittok2str(ospf_rla_flag_values, "none", lsap->lsa_un.un_rla.rla_flags))); in ospf_print_lsa()
642 ND_TCHECK(lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()
643 j = EXTRACT_16BITS(&lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()
644 ND_TCHECK(lsap->lsa_un.un_rla.rla_link); in ospf_print_lsa()
645 rlp = lsap->lsa_un.un_rla.rla_link; in ospf_print_lsa()
689 ND_TCHECK(lsap->lsa_un.un_nla.nla_mask); in ospf_print_lsa()
691 ipaddr_string(ndo, &lsap->lsa_un.un_nla.nla_mask))); in ospf_print_lsa()
692 ap = lsap->lsa_un.un_nla.nla_router; in ospf_print_lsa()
701 ND_TCHECK(lsap->lsa_un.un_nla.nla_mask); in ospf_print_lsa()
703 ipaddr_string(ndo, &lsap->lsa_un.un_sla.sla_mask))); in ospf_print_lsa()
704 ND_TCHECK(lsap->lsa_un.un_sla.sla_tosmetric); in ospf_print_lsa()
705 lp = lsap->lsa_un.un_sla.sla_tosmetric; in ospf_print_lsa()
721 ND_TCHECK(lsap->lsa_un.un_sla.sla_tosmetric); in ospf_print_lsa()
722 lp = lsap->lsa_un.un_sla.sla_tosmetric; in ospf_print_lsa()
739 ND_TCHECK(lsap->lsa_un.un_nla.nla_mask); in ospf_print_lsa()
741 ipaddr_string(ndo, &lsap->lsa_un.un_asla.asla_mask))); in ospf_print_lsa()
743 ND_TCHECK(lsap->lsa_un.un_sla.sla_tosmetric); in ospf_print_lsa()
744 almp = lsap->lsa_un.un_asla.asla_metric; in ospf_print_lsa()
774 mcp = lsap->lsa_un.un_mcla; in ospf_print_lsa()
802 switch (*(&lsap->ls_hdr.un_lsa_id.opaque_field.opaque_type)) { in ospf_print_lsa()
804 tptr = (const uint8_t *)(&lsap->lsa_un.un_ri_tlv.type); in ospf_print_lsa()
852 if (ospf_print_grace_lsa(ndo, (const uint8_t *)(&lsap->lsa_un.un_grace_tlv.type), in ospf_print_lsa()
859 if (ospf_print_te_lsa(ndo, (const uint8_t *)(&lsap->lsa_un.un_te_lsa_tlv.type), in ospf_print_lsa()
867 if (!print_unknown_data(ndo, (const uint8_t *)lsap->lsa_un.un_unknown, in ospf_print_lsa()
877 if (!print_unknown_data(ndo, (const uint8_t *)lsap->lsa_un.un_unknown, in ospf_print_lsa()
986 register const struct lsa *lsap; in ospf_decode_v2() local
1082 lsap = op->ospf_lsu.lsu_lsa; in ospf_decode_v2()
1088 lsap = (const struct lsa *)ospf_print_lsa(ndo, lsap); in ospf_decode_v2()
1089 if (lsap == NULL) in ospf_decode_v2()