• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/zebra/ospf6d/

Lines Matching refs:received

16  * You should have received a copy of the GNU General Public License
30 struct ospf6_lsa *received = NULL;
33 received = ospf6_lsa_summary_create
36 /* case when received is AS-External though neighbor belongs stub area */
40 zlog_err ("DbDesc %s receive from %s", from->str, received->str);
41 zlog_err (" E-bit mismatch: %s", received->str);
42 ospf6_lsa_delete (received);
56 ospf6_neighbor_request_add (received, from);
61 if (ospf6_lsa_check_recent (received, have) < 0)
65 ospf6_neighbor_request_add (received, from);
130 ospf6_dbex_is_maxage_to_be_dropped (struct ospf6_lsa *received,
135 if (! IS_LSA_MAXAGE (received))
138 if (ospf6_lsdb_lookup (received->header->type, received->header->id,
139 received->header->adv_router,
140 ospf6_lsa_get_scope (received->header->type,
144 if (OSPF6_LSA_IS_SCOPE_LINKLOCAL (ntohs (received->header->type)))
154 else if (OSPF6_LSA_IS_SCOPE_AREA (ntohs (received->header->type)))
164 else if (OSPF6_LSA_IS_SCOPE_AS (ntohs (received->header->type)))
223 struct ospf6_lsa *received, *have, *rem;
229 received = have = (struct ospf6_lsa *)NULL;
233 /* make lsa structure for received lsa */
234 received = ospf6_lsa_create (lsa_header);
237 zlog_info ("Receive %s from %s", received->str, from->str);
241 received->scope = from->ospf6_interface;
243 received->scope = from->ospf6_interface->area;
245 received->scope = from->ospf6_interface->area->ospf6;
252 received->str, cksum, ntohs (ospf6_lsa_checksum (lsa_header)));
253 ospf6_lsa_delete (received);
271 received->str);
272 ospf6_lsa_delete (received);
278 if (ospf6_dbex_is_maxage_to_be_dropped (received, from))
283 "exchanging DB: %s", received->str);
287 ospf6_dbex_acknowledge_direct (received, from);
290 ospf6_lsa_delete (received);
302 ismore_recent = ospf6_lsa_check_recent (received, have);
303 if (ntohl (received->header->seqnum) == ntohl (have->header->seqnum))
304 SET_FLAG (received->flag, OSPF6_LSA_FLAG_DUPLICATE);
307 /* if no database copy or received is more recent */
318 zlog_info ("DBEX: [%s:%s] received LSA too soon: %s",
320 received->str);
323 ospf6_lsa_delete (received);
328 ospf6_dbex_flood (received, from);
341 ospf6_lsdb_install (received);
344 acktype = ack_type (received, ismore_recent, from);
347 ospf6_dbex_acknowledge_direct (received, from);
351 ospf6_dbex_acknowledge_delayed (received, from->ospf6_interface);
358 received->str);
363 if (received->lsa_hdr->lsh_advrtr == ospf6->router_id
369 received->str, from->str,
372 zlog_info ("DBEX: %s: Make new one/Flush", received->str);
374 SET_FLAG (received->flag, OSPF6_LSA_FLAG_REFRESH);
375 slot = ospf6_lsa_slot_get (received->header->type);
378 (*slot->func_refresh) (received);
383 ntohs (received->header->type));
384 ospf6_lsa_premature_aging (received);
388 else if (ospf6_lsdb_lookup_lsdb (received->header->type,
389 received->header->id,
390 received->header->adv_router,
397 zlog_warn ("DBEX: [%s:%s] received LSA %s is not newer,"
400 received->str);
405 ospf6_lsa_delete (received);
410 rem = ospf6_lsdb_lookup_lsdb (received->header->type,
411 received->header->id,
412 received->header->adv_router,
416 SET_FLAG (received->flag, OSPF6_LSA_FLAG_IMPLIEDACK);
421 acktype = ack_type (received, ismore_recent, from);
424 ospf6_dbex_acknowledge_direct (received, from);
428 ospf6_dbex_acknowledge_delayed (received, from->ospf6_interface);
435 received->str);
437 ospf6_lsa_delete (received);
443 if (! IS_LSA_MAXAGE (received) ||
444 received->lsa_hdr->lsh_seqnum != MAX_SEQUENCE_NUMBER)
448 ospf6_lsa_delete (received);