Searched refs:nbr (Results 26 - 50 of 68) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/ospfd/
H A Dospf_opaque.c254 void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status);
357 void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status),
878 struct ospf_neighbor *nbr, int old_status)
885 (* functab->nsm_change_hook)(nbr, old_status);
1056 ospf_opaque_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
1061 if ((top = oi_to_top (nbr->oi)) == NULL)
1064 if (old_state != NSM_Full && nbr->state == NSM_Full)
1066 if (CHECK_FLAG (nbr->options, OSPF_OPTION_O))
1076 ospf_opaque_lsa_originate_schedule (nbr->oi, NULL);
1080 if (old_state == NSM_Full && nbr
351 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), struct ospf_lsa *(* lsa_refresher )(struct ospf_lsa *lsa), int (* new_lsa_hook)(struct ospf_lsa *lsa), int (* del_lsa_hook)(struct ospf_lsa *lsa)) argument
877 opaque_lsa_nsm_change_callback(struct list *funclist, struct ospf_neighbor *nbr, int old_status) argument
2137 ospf_opaque_adjust_lsreq(struct ospf_neighbor *nbr, struct list *lsas) argument
2239 ospf_opaque_self_originated_lsa_received(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
2284 ospf_opaque_ls_ack_received(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
2430 struct ospf_neighbor *nbr; local
[all...]
H A Dospfd.c440 if (nbr_nbma->nbr)
442 nbr_nbma->nbr->nbr_nbma = NULL;
443 nbr_nbma->nbr = NULL;
1402 if (nbr_nbma->nbr)
1404 nbr_nbma->nbr->nbr_nbma = NULL;
1405 OSPF_NSM_EVENT_EXECUTE (nbr_nbma->nbr, NSM_KillNbr);
1416 struct ospf_neighbor *nbr; local
1423 if (nbr_nbma->nbr != NULL)
1440 nbr = rn->info;
1441 nbr
[all...]
H A Dospf_vty.c2812 struct ospf_neighbor *nbr; local
2887 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi));
2888 if (nbr == NULL)
2893 inet_ntoa (nbr->router_id));
2895 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
2905 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &BDR (oi));
2906 if (nbr == NULL)
2912 inet_ntoa (nbr->router_id));
2914 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
3015 struct ospf_neighbor *nbr; local
3199 show_ip_ospf_neighbor_detail_sub(struct vty *vty, struct ospf_interface *oi, struct ospf_neighbor *nbr) argument
3285 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3334 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3370 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3407 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
4948 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_apiserver.h123 extern void ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr);
178 extern void ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status);
H A Dospf_snmp.c2137 struct ospf_neighbor *nbr; local
2143 if ((nbr = rn->info) != NULL
2144 && nbr != oi->nbr_self
2146 && nbr->state != NSM_Down
2148 && nbr->src.s_addr != 0)
2150 if (IPV4_ADDR_SAME (&nbr->src, nbr_addr))
2153 return nbr;
2166 struct ospf_neighbor *nbr; local
2176 if ((nbr = rn->info) != NULL
2177 && nbr !
2212 struct ospf_neighbor *nbr; local
2304 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_lsa.c450 struct ospf_neighbor *nbr = NULL; local
455 if ((nbr = rn->info))
456 if (!IPV4_ADDR_SAME (&nbr->router_id, &oi->ospf->router_id))
457 if (nbr->state == NSM_Full)
467 return nbr;
534 struct ospf_neighbor *nbr; local
541 if ((nbr = ospf_nbr_lookup_ptop (oi)))
542 if (nbr->state == NSM_Full)
546 links += link_info_set (s, nbr->router_id, oi->address->u.prefix4,
623 struct ospf_neighbor *nbr; local
648 struct ospf_neighbor *nbr = NULL; local
1016 struct ospf_neighbor *nbr; local
2812 struct ospf_neighbor *nbr; local
3297 ospf_lsa_flush_self_originated(struct ospf_neighbor *nbr, struct ospf_lsa *self, struct ospf_lsa *new) argument
[all...]
H A Dospf_interface.c260 struct ospf_neighbor *nbr; local
270 if (nbr_nbma->nbr)
272 nbr_nbma->nbr->nbr_nbma = NULL;
273 nbr_nbma->nbr = NULL;
283 if ((nbr = rn->info) != NULL)
284 if (nbr != oi->nbr_self)
285 OSPF_NSM_EVENT_EXECUTE (nbr, NSM_KillNbr);
H A Dospf_apiserver.c1718 but then we need the neighbor parameter. If we set nbr to
1732 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1740 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1752 ospf_flood_through_as (ospf, NULL /*nbr */ , lsa);
1780 ospf_flood_through (NULL /*nbr */ , lsa);
1891 ospf_flood_through (NULL /*nbr */ , new);
2167 ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status) argument
2172 ospf_apiserver_clients_notify_nsm_change (nbr);
2457 ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr) argument
2463 assert (nbr);
[all...]
H A Dospf_te.c131 static void ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_status);
399 struct ospf_neighbor *nbr; local
413 if ((nbr = ospf_nbr_lookup_ptop (oi))
414 && nbr->state == NSM_Full)
416 lp->link_id.value = nbr->router_id;
423 if ((nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi))) == NULL)
426 if (nbr->state == NSM_Full
683 ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
950 ospf_flood_through_area (area, NULL/*nbr*/, new);
1063 ospf_flood_through_area (area, NULL/*nbr*/, ne
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/ospfd/
H A Dospfd.c440 if (nbr_nbma->nbr)
442 nbr_nbma->nbr->nbr_nbma = NULL;
443 nbr_nbma->nbr = NULL;
1402 if (nbr_nbma->nbr)
1404 nbr_nbma->nbr->nbr_nbma = NULL;
1405 OSPF_NSM_EVENT_EXECUTE (nbr_nbma->nbr, NSM_KillNbr);
1416 struct ospf_neighbor *nbr; local
1423 if (nbr_nbma->nbr != NULL)
1440 nbr = rn->info;
1441 nbr
[all...]
H A Dospf_vty.c2812 struct ospf_neighbor *nbr; local
2887 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi));
2888 if (nbr == NULL)
2893 inet_ntoa (nbr->router_id));
2895 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
2905 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &BDR (oi));
2906 if (nbr == NULL)
2912 inet_ntoa (nbr->router_id));
2914 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
3015 struct ospf_neighbor *nbr; local
3199 show_ip_ospf_neighbor_detail_sub(struct vty *vty, struct ospf_interface *oi, struct ospf_neighbor *nbr) argument
3285 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3334 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3370 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3407 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
4948 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_apiserver.h123 extern void ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr);
178 extern void ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status);
H A Dospf_snmp.c2137 struct ospf_neighbor *nbr; local
2143 if ((nbr = rn->info) != NULL
2144 && nbr != oi->nbr_self
2146 && nbr->state != NSM_Down
2148 && nbr->src.s_addr != 0)
2150 if (IPV4_ADDR_SAME (&nbr->src, nbr_addr))
2153 return nbr;
2166 struct ospf_neighbor *nbr; local
2176 if ((nbr = rn->info) != NULL
2177 && nbr !
2212 struct ospf_neighbor *nbr; local
2304 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_lsa.c450 struct ospf_neighbor *nbr = NULL; local
455 if ((nbr = rn->info))
456 if (!IPV4_ADDR_SAME (&nbr->router_id, &oi->ospf->router_id))
457 if (nbr->state == NSM_Full)
467 return nbr;
534 struct ospf_neighbor *nbr; local
541 if ((nbr = ospf_nbr_lookup_ptop (oi)))
542 if (nbr->state == NSM_Full)
546 links += link_info_set (s, nbr->router_id, oi->address->u.prefix4,
623 struct ospf_neighbor *nbr; local
648 struct ospf_neighbor *nbr = NULL; local
1016 struct ospf_neighbor *nbr; local
2812 struct ospf_neighbor *nbr; local
3297 ospf_lsa_flush_self_originated(struct ospf_neighbor *nbr, struct ospf_lsa *self, struct ospf_lsa *new) argument
[all...]
H A Dospf_interface.c260 struct ospf_neighbor *nbr; local
270 if (nbr_nbma->nbr)
272 nbr_nbma->nbr->nbr_nbma = NULL;
273 nbr_nbma->nbr = NULL;
283 if ((nbr = rn->info) != NULL)
284 if (nbr != oi->nbr_self)
285 OSPF_NSM_EVENT_EXECUTE (nbr, NSM_KillNbr);
H A Dospf_apiserver.c1718 but then we need the neighbor parameter. If we set nbr to
1732 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1740 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1752 ospf_flood_through_as (ospf, NULL /*nbr */ , lsa);
1780 ospf_flood_through (NULL /*nbr */ , lsa);
1891 ospf_flood_through (NULL /*nbr */ , new);
2167 ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status) argument
2172 ospf_apiserver_clients_notify_nsm_change (nbr);
2457 ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr) argument
2463 assert (nbr);
[all...]
H A Dospf_te.c131 static void ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_status);
399 struct ospf_neighbor *nbr; local
413 if ((nbr = ospf_nbr_lookup_ptop (oi))
414 && nbr->state == NSM_Full)
416 lp->link_id.value = nbr->router_id;
423 if ((nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi))) == NULL)
426 if (nbr->state == NSM_Full
683 ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
950 ospf_flood_through_area (area, NULL/*nbr*/, new);
1063 ospf_flood_through_area (area, NULL/*nbr*/, ne
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/ospfd/
H A Dospfd.c440 if (nbr_nbma->nbr)
442 nbr_nbma->nbr->nbr_nbma = NULL;
443 nbr_nbma->nbr = NULL;
1402 if (nbr_nbma->nbr)
1404 nbr_nbma->nbr->nbr_nbma = NULL;
1405 OSPF_NSM_EVENT_EXECUTE (nbr_nbma->nbr, NSM_KillNbr);
1416 struct ospf_neighbor *nbr; local
1423 if (nbr_nbma->nbr != NULL)
1440 nbr = rn->info;
1441 nbr
[all...]
H A Dospf_vty.c2812 struct ospf_neighbor *nbr; local
2887 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi));
2888 if (nbr == NULL)
2893 inet_ntoa (nbr->router_id));
2895 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
2905 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &BDR (oi));
2906 if (nbr == NULL)
2912 inet_ntoa (nbr->router_id));
2914 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
3015 struct ospf_neighbor *nbr; local
3199 show_ip_ospf_neighbor_detail_sub(struct vty *vty, struct ospf_interface *oi, struct ospf_neighbor *nbr) argument
3285 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3334 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3370 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3407 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
4948 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_apiserver.h123 extern void ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr);
178 extern void ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status);
H A Dospf_snmp.c2137 struct ospf_neighbor *nbr; local
2143 if ((nbr = rn->info) != NULL
2144 && nbr != oi->nbr_self
2146 && nbr->state != NSM_Down
2148 && nbr->src.s_addr != 0)
2150 if (IPV4_ADDR_SAME (&nbr->src, nbr_addr))
2153 return nbr;
2166 struct ospf_neighbor *nbr; local
2176 if ((nbr = rn->info) != NULL
2177 && nbr !
2212 struct ospf_neighbor *nbr; local
2304 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_lsa.c450 struct ospf_neighbor *nbr = NULL; local
455 if ((nbr = rn->info))
456 if (!IPV4_ADDR_SAME (&nbr->router_id, &oi->ospf->router_id))
457 if (nbr->state == NSM_Full)
467 return nbr;
534 struct ospf_neighbor *nbr; local
541 if ((nbr = ospf_nbr_lookup_ptop (oi)))
542 if (nbr->state == NSM_Full)
546 links += link_info_set (s, nbr->router_id, oi->address->u.prefix4,
623 struct ospf_neighbor *nbr; local
648 struct ospf_neighbor *nbr = NULL; local
1016 struct ospf_neighbor *nbr; local
2812 struct ospf_neighbor *nbr; local
3297 ospf_lsa_flush_self_originated(struct ospf_neighbor *nbr, struct ospf_lsa *self, struct ospf_lsa *new) argument
[all...]
H A Dospf_interface.c260 struct ospf_neighbor *nbr; local
270 if (nbr_nbma->nbr)
272 nbr_nbma->nbr->nbr_nbma = NULL;
273 nbr_nbma->nbr = NULL;
283 if ((nbr = rn->info) != NULL)
284 if (nbr != oi->nbr_self)
285 OSPF_NSM_EVENT_EXECUTE (nbr, NSM_KillNbr);
H A Dospf_apiserver.c1718 but then we need the neighbor parameter. If we set nbr to
1732 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1740 ospf_flood_through_area (lsa->area, NULL /*nbr */ , lsa);
1752 ospf_flood_through_as (ospf, NULL /*nbr */ , lsa);
1780 ospf_flood_through (NULL /*nbr */ , lsa);
1891 ospf_flood_through (NULL /*nbr */ , new);
2167 ospf_apiserver_nsm_change (struct ospf_neighbor *nbr, int old_status) argument
2172 ospf_apiserver_clients_notify_nsm_change (nbr);
2457 ospf_apiserver_clients_notify_nsm_change (struct ospf_neighbor *nbr) argument
2463 assert (nbr);
[all...]
H A Dospf_te.c131 static void ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_status);
399 struct ospf_neighbor *nbr; local
413 if ((nbr = ospf_nbr_lookup_ptop (oi))
414 && nbr->state == NSM_Full)
416 lp->link_id.value = nbr->router_id;
423 if ((nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi))) == NULL)
426 if (nbr->state == NSM_Full
683 ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
950 ospf_flood_through_area (area, NULL/*nbr*/, new);
1063 ospf_flood_through_area (area, NULL/*nbr*/, ne
[all...]

Completed in 275 milliseconds

123