diff options
author | Ethan Jackson <ethan@nicira.com> | 2013-06-18 16:40:19 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-06-27 18:23:39 -0700 |
commit | 92cfab82fc4287aa1859ae38c596bfd03fa45bd1 (patch) | |
tree | 8dbb23c1758c60db5be21a0befcc3c021802f74f /lib/bfd.h | |
parent | 8e9a73fa94560a175a211264c07c3519615edaf7 (diff) | |
download | openvswitch-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 *); |