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

Lines Matching refs:new

115 ospf_process_self_originated_lsa (struct ospf_lsa *new, struct ospf_area *area)
123 new->data->type, inet_ntoa (new->data->id));
129 a new instance.
131 switch (new->data->type)
134 /* Originate a new instance and schedule flooding */
137 area->router_lsa_self = ospf_lsa_lock (new);
147 the DR, we flush the LSA otherwise -- create the new instance and
155 if (IPV4_ADDR_SAME (&oi->address->u.prefix4, &new->data->id))
161 ospf_schedule_lsa_flush_area (area, new);
166 if (new->data->type == OSPF_OPAQUE_LINK_LSA)
168 ospf_opaque_lsa_refresh (new);
174 oi->network_lsa_self = ospf_lsa_lock (new);
189 ei = ospf_external_info_check (new);
191 ospf_external_lsa_refresh (new, ei, LSA_REFRESH_FORCE);
193 ospf_lsa_flush_as (new);
197 ospf_opaque_lsa_refresh (new);
200 ospf_opaque_lsa_refresh (new); /* Reconsideration may needed. *//* XXX */
234 struct ospf_lsa *new)
248 dump_lsa_key (new));
258 than MinLSArrival seconds ago, discard the new LSA
280 /* Flood the new LSA out some subset of the router's interfaces.
285 lsa_ack_flag = ospf_flood_through (nbr, new);
315 SET_FLAG (new->flags, OSPF_LSA_RECEIVED);
316 ospf_lsa_is_self_originated (new); /* Let it set the flag */
318 /* Install the new LSA in the link state database
321 timestamp the new LSA with the current time. The flooding
325 new = ospf_lsa_install (nbr->oi, new);
329 zlog_info ("LSA[Flooding]: Type-%d installed", new->data->type);
331 /* if (new->data->type == OSPF_AS_NSSA_LSA )
338 ospf_flood_delayed_lsa_ack (nbr, new);
340 /* If this new LSA indicates that it was originated by the
344 if (ospf_lsa_is_self_originated (new))
345 ospf_process_self_originated_lsa (new, oi->area);
372 /* Remember if new LSA is aded to a retransmit list. */
376 to determine whether they must receive the new LSA. The following
400 instance of the new LSA on the list, it indicates that
402 already. Compare the new LSA to the neighbor's copy: */
413 /* The new LSA is less recent. */
424 /* The new LSA is more recent. Delete the LSA
456 /* If the new LSA was received from this neighbor,
491 /* Add the new LSA to the Link state retransmission list
511 /* If the new LSA was received on this interface, and it was
525 /* If the new LSA was received on this interface, and the
543 Update packet (including the new LSA as contents) out the
824 struct ospf_lsa *new;
826 new = ospf_lsa_new ();
827 new->data = ospf_lsa_data_new (OSPF_LSA_HEADER_SIZE);
828 memcpy (new->data, lsah, OSPF_LSA_HEADER_SIZE);
830 return new;