Searched refs:nbr (Results 1 - 24 of 24) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospf_neighbor.c49 struct ospf_neighbor *nbr; local
52 nbr = XMALLOC (MTYPE_OSPF_NEIGHBOR, sizeof (struct ospf_neighbor));
53 memset (nbr, 0, sizeof (struct ospf_neighbor));
56 nbr->oi = oi;
59 nbr->state = NSM_Down;
62 nbr->v_inactivity = OSPF_IF_PARAM (oi, v_wait);
63 nbr->v_db_desc = OSPF_IF_PARAM (oi, retransmit_interval);
64 nbr->v_ls_req = OSPF_IF_PARAM (oi, retransmit_interval);
65 nbr->v_ls_upd = OSPF_IF_PARAM (oi, retransmit_interval);
66 nbr
86 ospf_nbr_free(struct ospf_neighbor *nbr) argument
127 ospf_nbr_delete(struct ospf_neighbor *nbr) argument
180 struct ospf_neighbor *nbr; local
205 struct ospf_neighbor *nbr; local
227 struct ospf_neighbor *nbr; local
252 struct ospf_neighbor *nbr; local
279 struct ospf_neighbor *nbr; local
299 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_nsm.c59 struct ospf_neighbor *nbr;
61 nbr = THREAD_ARG (thread);
62 nbr->t_inactivity = NULL;
66 IF_NAME (nbr->oi), inet_ntoa (nbr->router_id));
68 OSPF_NSM_EVENT_SCHEDULE (nbr, NSM_InactivityTimer);
77 struct ospf_neighbor *nbr;
79 nbr = THREAD_ARG (thread);
80 nbr->t_db_desc = NULL;
82 oi = nbr
58 struct ospf_neighbor *nbr; local
76 struct ospf_neighbor *nbr; local
100 nsm_timer_set(struct ospf_neighbor *nbr) argument
144 nsm_ignore(struct ospf_neighbor *nbr) argument
154 nsm_hello_received(struct ospf_neighbor *nbr) argument
169 nsm_start(struct ospf_neighbor *nbr) argument
186 nsm_twoway_received(struct ospf_neighbor *nbr) argument
213 ospf_db_summary_count(struct ospf_neighbor *nbr) argument
219 ospf_db_summary_isempty(struct ospf_neighbor *nbr) argument
227 struct ospf_neighbor *nbr = (struct ospf_neighbor *) v; local
247 ospf_db_summary_clear(struct ospf_neighbor *nbr) argument
289 nsm_negotiation_done(struct ospf_neighbor *nbr) argument
295 foreach_lsa (ROUTER_LSDB (area), nbr, 0, ospf_db_summary_add); local
296 foreach_lsa (NETWORK_LSDB (area), nbr, 0, ospf_db_summary_add); local
297 foreach_lsa (SUMMARY_LSDB (area), nbr, 0, ospf_db_summary_add); local
298 foreach_lsa (ASBR_SUMMARY_LSDB (area), nbr, 0, ospf_db_summary_add); local
304 foreach_lsa (OPAQUE_LINK_LSDB (area), nbr, 0, ospf_db_summary_add); local
305 foreach_lsa (OPAQUE_AREA_LSDB (area), nbr, 0, ospf_db_summary_add); local
311 foreach_lsa (EXTERNAL_LSDB (ospf_top), nbr, 0, ospf_db_summary_add); local
318 nbr, 0, ospf_db_summary_add); local
327 nsm_exchange_done(struct ospf_neighbor *nbr) argument
346 nsm_bad_ls_req(struct ospf_neighbor *nbr) argument
355 nsm_adj_ok(struct ospf_neighbor *nbr) argument
388 nsm_seq_number_mismatch(struct ospf_neighbor *nbr) argument
397 nsm_oneway_received(struct ospf_neighbor *nbr) argument
406 nsm_reset_nbr(struct ospf_neighbor *nbr) argument
433 nsm_kill_nbr(struct ospf_neighbor *nbr) argument
465 nsm_inactivity_timer(struct ospf_neighbor *nbr) argument
474 nsm_ll_down(struct ospf_neighbor *nbr) argument
664 nsm_change_state(struct ospf_neighbor *nbr, int state) argument
794 struct ospf_neighbor *nbr; local
845 ospf_check_nbr_loading(struct ospf_neighbor *nbr) argument
[all...]
H A Dospf_flood.c233 ospf_flood (struct ospf_neighbor *nbr, struct ospf_lsa *current,
245 inet_ntoa (nbr->router_id),
246 LOOKUP (ospf_nsm_state_msg, nbr->state),
251 oi = nbr->oi;
285 lsa_ack_flag = ospf_flood_through (nbr, new);
309 ospf_ls_retransmit_delete_nbr_all (nbr->oi->area, current);
325 new = ospf_lsa_install (nbr->oi, new);
338 ospf_flood_delayed_lsa_ack (nbr, new);
387 zlog_info ("ospf_flood_through_interface(): considering nbr %s (%s)",
406 zlog_info ("ospf_flood_through_interface(): nbr ad
232 ospf_flood(struct ospf_neighbor *nbr, struct ospf_lsa *current, struct ospf_lsa *new) argument
568 struct ospf_neighbor *nbr; local
757 ospf_ls_request_add(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
774 ospf_ls_request_count(struct ospf_neighbor *nbr) argument
780 ospf_ls_request_isempty(struct ospf_neighbor *nbr) argument
787 ospf_ls_request_delete(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
805 ospf_ls_request_delete_all(struct ospf_neighbor *nbr) argument
814 ospf_ls_request_lookup(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
834 ospf_ls_retransmit_count(struct ospf_neighbor *nbr) argument
840 ospf_ls_retransmit_count_self(struct ospf_neighbor *nbr, int lsa_type) argument
846 ospf_ls_retransmit_isempty(struct ospf_neighbor *nbr) 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
898 ospf_ls_retransmit_clear(struct ospf_neighbor *nbr) argument
922 ospf_ls_retransmit_lookup(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
939 struct ospf_neighbor *nbr; local
968 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_packet.c263 struct ospf_neighbor *nbr;
279 nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id);
280 if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum))
294 if (nbr)
295 nbr->crypt_seqnum = ospfh->u.crypt.crypt_seqnum;
355 struct ospf_neighbor *nbr;
357 nbr = THREAD_ARG (thread);
358 nbr->t_ls_req = NULL;
361 if (ospf_ls_request_count (nbr))
262 struct ospf_neighbor *nbr; local
353 struct ospf_neighbor *nbr; local
369 ospf_ls_req_event(struct ospf_neighbor *nbr) argument
384 struct ospf_neighbor *nbr; local
583 struct ospf_neighbor *nbr; local
849 ospf_db_desc_save_current(struct ospf_neighbor *nbr, struct ospf_db_desc *dd) argument
859 ospf_db_desc_proc(struct stream *s, struct ospf_interface *oi, struct ospf_neighbor *nbr, struct ospf_db_desc *dd, u_int16_t size) argument
970 ospf_db_desc_is_dup(struct ospf_db_desc *dd, struct ospf_neighbor *nbr) argument
987 struct ospf_neighbor *nbr; local
1215 struct ospf_neighbor *nbr; local
1310 ospf_ls_upd_list_lsa(struct ospf_neighbor *nbr, struct stream *s, struct ospf_interface *oi, size_t size) argument
1445 struct ospf_neighbor *nbr; local
1776 struct ospf_neighbor *nbr; local
2386 struct ospf_neighbor *nbr; local
2457 ospf_make_db_desc(struct ospf_interface *oi, struct ospf_neighbor *nbr, struct stream *s) argument
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
2593 ospf_make_ls_req(struct ospf_neighbor *nbr, struct stream *s) argument
2812 struct ospf_neighbor *nbr; local
2855 struct ospf_neighbor *nbr; local
2915 ospf_db_desc_send(struct ospf_neighbor *nbr) argument
2954 ospf_db_desc_resend(struct ospf_neighbor *nbr) argument
2969 ospf_ls_req_send(struct ospf_neighbor *nbr) argument
3010 ospf_ls_upd_send_lsa(struct ospf_neighbor *nbr, struct ospf_lsa *lsa, int flag) argument
3089 ospf_ls_upd_send(struct ospf_neighbor *nbr, list update, int flag) argument
3180 ospf_ls_ack_send(struct ospf_neighbor *nbr, struct ospf_lsa *lsa) argument
3207 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_ism.c53 struct ospf_neighbor *nbr, *max = NULL;
59 nbr = getdata (node);
62 max = nbr;
65 if (max->priority < nbr->priority)
66 max = nbr;
67 else if (max->priority == nbr->priority)
68 if (IPV4_ADDR_CMP (&max->router_id, &nbr->router_id) < 0)
69 max = nbr;
81 struct ospf_neighbor *nbr, *dr = NULL, *bdr = NULL;
88 nbr
52 struct ospf_neighbor *nbr, *max = NULL; local
80 struct ospf_neighbor *nbr, *dr = NULL, *bdr = NULL; local
123 struct ospf_neighbor *nbr, *bdr = NULL; local
180 struct ospf_neighbor *nbr; local
198 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_opaque.h118 void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status),
133 extern void ospf_opaque_nsm_change (struct ospf_neighbor *nbr, int old_status);
148 extern void ospf_opaque_adjust_lsreq (struct ospf_neighbor *nbr, list lsas);
149 extern void ospf_opaque_self_originated_lsa_received (struct ospf_neighbor *nbr, list lsas);
150 extern void ospf_opaque_ls_ack_received (struct ospf_neighbor *nbr, list acks);
H A Dospf_nsm.h60 (T) = thread_add_timer (master, (F), nbr, (V)); \
H A Dospf_opaque.c233 void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status);
317 void (* nsm_change_hook)(struct ospf_neighbor *nbr, int old_status),
791 struct ospf_neighbor *nbr, int old_status)
799 (* functab->nsm_change_hook)(nbr, old_status);
964 ospf_opaque_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
969 if ((top = oi_to_top (nbr->oi)) == NULL)
972 if (old_state != NSM_Full && nbr->state == NSM_Full)
974 if (CHECK_FLAG (nbr->options, OSPF_OPTION_O))
984 ospf_opaque_lsa_originate_schedule (nbr->oi, NULL);
988 if (old_state == NSM_Full && nbr
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
790 opaque_lsa_nsm_change_callback(list funclist, struct ospf_neighbor *nbr, int old_status) argument
1976 ospf_opaque_adjust_lsreq(struct ospf_neighbor *nbr, list lsas) argument
2088 ospf_opaque_self_originated_lsa_received(struct ospf_neighbor *nbr, list lsas) argument
2147 ospf_opaque_ls_ack_received(struct ospf_neighbor *nbr, list acks) argument
2316 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_snmp.c2032 struct ospf_neighbor *nbr;
2038 if ((nbr = rn->info) != NULL
2039 && nbr != oi->nbr_self
2040 && nbr->status != NSM_Down
2041 && nbr->src.s_addr != 0)
2043 if (IPV4_ADDR_SAME (&nbr->src, nbr_addr))
2046 return nbr;
2059 struct ospf_neighbor *nbr;
2066 if ((nbr = rn->info) != NULL
2067 && nbr !
2026 struct ospf_neighbor *nbr; local
2053 struct ospf_neighbor *nbr; local
2096 struct ospf_neighbor *nbr; local
2144 struct ospf_neighbor *nbr; local
[all...]
H A Dospfd.c305 if (nbr_nbma->nbr)
307 nbr_nbma->nbr->nbr_nbma = NULL;
308 nbr_nbma->nbr = NULL;
1307 if (nbr_nbma->nbr)
1309 nbr_nbma->nbr->nbr_nbma = NULL;
1310 OSPF_NSM_EVENT_EXECUTE (nbr_nbma->nbr, NSM_KillNbr);
1321 struct ospf_neighbor *nbr;
1328 if (nbr_nbma->nbr != NULL)
1345 nbr = rn->info;
1346 nbr
1314 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_vty.c2335 struct ospf_neighbor *nbr;
2350 nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &router_id);
2352 if (nbr)
2354 OSPF_NSM_EVENT_SCHEDULE (nbr, NSM_SeqNumberMismatch);
2538 struct ospf_neighbor *nbr;
2596 nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi));
2597 if (nbr == NULL)
2602 inet_ntoa (nbr->router_id));
2604 inet_ntoa (nbr->address.u.prefix4), VTY_NEWLINE);
2614 nbr
2321 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
2522 struct ospf_neighbor *nbr; local
2661 struct ospf_neighbor *nbr; local
2842 show_ip_ospf_neighbor_detail_sub(struct vty *vty, struct ospf_interface *oi, struct ospf_neighbor *nbr) argument
2908 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
2952 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
2983 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
3035 struct ospf_neighbor *nbr; variable in typeref:struct:ospf_neighbor
4465 struct ospf_neighbor *nbr; local
[all...]
H A Dospf_lsa.c450 struct ospf_neighbor *nbr = NULL;
454 if ((nbr = rn->info) != NULL)
456 if (!IPV4_ADDR_SAME (&nbr->router_id, &ospf_top->router_id))
457 if (nbr->state == NSM_Full)
464 return nbr;
485 struct ospf_neighbor *nbr;
491 if ((nbr = ospf_nbr_lookup_ptop (oi->nbrs, ospf_top->router_id)))
492 if (nbr->state == NSM_Full)
496 link_info_set (s, nbr->router_id, oi->address->u.prefix4,
505 link_id = nbr
443 struct ospf_neighbor *nbr = NULL; local
478 struct ospf_neighbor *nbr; local
573 struct ospf_neighbor *nbr; local
894 struct ospf_neighbor *nbr; local
2370 struct ospf_neighbor *nbr; local
2821 ospf_lsa_flush_self_originated(struct ospf_neighbor *nbr, struct ospf_lsa *self, struct ospf_lsa *new) argument
[all...]
H A Dospf_interface.c218 struct ospf_neighbor *nbr;
229 if (nbr_nbma->nbr)
231 nbr_nbma->nbr->nbr_nbma = NULL;
232 nbr_nbma->nbr = NULL;
242 if ((nbr = rn->info) != NULL)
243 if (nbr != oi->nbr_self)
244 OSPF_NSM_EVENT_EXECUTE (nbr, NSM_KillNbr);
217 struct ospf_neighbor *nbr; local
H A Dospf_te.c131 static void ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_status);
403 struct ospf_neighbor *nbr; local
417 if (((nbr = ospf_nbr_lookup_ptop (oi->nbrs, oi->area->top->router_id)))
418 && (nbr->state == NSM_Full))
420 lp->link_id.value = nbr->router_id;
427 if ((nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &DR (oi))) == NULL)
430 if (nbr->state == NSM_Full
687 ospf_mpls_te_nsm_change (struct ospf_neighbor *nbr, int old_state) argument
956 ospf_flood_through_area (area, NULL/*nbr*/, new);
1070 ospf_flood_through_area (area, NULL/*nbr*/, ne
[all...]
H A Dospf_dump.c221 ospf_nbr_state_message (struct ospf_neighbor *nbr, char *buf, size_t size)
224 struct ospf_interface *oi = nbr->oi;
226 if (IPV4_ADDR_SAME (&DR (oi), &nbr->address.u.prefix4))
228 else if (IPV4_ADDR_SAME (&BDR (oi), &nbr->address.u.prefix4))
236 LOOKUP (ospf_nsm_state_msg, nbr->state),
219 ospf_nbr_state_message(struct ospf_neighbor *nbr, char *buf, size_t size) argument
H A Dospfd.h417 struct ospf_neighbor *nbr; member in struct:ospf_nbr_nbma
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Ddebugport.c21 unsigned char nbr; member in struct:dbg_port
111 if (p->nbr == 1)
113 else if (p->nbr == 2)
115 else if (p->nbr == 3)
369 *index = port->nbr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_ism.c243 struct ospf6_neighbor *nbpi, *nbpj, myself, *nbr;
352 nbr = (struct ospf6_neighbor *)getdata (n);
353 bdr = nbr->router_id;
453 nbr = (struct ospf6_neighbor *)getdata (n);
454 dr = nbr->router_id;
241 struct ospf6_neighbor *nbpi, *nbpj, myself, *nbr; local
H A Dospf6_dbex.c458 struct ospf6_neighbor *nbr; local
525 nbr = (struct ospf6_neighbor *) getdata (m);
526 if (nbr->state == NBS_EXCHANGE || nbr->state == NBS_LOADING)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dpc300-falc-lh.h1127 #define XS(nbr) (0x70 + (nbr)) /* Tx CAS Reg (0 to 15) */
1238 #define RS(nbr) (0x70 + (nbr)) /* Rx CAS Reg (0 to 15) */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dfore200e.c243 int scheme, magn, nbr; local
251 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) {
253 struct chunk* data = &buffer[ nbr ].data;
441 int size, int nbr, int alignment)
444 chunk->alloc_size = size * nbr;
689 int size, int nbr, int alignment)
691 chunk->alloc_size = chunk->align_size = size * nbr;
2072 int scheme, magn, nbr, siz local
440 fore200e_pca_dma_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int nbr, int alignment) argument
688 fore200e_sba_dma_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int nbr, int alignment) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdchar.c673 int nbr = ret / sizeof(struct otp_info); local
674 ret = copy_to_user(argp, &nbr, sizeof(int));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dst.c3636 int segs, nbr, max_segs, b_size, order, got;
3646 nbr = max_segs - STbuffer->frp_segs;
3647 if (nbr <= 0)
3620 int segs, nbr, max_segs, b_size, order, got; local
H A Dosst.c5237 int segs, nbr, max_segs, b_size, order, got;
5248 nbr = max_segs = STbuffer->use_sg;
5249 if (nbr <= 2)
5232 int segs, nbr, max_segs, b_size, order, got; local

Completed in 268 milliseconds