summaryrefslogtreecommitdiff
path: root/lib/bfd.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2013-06-18 16:40:19 -0700
committerEthan Jackson <ethan@nicira.com>2013-06-27 18:23:39 -0700
commit92cfab82fc4287aa1859ae38c596bfd03fa45bd1 (patch)
tree8dbb23c1758c60db5be21a0befcc3c021802f74f /lib/bfd.h
parent8e9a73fa94560a175a211264c07c3519615edaf7 (diff)
downloadopenvswitch-92cfab82fc4287aa1859ae38c596bfd03fa45bd1.tar.gz
bfd: Reference count 'struct bfd'.
Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/bfd.h')
-rw-r--r--lib/bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bfd.h b/lib/bfd.h
index 61f9945f9..ab854d855 100644
--- a/lib/bfd.h
+++ b/lib/bfd.h
@@ -40,6 +40,8 @@ void bfd_process_packet(struct bfd *, const struct flow *,
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 *);