Diff for /embedaddon/quagga/bgpd/bgp_route.h between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 17:26:11 version 1.1.1.3, 2016/11/02 10:09:10
Line 57  struct bgp_info Line 57  struct bgp_info
   /* Extra information */    /* Extra information */
   struct bgp_info_extra *extra;    struct bgp_info_extra *extra;
       
   
     /* Multipath information */
     struct bgp_info_mpath *mpath;
   
   /* Uptime.  */    /* Uptime.  */
   time_t uptime;    time_t uptime;
   
Line 76  struct bgp_info Line 80  struct bgp_info
 #define BGP_INFO_STALE          (1 << 8)  #define BGP_INFO_STALE          (1 << 8)
 #define BGP_INFO_REMOVED        (1 << 9)  #define BGP_INFO_REMOVED        (1 << 9)
 #define BGP_INFO_COUNTED        (1 << 10)  #define BGP_INFO_COUNTED        (1 << 10)
   #define BGP_INFO_MULTIPATH      (1 << 11)
   #define BGP_INFO_MULTIPATH_CHG  (1 << 12)
   
   /* BGP route type.  This can be static, RIP, OSPF, BGP etc.  */    /* BGP route type.  This can be static, RIP, OSPF, BGP etc.  */
   u_char type;    u_char type;
Line 114  struct bgp_static Line 120  struct bgp_static
     struct route_map *map;      struct route_map *map;
   } rmap;    } rmap;
   
     /* Route Distinguisher */
     struct prefix_rd     prd;
   
   /* MPLS label.  */    /* MPLS label.  */
   u_char tag[3];    u_char tag[3];
 };  };
Line 187  extern struct bgp_info_extra *bgp_info_extra_get (stru Line 196  extern struct bgp_info_extra *bgp_info_extra_get (stru
 extern void bgp_info_set_flag (struct bgp_node *, struct bgp_info *, u_int32_t);  extern void bgp_info_set_flag (struct bgp_node *, struct bgp_info *, u_int32_t);
 extern void bgp_info_unset_flag (struct bgp_node *, struct bgp_info *, u_int32_t);  extern void bgp_info_unset_flag (struct bgp_node *, struct bgp_info *, u_int32_t);
   
extern int bgp_nlri_sanity_check (struct peer *, int, u_char *, bgp_size_t);extern int bgp_nlri_parse_ip (struct peer *, struct attr *, struct bgp_nlri *);
extern int bgp_nlri_parse (struct peer *, struct attr *, struct bgp_nlri *); 
   
 extern int bgp_maximum_prefix_overflow (struct peer *, afi_t, safi_t, int);  extern int bgp_maximum_prefix_overflow (struct peer *, afi_t, safi_t, int);
   
extern void bgp_redistribute_add (struct prefix *, struct in_addr *, u_int32_t, u_char);extern void bgp_redistribute_add (struct prefix *, const struct in_addr *,
                                   const struct in6_addr *,
                                   u_int32_t, u_char);
 extern void bgp_redistribute_delete (struct prefix *, u_char);  extern void bgp_redistribute_delete (struct prefix *, u_char);
 extern void bgp_redistribute_withdraw (struct bgp *, afi_t, int);  extern void bgp_redistribute_withdraw (struct bgp *, afi_t, int);
   
Line 201  extern void bgp_static_update (struct bgp *, struct pr Line 211  extern void bgp_static_update (struct bgp *, struct pr
                         afi_t, safi_t);                          afi_t, safi_t);
 extern void bgp_static_withdraw (struct bgp *, struct prefix *, afi_t, safi_t);  extern void bgp_static_withdraw (struct bgp *, struct prefix *, afi_t, safi_t);
                                             
extern int bgp_static_set_vpnv4 (struct vty *vty, const char *, extern int bgp_static_set_safi (safi_t safi, struct vty *vty, const char *,
                          const char *, const char *);                          const char *, const char *, const char *);
   
extern int bgp_static_unset_vpnv4 (struct vty *, const char *, extern int bgp_static_unset_safi (safi_t safi, struct vty *, const char *,
                             const char *, const char *);                              const char *, const char *);
   
 /* this is primarily for MPLS-VPN */  /* this is primarily for MPLS-VPN */
Line 232  extern safi_t bgp_node_safi (struct vty *); Line 242  extern safi_t bgp_node_safi (struct vty *);
 extern void route_vty_out (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);  extern void route_vty_out (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);
 extern void route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);  extern void route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);
 extern void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t);  extern void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t);
   
   extern void bgp_peer_clear_node_queue_drain_immediate (struct peer *peer);
   extern void bgp_process_queues_drain_immediate (void);
   
 #endif /* _QUAGGA_BGP_ROUTE_H */  #endif /* _QUAGGA_BGP_ROUTE_H */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>