• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospfd/

Lines Matching refs:lsah

866   struct lsa_header *lsah;
872 lsah = (struct lsa_header *) STREAM_PNT (s);
876 if (lsah->type < OSPF_MIN_LSA || lsah->type >= OSPF_MAX_LSA)
878 zlog_warn ("Pakcet [DD:RECV]: Unknown LS type %d.", lsah->type);
884 if (IS_OPAQUE_LSA (lsah->type)
887 zlog_warn ("LSA[Type%d:%s]: Opaque capability mismatch?", lsah->type, inet_ntoa (lsah->id));
893 switch (lsah->type)
908 lsah->type, inet_ntoa (lsah->id),
920 new = ospf_ls_request_new (lsah);
923 find = ospf_lsa_lookup_by_header (oi->area, lsah);
934 "ID %s is not recent.", lsah->type, inet_ntoa (lsah->id));
1317 struct lsa_header *lsah;
1329 lsah = (struct lsa_header *) STREAM_PNT (s);
1330 length = ntohs (lsah->length);
1339 sum = lsah->checksum;
1340 if (sum != ospf_lsa_checksum (lsah))
1343 sum, lsah->checksum);
1348 if (lsah->type < OSPF_MIN_LSA || lsah->type >= OSPF_MAX_LSA)
1350 zlog_warn ("Link State Update: Unknown LS type %d", lsah->type);
1358 if (ntohs (lsah->ls_age) > OSPF_LSA_MAXAGE)
1359 lsah->ls_age = htons (OSPF_LSA_MAXAGE);
1365 if ((IS_OPAQUE_LSA(lsah->type) &&
1366 ! CHECK_FLAG (lsah->options, OSPF_OPTION_O))
1367 || (! IS_OPAQUE_LSA(lsah->type) &&
1368 CHECK_FLAG (lsah->options, OSPF_OPTION_O)))
1374 zlog_warn ("LSA[Type%d:%s]: O-bit abuse?", lsah->type, inet_ntoa (lsah->id));
1380 if (lsah->type == OSPF_OPAQUE_AS_LSA
1384 zlog_info ("LSA[Type%d:%s]: We are a stub, don't take this LSA.", lsah->type, inet_ntoa (lsah->id));
1388 else if (IS_OPAQUE_LSA(lsah->type))
1390 zlog_warn ("LSA[Type%d:%s]: Opaque capability mismatch?", lsah->type, inet_ntoa (lsah->id));
1400 switch (lsah->type)
1417 memcpy (lsa->data, lsah, length);
1811 /* lsah = (struct lsa_header *) STREAM_PNT (s); */
2542 struct lsa_header *lsah;
2550 lsah = (struct lsa_header *) (STREAM_DATA (s) +
2559 lsah->ls_age = htons (ls_age);
2650 struct lsa_header *lsah;
2665 lsah = (struct lsa_header *) (STREAM_DATA (s) + stream_get_putp (s));
2674 lsah->ls_age = htons (ls_age);