Merge remote-tracking branch 'ovs-dev/master'
[sliver-openvswitch.git] / lib / bfd.h
index 21203b3..67d012e 100644 (file)
--- a/lib/bfd.h
+++ b/lib/bfd.h
@@ -23,6 +23,7 @@
 
 struct bfd;
 struct flow;
+struct flow_wildcards;
 struct ofpbuf;
 struct smap;
 
@@ -33,12 +34,15 @@ bool bfd_should_send_packet(const struct bfd *);
 void bfd_put_packet(struct bfd *bfd, struct ofpbuf *packet,
                     uint8_t eth_src[6]);
 
-bool bfd_should_process_flow(const struct flow *);
+bool bfd_should_process_flow(const struct bfd *, const struct flow *,
+                             struct flow_wildcards *);
 void bfd_process_packet(struct bfd *, const struct flow *,
                         const struct ofpbuf *);
 
 struct bfd *bfd_configure(struct bfd *, const char *name,
                           const struct smap *smap);
+struct bfd *bfd_ref(const struct bfd *);
+void bfd_unref(struct bfd *);
 
 bool bfd_forwarding(const struct bfd *);
 void bfd_get_status(const struct bfd *, struct smap *);