netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git] / lib / bfd.h
index 19d294f..6a1d547 100644 (file)
--- a/lib/bfd.h
+++ b/lib/bfd.h
@@ -36,13 +36,14 @@ void bfd_run(struct bfd *);
 
 bool bfd_should_send_packet(const struct bfd *);
 void bfd_put_packet(struct bfd *bfd, struct dp_packet *packet,
-                    uint8_t eth_src[ETH_ADDR_LEN]);
+                    const struct eth_addr eth_src);
 
 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 dp_packet *);
 
+void bfd_init(void);
 struct bfd *bfd_configure(struct bfd *, const char *name,
                           const struct smap *smap,
                           struct netdev *netdev);