Diff for /embedaddon/bird/nest/bfd.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2017/08/22 12:33:54 version 1.1.1.2, 2021/03/17 19:50:23
Line 19  struct bfd_request { Line 19  struct bfd_request {
   ip_addr addr;    ip_addr addr;
   ip_addr local;    ip_addr local;
   struct iface *iface;    struct iface *iface;
     struct iface *vrf;
   
   void (*hook)(struct bfd_request *);    void (*hook)(struct bfd_request *);
   void *data;    void *data;
Line 40  struct bfd_request { Line 41  struct bfd_request {
   
 #ifdef CONFIG_BFD  #ifdef CONFIG_BFD
   
struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, void (*hook)(struct bfd_request *), void *data);struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, struct iface *vrf, void (*hook)(struct bfd_request *), void *data);
   
 static inline void cf_check_bfd(int use UNUSED) { }  static inline void cf_check_bfd(int use UNUSED) { }
   
 #else  #else
   
static inline struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, void (*hook)(struct bfd_request *), void *data) { return NULL; }static inline struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, struct iface *vrf, void (*hook)(struct bfd_request *), void *data) { return NULL; }
   
 static inline void cf_check_bfd(int use) { if (use) cf_error("BFD not available"); }  static inline void cf_check_bfd(int use) { if (use) cf_error("BFD not available"); }
   

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


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