X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbfd.h;h=4e7d4cb466bf32fa5daf7423bbf21f34e5066fb3;hb=2d04b6ea214daf96020ce5ca994fcb5380556247;hp=0e1e33d0935da3623777436570418d66dd6dbe38;hpb=c1c4e8c76912a597a6ad964f7b80fc9f63caa7f3;p=sliver-openvswitch.git diff --git a/lib/bfd.h b/lib/bfd.h index 0e1e33d09..4e7d4cb46 100644 --- a/lib/bfd.h +++ b/lib/bfd.h @@ -22,6 +22,7 @@ #include struct bfd; +struct dpif_flow_stats; struct flow; struct flow_wildcards; struct netdev; @@ -46,8 +47,9 @@ struct bfd *bfd_configure(struct bfd *, const char *name, struct bfd *bfd_ref(const struct bfd *); void bfd_unref(struct bfd *); -bool bfd_forwarding(const struct bfd *); +void bfd_account_rx(struct bfd *, const struct dpif_flow_stats *); +bool bfd_forwarding(struct bfd *); void bfd_get_status(const struct bfd *, struct smap *); void bfd_set_netdev(struct bfd *, const struct netdev *); - +long long int bfd_wake_time(const struct bfd *); #endif /* bfd.h */