Searched refs:bgp (Results 1 - 25 of 26) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/
H A Dbgp_network.h21 int bgp_socket (struct bgp *, unsigned short);
H A Dbgp_zebra.h22 int bgp_config_write_redistribute (struct vty *, struct bgp *, afi_t, safi_t,
24 void bgp_zebra_announce (struct prefix *, struct bgp_info *, struct bgp *);
27 int bgp_redistribute_set (struct bgp *, afi_t, int);
28 int bgp_redistribute_rmap_set (struct bgp *, afi_t, int, char *);
29 int bgp_redistribute_metric_set (struct bgp *, afi_t, int, u_int32_t);
30 int bgp_redistribute_unset (struct bgp *, afi_t, int);
31 int bgp_redistribute_routemap_unset (struct bgp *, afi_t, int);
32 int bgp_redistribute_metric_unset (struct bgp *, afi_t, int);
H A Dbgpd.c98 if (listcount (bm->bgp) > 1)
121 bgp_flag_set (struct bgp *bgp, int flag)
123 SET_FLAG (bgp->flags, flag);
128 bgp_flag_unset (struct bgp *bgp, int flag)
130 UNSET_FLAG (bgp->flags, flag);
135 bgp_flag_check (struct bgp *bgp, int flag)
137 return CHECK_FLAG (bgp
118 bgp_flag_set(struct bgp *bgp, int flag) argument
125 bgp_flag_unset(struct bgp *bgp, int flag) argument
132 bgp_flag_check(struct bgp *bgp, int flag) argument
139 bgp_config_set(struct bgp *bgp, int config) argument
145 bgp_config_unset(struct bgp *bgp, int config) argument
151 bgp_config_check(struct bgp *bgp, int config) argument
158 bgp_router_id_set(struct bgp *bgp, struct in_addr *id) argument
184 bgp_router_id_unset(struct bgp *bgp) argument
217 bgp_cluster_id_set(struct bgp *bgp, struct in_addr *cluster_id) argument
243 bgp_cluster_id_unset(struct bgp *bgp) argument
269 bgp_timers_set(struct bgp *bgp, u_int32_t keepalive, u_int32_t holdtime) argument
279 bgp_timers_unset(struct bgp *bgp) argument
289 bgp_confederation_id_set(struct bgp *bgp, as_t as) argument
343 bgp_confederation_id_unset(struct bgp *bgp) argument
369 bgp_confederation_peers_check(struct bgp *bgp, as_t as) argument
385 bgp_confederation_peers_add(struct bgp *bgp, as_t as) argument
430 bgp_confederation_peers_remove(struct bgp *bgp, as_t as) argument
484 bgp_default_local_preference_set(struct bgp *bgp, u_int32_t local_pref) argument
496 bgp_default_local_preference_unset(struct bgp *bgp) argument
628 struct bgp *bgp; local
727 peer_create(union sockunion *su, struct bgp *bgp, as_t local_as, as_t remote_as, afi_t afi, safi_t safi) argument
772 peer_create_accept(struct bgp *bgp) argument
839 peer_remote_as(struct bgp *bgp, union sockunion *su, as_t *as, afi_t afi, safi_t safi) argument
1016 struct bgp *bgp; local
1150 peer_group_lookup(struct bgp *bgp, char *name) argument
1164 peer_group_get(struct bgp *bgp, char *name) argument
1379 peer_group_remote_as(struct bgp *bgp, char *group_name, as_t *as) argument
1408 struct bgp *bgp; local
1458 peer_group_bind(struct bgp *bgp, union sockunion *su, struct peer_group *group, afi_t afi, safi_t safi, as_t *as) argument
1553 peer_group_unbind(struct bgp *bgp, struct peer *peer, struct peer_group *group, afi_t afi, safi_t safi) argument
1591 struct bgp *bgp; local
1639 struct bgp *bgp; local
1654 struct bgp *bgp; local
1668 struct bgp *bgp; local
1721 bgp_delete(struct bgp *bgp) argument
1770 peer_lookup(struct bgp *bgp, union sockunion *su) argument
1796 struct bgp *bgp; local
2893 struct bgp *bgp = peer->bgp; local
3104 struct bgp *bgp; local
3259 struct bgp *bgp; local
3415 struct bgp *bgp; local
3858 bgp_config_write_peer(struct vty *vty, struct bgp *bgp, struct peer *peer, afi_t afi, safi_t safi) argument
4207 bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi) argument
4248 struct bgp *bgp; local
[all...]
H A Dbgpd.h32 struct list *bgp; member in struct:bgp_master
51 struct bgp struct
147 struct bgp *bgp; member in struct:peer_group
227 struct bgp *bgp; member in struct:peer
692 struct bgp *bgp_get_default ();
693 struct bgp *bgp_lookup (as_t, char *);
694 struct bgp *bgp_lookup_by_name (char *);
695 struct peer *peer_lookup (struct bgp *, unio
[all...]
H A Dbgp_network.c38 /* Accept bgp connection. */
47 struct bgp *bgp;
52 bgp = THREAD_ARG (thread);
59 thread_add_read (master, bgp_accept, bgp, accept_sock);
73 peer1 = peer_lookup (bgp, &su);
93 if (! bgp)
94 bgp = peer1->bgp;
103 peer = peer_create_accept (bgp);
46 struct bgp *bgp; local
269 bgp_socket(struct bgp *bgp, unsigned short port) argument
336 bgp_socket(struct bgp *bgp, unsigned short port) argument
[all...]
H A Dbgp_zebra.c48 struct bgp *bgp;
69 LIST_LOOP (bm->bgp, bgp, nn)
72 if (! (bgp->config & BGP_CONFIG_ROUTER_ID))
73 if (ntohl (bgp->router_id.s_addr) < ntohl (addr.s_addr))
75 bgp->router_id = addr;
76 LIST_LOOP (bgp->peer, peer, nm)
171 struct bgp *bgp;
47 struct bgp *bgp; local
170 struct bgp *bgp; local
657 bgp_zebra_announce(struct prefix *p, struct bgp_info *info, struct bgp *bgp) argument
859 bgp_redistribute_set(struct bgp *bgp, afi_t afi, int type) argument
882 bgp_redistribute_rmap_set(struct bgp *bgp, afi_t afi, int type, char *name) argument
898 bgp_redistribute_metric_set(struct bgp *bgp, afi_t afi, int type, u_int32_t metric) argument
913 bgp_redistribute_unset(struct bgp *bgp, afi_t afi, int type) argument
947 bgp_redistribute_routemap_unset(struct bgp *bgp, afi_t afi, int type) argument
962 bgp_redistribute_metric_unset(struct bgp *bgp, afi_t afi, int type) argument
[all...]
H A Dbgp_route.h137 void bgp_redistribute_withdraw (struct bgp *, afi_t, int);
139 void bgp_static_delete (struct bgp *);
140 void bgp_static_update (struct bgp *, struct prefix *, struct bgp_static *,
142 void bgp_static_withdraw (struct bgp *, struct prefix *, afi_t, safi_t);
148 int bgp_config_write_network (struct vty *, struct bgp *, afi_t, safi_t, int *);
149 int bgp_config_write_distance (struct vty *, struct bgp *);
154 void bgp_aggregate_increment (struct bgp *, struct prefix *, struct bgp_info *,
156 void bgp_aggregate_decrement (struct bgp *, struct prefix *, struct bgp_info *,
159 u_char bgp_distance_apply (struct prefix *, struct bgp_info *, struct bgp *);
H A Dbgp_snmp.c264 struct bgp *bgp;
271 bgp = bgp_get_default ();
272 if (! bgp)
275 return SNMP_INTEGER (bgp->as);
281 struct bgp *bgp;
287 bgp = bgp_get_default ();
288 if (! bgp)
291 LIST_LOOP (bgp
261 struct bgp *bgp; local
278 struct bgp *bgp; local
303 struct bgp *bgp; local
586 struct bgp *bgp; local
611 bgp4PathAttrLookup(struct variable *v, oid name[], size_t *length, struct bgp *bgp, struct prefix_ipv4 *addr, int exact) argument
751 struct bgp *bgp; local
[all...]
H A Dbgp_route.c62 bgp_afi_node_get (struct bgp *bgp, afi_t afi, safi_t safi, struct prefix *p,
71 prn = bgp_node_get (bgp->rib[afi][safi], (struct prefix *) prd);
80 table = bgp->rib[afi][safi];
91 /* Allocate new bgp info structure. */
103 /* Free bgp route information. */
141 /* Get MED value. If MED value is missing and "bgp bestpath
144 bgp_med_value (struct attr *attr, struct bgp *bgp)
150 if (bgp_flag_check (bgp, BGP_FLAG_MED_MISSING_AS_WORS
61 bgp_afi_node_get(struct bgp *bgp, afi_t afi, safi_t safi, struct prefix *p, struct prefix_rd *prd) argument
142 bgp_med_value(struct attr *attr, struct bgp *bgp) argument
157 bgp_info_cmp(struct bgp *bgp, struct bgp_info *new, struct bgp_info *exist) argument
461 struct bgp *bgp; local
719 bgp_process(struct bgp *bgp, struct bgp_node *rn, afi_t afi, safi_t safi) argument
952 struct bgp *bgp; local
1244 struct bgp *bgp; local
1290 struct bgp *bgp; local
1562 struct bgp *bgp; local
1775 bgp_static_update(struct bgp *bgp, struct prefix *p, struct bgp_static *bgp_static, afi_t afi, safi_t safi) argument
1874 bgp_static_update_vpnv4(struct bgp *bgp, struct prefix *p, u_int16_t afi, u_char safi, struct prefix_rd *prd, u_char *tag) argument
1903 bgp_static_withdraw(struct bgp *bgp, struct prefix *p, afi_t afi, safi_t safi) argument
1934 bgp_static_withdraw_vpnv4(struct bgp *bgp, struct prefix *p, u_int16_t afi, u_char safi, struct prefix_rd *prd, u_char *tag) argument
1967 bgp_static_set(struct vty *vty, struct bgp *bgp, char *ip_str, u_int16_t afi, u_char safi, char *rmap, int backdoor) argument
2059 bgp_static_unset(struct vty *vty, struct bgp *bgp, char *ip_str, u_int16_t afi, u_char safi) argument
2111 bgp_static_delete(struct bgp *bgp) argument
2159 struct bgp *bgp; local
2225 struct bgp *bgp; local
2660 bgp_aggregate_route(struct bgp *bgp, struct prefix *p, struct bgp_info *rinew, afi_t afi, safi_t safi, struct bgp_info *del, struct bgp_aggregate *aggregate) argument
2841 bgp_aggregate_increment(struct bgp *bgp, struct prefix *p, struct bgp_info *ri, afi_t afi, safi_t safi) argument
2871 bgp_aggregate_decrement(struct bgp *bgp, struct prefix *p, struct bgp_info *del, afi_t afi, safi_t safi) argument
2898 bgp_aggregate_add(struct bgp *bgp, struct prefix *p, afi_t afi, safi_t safi, struct bgp_aggregate *aggregate) argument
3003 bgp_aggregate_delete(struct bgp *bgp, struct prefix *p, afi_t afi, safi_t safi, struct bgp_aggregate *aggregate) argument
3087 struct bgp *bgp; local
3134 struct bgp *bgp; local
3514 struct bgp *bgp; local
3624 struct bgp *bgp; local
3659 bgp_redistribute_withdraw(struct bgp *bgp, afi_t afi, int type) argument
4124 struct bgp *bgp; local
4554 struct bgp *bgp; local
4829 route_vty_out_detail_header(struct vty *vty, struct bgp *bgp, struct bgp_node *rn, struct prefix_rd *prd, afi_t afi, safi_t safi) argument
4923 struct bgp *bgp; local
7275 struct bgp *bgp; local
7995 bgp_distance_apply(struct prefix *p, struct bgp_info *rinfo, struct bgp *bgp) argument
8076 struct bgp *bgp; variable in typeref:struct:bgp
8096 struct bgp *bgp; variable in typeref:struct:bgp
8171 struct bgp *bgp; variable in typeref:struct:bgp
8215 struct bgp *bgp; variable in typeref:struct:bgp
8266 struct bgp *bgp; local
8411 bgp_config_write_network_vpnv4(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, int *write) argument
8452 bgp_config_write_network(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, int *write) argument
8547 bgp_config_write_distance(struct vty *vty, struct bgp *bgp) argument
[all...]
H A Dbgp_attr.h112 struct attr *bgp_attr_aggregate_intern (struct bgp *, u_char, struct aspath *, struct community *, int as_set);
113 bgp_size_t bgp_packet_attribute (struct bgp *bgp, struct peer *, struct stream *, struct attr *, struct prefix *, afi_t, safi_t, struct peer *, struct prefix_rd *, u_char *);
H A Dbgp_vty.c86 struct bgp *bgp; local
90 bgp = vty->index;
105 peer = peer_lookup (bgp, &su);
119 struct bgp *bgp; local
124 bgp = vty->index;
135 peer = peer_lookup (bgp, &su);
141 group = peer_group_lookup (bgp, peer_str);
226 "bgp multipl
307 struct bgp *bgp; variable in typeref:struct:bgp
360 struct bgp *bgp; variable in typeref:struct:bgp
376 bgp_delete (bgp); variable
402 struct bgp *bgp; variable in typeref:struct:bgp
427 struct bgp *bgp; variable in typeref:struct:bgp
447 bgp_router_id_unset (bgp); variable
470 struct bgp *bgp; variable in typeref:struct:bgp
502 struct bgp *bgp; variable in typeref:struct:bgp
517 bgp_cluster_id_unset (bgp); variable
538 struct bgp *bgp; variable in typeref:struct:bgp
558 struct bgp *bgp; variable in typeref:struct:bgp
566 bgp_confederation_id_unset (bgp); variable
588 struct bgp *bgp; variable in typeref:struct:bgp
619 struct bgp *bgp; variable in typeref:struct:bgp
644 struct bgp *bgp; variable in typeref:struct:bgp
673 struct bgp *bgp; variable in typeref:struct:bgp
676 bgp_timers_unset (bgp); variable
697 struct bgp *bgp; variable in typeref:struct:bgp
712 struct bgp *bgp; variable in typeref:struct:bgp
726 struct bgp *bgp; variable in typeref:struct:bgp
740 struct bgp *bgp; variable in typeref:struct:bgp
754 struct bgp *bgp; variable in typeref:struct:bgp
768 struct bgp *bgp; variable in typeref:struct:bgp
782 struct bgp *bgp; variable in typeref:struct:bgp
796 struct bgp *bgp; variable in typeref:struct:bgp
810 struct bgp *bgp; variable in typeref:struct:bgp
824 struct bgp *bgp; variable in typeref:struct:bgp
839 struct bgp *bgp; variable in typeref:struct:bgp
854 struct bgp *bgp; variable in typeref:struct:bgp
870 struct bgp *bgp; variable in typeref:struct:bgp
886 struct bgp *bgp; variable in typeref:struct:bgp
903 struct bgp *bgp; variable in typeref:struct:bgp
924 struct bgp *bgp; variable in typeref:struct:bgp
951 struct bgp *bgp; variable in typeref:struct:bgp
973 struct bgp *bgp; variable in typeref:struct:bgp
1000 struct bgp *bgp; variable in typeref:struct:bgp
1014 struct bgp *bgp; variable in typeref:struct:bgp
1029 struct bgp *bgp; variable in typeref:struct:bgp
1044 struct bgp *bgp; variable in typeref:struct:bgp
1059 struct bgp *bgp; variable in typeref:struct:bgp
1079 struct bgp *bgp; variable in typeref:struct:bgp
1082 bgp_default_local_preference_unset (bgp); variable
1100 struct bgp *bgp; local
1163 struct bgp *bgp; variable in typeref:struct:bgp
1395 struct bgp *bgp; variable in typeref:struct:bgp
1436 struct bgp *bgp; variable in typeref:struct:bgp
3606 bgp_clear(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, enum clear_sort sort,enum bgp_clear_type stype, char *arg) argument
3753 struct bgp *bgp; local
5905 bgp_show_summary(struct vty *vty, struct bgp *bgp, int afi, int safi) argument
5997 struct bgp *bgp; local
6421 struct bgp *bgp; local
6744 bgp_show_neighbor(struct vty *vty, struct bgp *bgp, enum show_type type, union sockunion *su) argument
6779 struct bgp *bgp; local
7592 bgp_config_write_redistribute(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, int *write) argument
[all...]
H A Dbgp_damp.h129 int bgp_damp_enable (struct bgp *, afi_t, safi_t, int, int, int, int);
130 int bgp_damp_disable (struct bgp *, afi_t, safi_t);
H A Dbgp_nexthop.c80 int bgp_process (struct bgp *, struct bgp_node *, afi_t, safi_t);
426 struct bgp *bgp;
442 /* Get default bgp. */
443 bgp = bgp_get_default ();
444 if (bgp == NULL)
448 LIST_LOOP (bgp->peer, peer, nn)
461 for (rn = bgp_table_top (bgp->rib[AFI_IP][SAFI_UNICAST]); rn;
490 bgp_aggregate_decrement (bgp, &rn->p, bi,
497 bgp_aggregate_increment (bgp,
423 struct bgp *bgp; local
522 struct bgp *bgp; local
1122 struct bgp *bgp; local
[all...]
H A Dbgp_damp.c117 struct bgp *bgp;
118 int bgp_process (struct bgp *, struct bgp_node *, afi_t, safi_t);
124 bgp = bgp_get_default ();
125 if (! bgp)
163 bgp_aggregate_increment (bgp, &bdi->rn->p, bdi->binfo,
165 bgp_process (bgp, bdi->rn, bdi->afi, bdi->safi);
443 bgp_damp_enable (struct bgp *bgp, afi_t afi, safi_t safi, int half,
446 if (CHECK_FLAG (bgp
115 struct bgp *bgp; local
441 bgp_damp_enable(struct bgp *bgp, afi_t afi, safi_t safi, int half, int reuse, int suppress, int max) argument
509 bgp_damp_disable(struct bgp *bgp, afi_t afi, safi_t safi) argument
[all...]
H A Dbgp_mplsvpn.c315 struct bgp *bgp; local
324 bgp = bgp_get_default ();
325 if (bgp == NULL)
331 for (rn = bgp_table_top (bgp->rib[AFI_IP][SAFI_MPLS_VPN]); rn;
347 inet_ntoa (bgp->router_id), VTY_NEWLINE);
410 struct bgp *bgp; local
420 bgp = bgp_get_default ();
421 if (bgp
[all...]
H A Dbgp_attr.c475 bgp_attr_aggregate_intern (struct bgp *bgp, u_char origin,
511 if (CHECK_FLAG (bgp->config, BGP_CONFIG_CONFEDERATION))
512 attr.aggregator_as = bgp->confed_id;
514 attr.aggregator_as = bgp->as;
515 attr.aggregator_addr = bgp->router_id;
522 /* Free bgp attribute and aspath. */
650 struct bgp *bgp;
680 bgp
471 bgp_attr_aggregate_intern(struct bgp *bgp, u_char origin, struct aspath *aspath, struct community *community, int as_set) argument
646 struct bgp *bgp; local
1339 bgp_packet_attribute(struct bgp *bgp, struct peer *peer, struct stream *s, struct attr *attr, struct prefix *p, afi_t afi, safi_t safi, struct peer *from, struct prefix_rd *prd, u_char *tag) argument
[all...]
H A Dbgp_dump.c78 /* BGP dump strucuture for 'dump bgp all' */
81 /* BGP dump structure for 'dump bgp updates' */
84 /* BGP dump structure for 'dump bgp routes' */
276 struct bgp *bgp;
282 bgp = bgp_get_default ();
283 if (!bgp)
290 table = bgp->rib[afi][SAFI_UNICAST];
554 "dump bgp all PATH",
565 "dump bgp al
274 struct bgp *bgp; local
[all...]
H A Dbgp_routemap.c1787 /* Add bgp route map rule. */
1812 /* Delete bgp route map rule. */
1837 /* Add bgp route map rule. */
1862 /* Delete bgp route map rule. */
1896 struct bgp *bgp;
1904 LIST_LOOP (bm->bgp, bgp, nn)
1906 LIST_LOOP (bgp->peer, peer, nm)
1928 LIST_LOOP (bgp
1869 struct bgp *bgp; local
[all...]
H A Dbgp_packet.c740 send_holdtime = peer->bgp->default_holdtime;
1058 struct bgp *bgp;
1060 bgp = bgp_get_default ();
1061 if (! bgp)
1073 LIST_LOOP (bgp->peer, peer, nn)
1300 send_holdtime = peer->bgp->default_holdtime;
1840 struct bgp *bgp;
1844 bgp
1056 struct bgp *bgp; local
1838 struct bgp *bgp; local
[all...]
H A Dbgp_fsm.c72 /* Hook function called after bgp event is occered. And vty's
304 /* Reset bgp update timer */
441 peer->v_keepalive = peer->bgp->default_keepalive;
442 peer->v_holdtime = peer->bgp->default_holdtime;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/
H A Dbt431.h205 u16 bgp = fgc ? 0x0000 : 0xffff; local
212 value = bgp;
214 value = bgp;
218 value = fgp & ~(bgp << (width % 8 << 1));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/
H A Dprint-bgp.c39 "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.118 2007-12-07 15:54:52 hannes Exp $";
51 #include "bgp.h"
55 struct bgp { struct
132 #define BGPTYPE_DPA 11 /* draft-ietf-idr-bgp-dpa */
137 #define BGPTYPE_EXTD_COMMUNITIES 16 /* draft-ietf-idr-bgp-ext-communities */
140 #define BGPTYPE_PMSI_TUNNEL 22 /* draft-ietf-l3vpn-2547bis-mcast-bgp-02.txt */
335 /* draft-ietf-l3vpn-2547bis-mcast-bgp-02.txt */
372 /* Extended community type - draft-ietf-idr-bgp-ext-communities-05 */
380 /* rfc2547 bgp-mpls-vpns */
381 #define BGP_EXT_COM_VPN_ORIGIN 0x0005 /* OSPF Domain ID / VPN of Origin - draft-rosen-vpns-ospf-bgp
2360 struct bgp bgp; local
2642 struct bgp bgp; local
2691 struct bgp bgp; local
[all...]
H A DMakefile.in75 print-atm.c print-beep.c print-bfd.c print-bgp.c \
122 bgp.h \
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/win32/prj/
H A DGNUmakefile56 ../../print-bgp.o \
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/doc/
H A Dip-cref.tex1552 \paragraph{Examples:} Let us count routes of protocol \verb|gated/bgp|
1555 kuznet@amber:~ $ ip ro ls proto gated/bgp | wc
1731 netadm@amber:~ # ip ro ls proto gated/bgp | wc
1733 netadm@amber:~ # ip -s ro f proto gated/bgp
1737 netadm@amber:~ # ip ro f proto gated/bgp
1739 netadm@amber:~ # ip ro ls proto gated/bgp

Completed in 237 milliseconds

12