Lines Matching refs:lsa
317 interpret_ospf6_lsa(int flags, struct lsa6 *lsa, uchar_t *fragend)
327 interpret_ospf6_lsa_hdr(flags, &lsa->ls6_hdr);
329 ls_end = (uchar_t *)lsa + ntohs(lsa->ls6_hdr.ls6_length);
334 switch (ntohs(lsa->ls6_hdr.ls6_type)) {
337 if (TRUNC(&lsa->lsa_un.un_rla.rla6_flags))
341 lsa->lsa_un.un_rla.rla6_flags);
343 if (TRUNC(&lsa->lsa_un.un_rla.rla6_options))
346 ntohl(lsa->lsa_un.un_rla.rla6_options));
348 rl = lsa->lsa_un.un_rla.rla_link;
453 if (TRUNC(&lsa->lsa_un.un_nla.nla_options))
457 ntohl(lsa->lsa_un.un_nla.nla_options));
467 addr = lsa->lsa_un.un_nla.nla_router;
484 if (TRUNC(&lsa->lsa_un.un_inter_ap.inter_ap_metric))
489 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) &
496 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) &
499 lpfx = lsa->lsa_un.un_inter_ap.inter_ap_prefix;
510 llsa = &lsa->lsa_un.un_llsa;
542 if (TRUNC(&lsa->lsa_un.un_intra_ap.intra_ap_rtid))
545 ntohs(lsa->lsa_un.un_intra_ap.intra_ap_lstype),
546 lsa->lsa_un.un_intra_ap.intra_ap_lsid,
547 lsa->lsa_un.un_intra_ap.intra_ap_rtid);
548 if (TRUNC(&lsa->lsa_un.un_intra_ap.intra_ap_nprefix))
552 ntohs(lsa->lsa_un.un_intra_ap.intra_ap_nprefix));
557 ntohs(lsa->lsa_un.un_intra_ap.intra_ap_nprefix));
560 lpfx = lsa->lsa_un.un_intra_ap.intra_ap_prefix;
562 j < ntohs(lsa->lsa_un.un_intra_ap.intra_ap_nprefix); j++) {
573 lsa->ls6_hdr.ls6_type);
578 " Unknown LSA type %d", lsa->ls6_hdr.ls6_type);
592 struct lsa6 *lsa;
750 lsa = ospf->ospf6_lsu.lsu_lsa;
759 if (((uchar_t *)lsa >= fragend) ||
760 ((uchar_t *)lsa + sizeof (struct lsa_hdr) >
762 ((uchar_t *)lsa + ntohs(lsa->ls6_hdr.ls6_length) >
768 if (interpret_ospf6_lsa(flags, lsa, fragend) < 0) {
772 lsa = (struct lsa6 *)((uchar_t *)lsa +
773 ntohs(lsa->ls6_hdr.ls6_length));