Searched refs:lsa (Results 1 - 25 of 60) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_dbex.h35 void ospf6_lsa_delayed_ack_remove_all (struct ospf6_lsa *lsa);
44 ospf6_dbex_acknowledge_delayed (struct ospf6_lsa *lsa,
56 ospf6_dbex_remove_from_all_retrans_list (struct ospf6_lsa *lsa);
H A Dospf6_lsa.c133 ospf6_lsa_age_set (struct ospf6_lsa *lsa) argument
137 assert (lsa && lsa->header);
143 lsa->birth.tv_sec = now.tv_sec - ntohs (lsa->header->age);
144 lsa->birth.tv_usec = now.tv_usec;
145 lsa->expire = thread_add_timer (master, ospf6_lsa_expire, lsa,
146 lsa->birth.tv_sec + MAXAGE - now.tv_sec);
153 ospf6_lsa_age_current (struct ospf6_lsa *lsa) argument
182 ospf6_lsa_age_update_to_send(struct ospf6_lsa *lsa, u_int32_t transdelay) argument
194 ospf6_lsa_premature_aging(struct ospf6_lsa *lsa) argument
393 ospf6_lsa_show(struct vty *vty, struct ospf6_lsa *lsa) argument
438 ospf6_lsa_show_summary(struct vty *vty, struct ospf6_lsa *lsa) argument
465 ospf6_lsa_show_dump(struct vty *vty, struct ospf6_lsa *lsa) argument
498 struct ospf6_lsa *lsa; local
536 struct ospf6_lsa *lsa = NULL; local
591 struct ospf6_lsa *lsa = NULL; local
638 ospf6_lsa_delete(struct ospf6_lsa *lsa) argument
675 ospf6_lsa_lock(struct ospf6_lsa *lsa) argument
683 ospf6_lsa_unlock(struct ospf6_lsa *lsa) argument
733 struct ospf6_lsa *lsa; local
776 struct ospf6_lsa *lsa; local
824 struct ospf6_lsa *lsa; local
1084 ospf6_lsa_router_show(struct vty *vty, struct ospf6_lsa *lsa) argument
1326 struct ospf6_lsa *lsa = old; local
1376 ospf6_lsa_network_show(struct vty *vty, struct ospf6_lsa *lsa) argument
1521 struct ospf6_lsa *lsa = old; local
1565 ospf6_lsa_link_show(struct vty *vty, struct ospf6_lsa *lsa) argument
1777 struct ospf6_lsa *lsa = old; local
1816 struct ospf6_lsa *lsa = data; local
1832 struct ospf6_lsa *lsa = data; local
1848 struct ospf6_lsa *lsa = data; local
[all...]
H A Dospf6_abr.c82 ospf6_abr_prefix_lsa_to_route (struct ospf6_lsa *lsa, argument
88 if (lsa->header->type != htons (OSPF6_LSA_TYPE_INTER_PREFIX))
95 if (IS_LSA_MAXAGE (lsa))
102 if (! ospf6_abr_entry_lookup (&abr_entry, lsa->header->adv_router,
103 (struct ospf6_area *) lsa->scope))
110 iep = OSPF6_LSA_HEADER_END (lsa->header);
121 request->path.origin.type = lsa->header->type;
122 request->path.origin.id = lsa->header->id;
123 request->path.origin.adv_router = lsa->header->adv_router;
132 ospf6_abr_prefix_lsa_add (struct ospf6_lsa *lsa) argument
151 ospf6_abr_prefix_lsa_remove(struct ospf6_lsa *lsa) argument
183 ospf6_abr_router_lsa_to_route(struct ospf6_lsa *lsa, struct ospf6_route_req *request) argument
239 ospf6_abr_router_lsa_add(struct ospf6_lsa *lsa) argument
258 ospf6_abr_router_lsa_remove(struct ospf6_lsa *lsa) argument
410 struct ospf6_lsa *lsa; local
500 struct ospf6_lsa *lsa = data; local
520 ospf6_abr_prefix_lsa_show(struct vty *vty, struct ospf6_lsa *lsa) argument
540 struct ospf6_lsa *lsa = data; local
548 struct ospf6_lsa *lsa = data; local
582 struct ospf6_lsa *lsa = data; local
590 struct ospf6_lsa *lsa = data; local
596 ospf6_abr_router_lsa_show(struct vty *vty, struct ospf6_lsa *lsa) argument
[all...]
H A Dospf6_neighbor.c92 ospf6_neighbor_summary_add (struct ospf6_lsa *lsa,
100 zlog_info (" Add %s", lsa->str);
103 ospf6_lsa_age_current (lsa);
104 summary = ospf6_lsa_summary_create (lsa->header);
109 ospf6_neighbor_summary_remove (struct ospf6_lsa *lsa,
117 zlog_info (" Remove %s", lsa->str);
120 summary = ospf6_lsdb_lookup_lsdb (lsa->header->type, lsa->header->id,
121 lsa->header->adv_router, nei->summary_list);
126 ospf6_neighbor_request_add (struct ospf6_lsa *lsa,
91 ospf6_neighbor_summary_add(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
108 ospf6_neighbor_summary_remove(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
125 ospf6_neighbor_request_add(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
142 ospf6_neighbor_request_remove(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
159 ospf6_neighbor_retrans_add(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
172 ospf6_neighbor_retrans_remove(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
185 ospf6_neighbor_dbdesc_add(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
198 ospf6_neighbor_dbdesc_remove(struct ospf6_lsa *lsa, struct ospf6_neighbor *nei) argument
523 struct ospf6_lsa *lsa; variable in typeref:struct:ospf6_lsa
559 ospf6_lsa_age_current (lsa); variable
[all...]
H A Dospf6_dbex.c24 /* check validity and put lsa in reqestlist if needed. */
74 ospf6_dbex_acknowledge_direct (struct ospf6_lsa *lsa, argument
78 assert (lsa);
83 lsa->str);
89 OSPF6_MESSAGE_ATTACH (directack, lsa->header,
93 ospf6_lsa_age_update_to_send (lsa, o6n->ospf6_interface->transdelay);
102 ospf6_dbex_acknowledge_delayed (struct ospf6_lsa *lsa, argument
108 zlog_info ("DBEX: [%s] delayed ack %s", o6i->interface->name, lsa->str);
111 ospf6_lsa_age_current (lsa);
112 ospf6_interface_delayed_ack_add (lsa, o6
185 struct ospf6_lsa *lsa = (struct ospf6_lsa *) arg; local
197 ospf6_dbex_remove_from_all_retrans_list(struct ospf6_lsa *lsa) argument
540 ospf6_dbex_flood_linklocal(struct ospf6_lsa *lsa, struct ospf6_interface *o6i, struct ospf6_neighbor *from) argument
637 ospf6_dbex_flood_area(struct ospf6_lsa *lsa, struct ospf6_area *area, struct ospf6_neighbor *from) argument
654 ospf6_dbex_flood_as(struct ospf6_lsa *lsa, struct ospf6 *ospf6, struct ospf6_neighbor *from) argument
672 ospf6_dbex_flood(struct ospf6_lsa *lsa, struct ospf6_neighbor *from) argument
[all...]
H A Dospf6_asbr.c117 struct ospf6_lsa *lsa; local
119 lsa = ospf6_lsdb_lookup_lsdb (htons (OSPF6_LSA_TYPE_AS_EXTERNAL),
122 if (lsa)
123 ospf6_lsa_premature_aging (lsa);
127 ospf6_asbr_external_lsa_add (struct ospf6_lsa *lsa) argument
134 external = OSPF6_LSA_HEADER_END (lsa->header);
136 if (IS_LSA_MAXAGE (lsa))
140 zlog_info ("ASBR: Calculate %s", lsa->str);
142 if (lsa->header->adv_router == ospf6->router_id)
159 asbr_id.adv_router.s_addr = lsa
215 ospf6_asbr_external_lsa_remove(struct ospf6_lsa *lsa) argument
367 ospf6_asbr_external_show(struct vty *vty, struct ospf6_lsa *lsa) argument
416 struct ospf6_lsa *lsa = old; local
[all...]
H A Dospf6_lsdb.c100 ospf6_lsdb_add (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb) argument
109 ospf6_lsdb_set_key (&key, flag, lsa->header->type, lsa->header->id,
110 lsa->header->adv_router);
115 rn->info = lsa;
116 ospf6_lsa_lock (lsa);
125 ospf6_lsdb_remove (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb) argument
134 ospf6_lsdb_set_key (&key, flag, lsa->header->type, lsa->header->id,
135 lsa
411 struct ospf6_lsa *lsa; local
438 ospf6_lsdb_match(int flag, u_int16_t type, u_int32_t id, u_int32_t adv_router, struct ospf6_lsa *lsa) argument
[all...]
H A Dospf6_intra.c31 ospf6_intra_route_calculate (int type, struct ospf6_lsa *lsa, argument
40 intra_prefix = OSPF6_LSA_HEADER_END (lsa->header);
42 area = lsa->scope;
46 end = (char *) lsa->header + ntohs (lsa->header->length);
60 request.path.origin.type = lsa->header->type;
61 request.path.origin.id = lsa->header->id;
62 request.path.origin.adv_router = lsa->header->adv_router;
85 struct ospf6_lsa *lsa = data; local
91 if (lsa
130 struct ospf6_lsa *lsa = data; local
324 ospf6_lsa_intra_prefix_show(struct vty *vty, struct ospf6_lsa *lsa) argument
784 struct ospf6_lsa *lsa = new; local
802 struct ospf6_lsa *lsa = old; local
[all...]
H A Dospf6_asbr.h48 void ospf6_asbr_external_lsa_add (struct ospf6_lsa *lsa);
49 void ospf6_asbr_external_lsa_remove (struct ospf6_lsa *lsa);
H A Dospf6_lsdb.h38 struct ospf6_lsa *lsa; member in struct:ospf6_lsdb_node
77 void ospf6_lsdb_add (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb);
78 void ospf6_lsdb_remove (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb);
H A Dospf6_spf.c233 struct ospf6_lsa *lsa;
242 lsa = ospf6_lsdb_lookup_lsdb (type, id, adv_router, o6a->lsdb);
243 if (! lsa)
249 return ospf6_lsa_lsd_num ((struct ospf6_lsa_header *) lsa->header);
289 struct ospf6_lsa *lsa;
300 lsa = NULL;
305 lsa = node.lsa;
308 if (lsa)
311 link_lsa = (struct ospf6_link_lsa *) (lsa
231 struct ospf6_lsa *lsa; local
287 struct ospf6_lsa *lsa; local
416 struct ospf6_lsa *lsa; local
614 struct ospf6_lsa *lsa; local
[all...]
H A Dospf6_interface.h143 ospf6_interface_delayed_ack_add (struct ospf6_lsa *lsa,
146 ospf6_interface_delayed_ack_remove (struct ospf6_lsa *lsa,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospf_lsdb.c76 lsdb_prefix_set (struct prefix_ls *lp, struct ospf_lsa *lsa)
81 lp->id = lsa->data->id;
82 lp->adv_router = lsa->data->adv_router;
87 ospf_lsdb_add (struct ospf_lsdb *lsdb, struct ospf_lsa *lsa)
93 table = lsdb->type[lsa->data->type].db;
94 lsdb_prefix_set (&lp, lsa);
98 if (IS_LSA_SELF (lsa))
99 lsdb->type[lsa->data->type].count_self++;
100 lsdb->type[lsa->data->type].count++;
105 if (rn->info == lsa)
75 lsdb_prefix_set(struct prefix_ls *lp, struct ospf_lsa *lsa) argument
86 ospf_lsdb_add(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) argument
119 ospf_lsdb_delete(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) argument
152 struct ospf_lsa *lsa; local
177 ospf_lsdb_lookup(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) argument
291 struct ospf_lsa *lsa; local
[all...]
H A Dospf_flood.c58 ospf_flood_delayed_lsa_ack (struct ospf_neighbor *inbr, struct ospf_lsa *lsa)
76 listnode_add (inbr->oi->ls_ack, ospf_lsa_lock (lsa));
81 ospf_external_info_check (struct ospf_lsa *lsa)
88 al = (struct as_external_lsa *) lsa->data;
91 p.prefix = lsa->data->id;
357 struct ospf_lsa *lsa)
367 dump_lsa_key (lsa));
407 ls_req = ospf_ls_request_lookup (onbr, lsa);
412 ret = ospf_lsa_more_recent (ls_req, lsa);
435 if (IS_OPAQUE_LSA (lsa
57 ospf_flood_delayed_lsa_ack(struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
80 ospf_external_info_check(struct ospf_lsa *lsa) argument
354 ospf_flood_through_interface(struct ospf_interface *oi, struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
582 ospf_flood_through_area(struct ospf_area * area,struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
621 ospf_flood_through_as(struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
706 ospf_flood_through(struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
757 ospf_ls_request_add(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
787 ospf_ls_request_delete(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
814 ospf_ls_request_lookup(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
853 ospf_ls_retransmit_add(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
883 ospf_ls_retransmit_delete(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
909 struct ospf_lsa *lsa; local
922 ospf_ls_retransmit_lookup(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
929 ospf_ls_retransmit_delete_nbr_all(struct ospf_area *area, struct ospf_lsa *lsa) argument
959 ospf_ls_retransmit_add_nbr_all(struct ospf_interface *ospfi, struct ospf_lsa *lsa) argument
990 ospf_lsa_flush_area(struct ospf_lsa *lsa, struct ospf_area *area) argument
998 ospf_lsa_flush_as(struct ospf_lsa *lsa) argument
1007 ospf_flush_through_as(struct ospf_lsa *lsa) argument
[all...]
H A Dospf_lsa.c141 ospf_lsa_refresh_delay (struct ospf_lsa *lsa)
147 delta = tv_sub (now, lsa->tv_orig);
153 if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
155 lsa->data->type, inet_ntoa (lsa->data->id), delay);
166 get_age (struct ospf_lsa *lsa)
172 age = ntohs (lsa->data->ls_age) + tv_floor (tv_sub (now, lsa->tv_recv));
184 ospf_lsa_checksum (struct lsa_header *lsa)
191 lsa
139 ospf_lsa_refresh_delay(struct ospf_lsa *lsa) argument
163 get_age(struct ospf_lsa *lsa) argument
180 ospf_lsa_checksum(struct lsa_header *lsa) argument
241 ospf_lsa_dup(struct ospf_lsa *lsa) argument
261 ospf_lsa_free(struct ospf_lsa *lsa) argument
280 ospf_lsa_lock(struct ospf_lsa *lsa) argument
288 ospf_lsa_unlock(struct ospf_lsa *lsa) argument
307 ospf_lsa_discard(struct ospf_lsa *lsa) argument
355 dump_lsa_key(struct ospf_lsa *lsa) argument
377 lsa_seqnum_increment(struct ospf_lsa *lsa) argument
748 ospf_router_lsa_refresh(struct ospf_lsa *lsa) argument
804 struct ospf_lsa *lsa = area->router_lsa_self; local
845 struct ospf_lsa *lsa = area->router_lsa_self; local
984 ospf_network_lsa_refresh(struct ospf_lsa *lsa, struct ospf_interface *oi) argument
1037 struct ospf_lsa *lsa = oi->network_lsa_self; local
1170 ospf_summary_lsa_refresh(struct ospf_lsa *lsa) argument
1296 ospf_summary_asbr_lsa_refresh(struct ospf_lsa *lsa) argument
1590 ospf_install_flood_nssa(struct ospf_lsa *lsa, struct external_info *ei) argument
1842 struct ospf_lsa *lsa; local
1884 struct ospf_lsa *lsa; local
1932 struct ospf_lsa *lsa; local
1943 ospf_external_lsa_refresh(struct ospf_lsa *lsa, struct external_info *ei, int force) argument
2168 ospf_discard_from_db(struct ospf_lsdb *lsdb, struct ospf_lsa *lsa) argument
2200 ospf_lsa_discard_callback(struct ospf_lsa *lsa, void *p, int i) argument
2212 ospf_lsa_install(struct ospf_interface *oi, struct ospf_lsa *lsa) argument
2388 ospf_maxage_flood(struct ospf_lsa *lsa) argument
2433 struct ospf_lsa *lsa = getdata (node); local
2483 ospf_lsa_maxage_delete(struct ospf_lsa *lsa) argument
2495 ospf_lsa_maxage(struct ospf_lsa *lsa) argument
2516 ospf_lsa_maxage_walker_remover(struct ospf_lsa *lsa, void *p_arg, int int_arg) argument
2597 find_summary(struct ospf_lsa *lsa, void * v, int i) argument
2621 find_asbr_summary(struct ospf_lsa *lsa, void * v, int i) argument
2675 struct ospf_lsa *lsa; local
2860 ospf_lsa_flush_schedule(struct ospf_lsa *lsa, void *v, int i) argument
2894 struct ospf_lsa *lsa; local
2972 ospf_lsa_is_self_originated(struct ospf_lsa *lsa) argument
3016 struct ospf_lsa *lsa; local
3073 struct ospf_lsa *lsa; member in struct:lsa_action
3115 ospf_schedule_lsa_flood_area(struct ospf_area *area, struct ospf_lsa *lsa) argument
3130 ospf_schedule_lsa_flush_area(struct ospf_area *area, struct ospf_lsa *lsa) argument
3147 ospf_lsa_refresh(struct ospf_lsa *lsa) argument
3184 ospf_refresher_register_lsa(struct ospf *top, struct ospf_lsa *lsa) argument
3223 ospf_refresher_unregister_lsa(struct ospf *top, struct ospf_lsa *lsa) argument
3279 struct ospf_lsa *lsa = getdata (node); local
[all...]
H A Dospf_opaque.c76 static int ospf_opaque_lsa_install_hook (struct ospf_lsa *lsa);
77 static int ospf_opaque_lsa_delete_hook (struct ospf_lsa *lsa);
237 void (* show_opaque_info )(struct vty *vty, struct ospf_lsa *lsa);
239 void (* lsa_refresher )(struct ospf_lsa *lsa);
240 int (* new_lsa_hook)(struct ospf_lsa *lsa);
241 int (* del_lsa_hook)(struct ospf_lsa *lsa);
321 void (* show_opaque_info )(struct vty *vty, struct ospf_lsa *lsa),
323 void (* lsa_refresher )(struct ospf_lsa *lsa),
324 int (* new_lsa_hook)(struct ospf_lsa *lsa),
325 int (* del_lsa_hook)(struct ospf_lsa *lsa))
311 ospf_register_opaque_functab( u_char lsa_type, u_char opaque_type, int (* new_if_hook)(struct interface *ifp), int (* del_if_hook)(struct interface *ifp), void (* ism_change_hook)(struct ospf_interface *oi, int old_status), void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status), void (* config_write_router)(struct vty *vty), void (* config_write_if )(struct vty *vty, struct interface *ifp), void (* config_write_debug )(struct vty *vty), void (* show_opaque_info )(struct vty *vty, struct ospf_lsa *lsa), int (* lsa_originator)(void *arg), void (* lsa_refresher )(struct ospf_lsa *lsa), int (* new_lsa_hook)(struct ospf_lsa *lsa), int (* del_lsa_hook)(struct ospf_lsa *lsa)) argument
406 ospf_opaque_functab_lookup(struct ospf_lsa *lsa) argument
476 struct ospf_lsa *lsa; member in struct:opaque_info_per_id
550 lookup_opaque_info_by_type(struct ospf_lsa *lsa) argument
633 lookup_opaque_info_by_id(struct opaque_info_per_type *oipt, struct ospf_lsa *lsa) argument
861 new_lsa_callback(list funclist, struct ospf_lsa *lsa) argument
879 del_lsa_callback(list funclist, struct ospf_lsa *lsa) argument
1068 show_opaque_info_detail(struct vty *vty, struct ospf_lsa *lsa) argument
1108 struct ospf_lsa lsa; local
1116 ospf_opaque_lsa_install_hook(struct ospf_lsa *lsa) argument
1143 ospf_opaque_lsa_delete_hook(struct ospf_lsa *lsa) argument
1416 ospf_opaque_lsa_install(struct ospf_lsa *lsa, int rt_recalc) argument
1486 ospf_opaque_lsa_refresh(struct ospf_lsa *lsa) argument
1535 struct ospf_lsa *lsa; local
1668 static struct ospf_lsa lsa = { 0 }; local
1834 struct ospf_lsa *lsa; local
1889 struct ospf_lsa *lsa; local
1910 struct ospf_lsa *lsa; local
1982 struct ospf_lsa *lsa; local
2060 ospf_opaque_exclude_lsa_from_lsreq(struct route_table *nbrs, struct ospf_neighbor *inbr, struct ospf_lsa *lsa) argument
2092 struct ospf_lsa *lsa; local
2151 struct ospf_lsa *lsa; local
[all...]
H A Dospf_opaque.h33 * Define opaque-lsa handling flag "top->opaque" as follows.
122 void (* show_opaque_info )(struct vty *vty, struct ospf_lsa *lsa),
124 void (* lsa_refresher )(struct ospf_lsa *lsa),
125 int (* new_lsa_hook)(struct ospf_lsa *lsa),
126 int (* del_lsa_hook)(struct ospf_lsa *lsa)
137 extern void show_opaque_info_detail (struct vty *vty, struct ospf_lsa *lsa);
142 extern void ospf_opaque_lsa_refresh (struct ospf_lsa *lsa);
145 extern void ospf_opaque_lsa_refresh_schedule (struct ospf_lsa *lsa);
146 extern void ospf_opaque_lsa_flush_schedule (struct ospf_lsa *lsa);
H A Dospf_spf.h34 struct lsa_header *lsa; member in struct:vertex
H A Dospf_ase.c239 ospf_ase_calculate_new_route (struct ospf_lsa *lsa, argument
245 al = (struct as_external_lsa *) lsa->data;
270 new->u.ext.origin = lsa;
282 ospf_ase_calculate_route (struct ospf_lsa * lsa, void * p_arg, int n_arg) argument
292 assert (lsa);
293 al = (struct as_external_lsa *) lsa->data;
296 if (lsa->data->type == OSPF_AS_NSSA_LSA)
301 if (CHECK_FLAG (lsa->flags, OSPF_LSA_LOCAL_XLT))
318 if (IS_LSA_MAXAGE (lsa))
326 if (IS_LSA_SELF (lsa))
681 ospf_ase_register_external_lsa(struct ospf_lsa *lsa, struct ospf *top) argument
705 ospf_ase_unregister_external_lsa(struct ospf_lsa *lsa, struct ospf *top) argument
738 struct ospf_lsa *lsa; local
755 ospf_ase_incremental_update(struct ospf_lsa *lsa, struct ospf *top) argument
[all...]
H A Dospf_packet.c413 struct ospf_lsa *lsa;
415 if ((lsa = rn->info) != NULL)
423 if (tv_cmp (tv_sub (now, lsa->tv_recv),
1318 struct ospf_lsa *lsa;
1396 lsa = ospf_lsa_new ();
1405 lsa->area = NULL;
1408 lsa->oi = oi; /* Remember incoming interface for flooding control. */
1412 lsa->area = oi->area;
1416 lsa->data = ospf_lsa_data_new (length);
1417 memcpy (lsa
411 struct ospf_lsa *lsa; local
1316 struct ospf_lsa *lsa; local
1431 struct ospf_lsa *lsa; local
1451 struct ospf_lsa *lsa = NULL; local
1804 struct ospf_lsa *lsa, *lsr; local
2460 struct ospf_lsa *lsa; local
2569 ospf_make_ls_req_func(struct stream *s, u_int16_t *length, unsigned long delta, struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
2595 struct ospf_lsa *lsa; local
2620 ls_age_increment(struct ospf_lsa *lsa, int delay) argument
2632 struct ospf_lsa *lsa; local
2698 struct ospf_lsa *lsa; local
3010 ospf_ls_upd_send_lsa(struct ospf_neighbor *nbr, struct ospf_lsa *lsa, int flag) argument
3180 ospf_ls_ack_send(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
[all...]
H A Dospf_asbr.c170 if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
210 struct ospf_lsa *lsa;
214 lsa = ospf_lsdb_lookup_by_id (ospf_top->lsdb, OSPF_AS_EXTERNAL_LSA,
217 if (!lsa)
220 al = (struct as_external_lsa *) lsa->data;
227 lsa = ospf_lsdb_lookup_by_id (ospf_top->lsdb, OSPF_AS_EXTERNAL_LSA,
229 if (!lsa)
233 return lsa;
208 struct ospf_lsa *lsa; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dxconnect.c99 void set_nport(len_and_sockaddr *lsa, unsigned port) argument
102 if (lsa->sa.sa_family == AF_INET6) {
103 lsa->sin6.sin6_port = port;
107 if (lsa->sa.sa_family == AF_INET) {
108 lsa->sin.sin_port = port;
214 len_and_sockaddr *lsa; local
236 lsa = xzalloc(offsetof(len_and_sockaddr, sa) + len);
237 lsa->len = len;
238 lsa->sa.sa_family = family;
239 *lsap = lsa;
251 len_and_sockaddr *lsa; local
281 len_and_sockaddr *lsa; local
291 xconnect_stream(const len_and_sockaddr *lsa) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dnc.c37 len_and_sockaddr *lsa; local
96 * to know lsa */
97 sfd = xsocket_stream(&lsa);
99 set_nport(lsa, htons(lport));
101 xbind(sfd, &lsa->sa, lsa->len);
106 socklen_t addrlen = lsa->len;
107 getsockname(sfd, &lsa->sa, &addrlen);
108 lport = get_nport(&lsa->sa);
H A Dping.c91 static void ping4(len_and_sockaddr *lsa) argument
99 pingaddr = lsa->sin;
134 static void ping6(len_and_sockaddr *lsa) argument
143 pingaddr = lsa->sin6;
181 len_and_sockaddr *lsa; local
205 lsa = xhost_and_af2sockaddr(hostname, 0, af);
207 lsa = xhost_and_af2sockaddr(hostname, 0, AF_INET);
214 if (lsa->sa.sa_family == AF_INET6)
215 ping6(lsa);
218 ping4(lsa);
564 ping4(len_and_sockaddr *lsa) argument
614 ping6(len_and_sockaddr *lsa) argument
703 ping(len_and_sockaddr *lsa) argument
730 len_and_sockaddr *lsa; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/ipsvd/
H A Dtcpudp.c142 len_and_sockaddr *lsa; local
241 lsa = xhost2sockaddr(argv[0], local_port);
242 sock = xsocket(lsa->sa.sa_family, tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
244 sa_len = lsa->len; /* I presume sockaddr len stays the same */
245 xbind(sock, &lsa->sa, sa_len);
261 char *addr = xmalloc_sockaddr2dotted(&lsa->sa);
291 local = *lsa;
335 sock = xsocket(lsa->sa.sa_family, tcp ? SOCK_STREAM : SOCK_DGRAM, 0);
337 xbind(sock, &lsa->sa, sa_len);
416 if (tcp && getsockopt(0, SOL_IP, SO_ORIGINAL_DST, &lsa
[all...]

Completed in 126 milliseconds

123