X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev.h;h=30bcf5ecc87b70971aef6ede5ffefc31d8d31290;hb=2c360fbb2777fba6d35599e4b53287e2ecb26fa9;hp=e6fadb05d0bcf9e1d26e9dbd096c1825f26de5f8;hpb=9cfcdadf934213982a0fb96a29d100e8ba0187f7;p=sliver-openvswitch.git diff --git a/lib/netdev.h b/lib/netdev.h index e6fadb05d..30bcf5ecc 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -20,6 +20,7 @@ #include #include #include +#include "openvswitch/types.h" #ifdef __cplusplus extern "C" { @@ -146,7 +147,7 @@ int netdev_add_router(struct netdev *, struct in_addr router); int netdev_get_next_hop(const struct netdev *, const struct in_addr *host, struct in_addr *next_hop, char **); int netdev_get_status(const struct netdev *, struct shash *sh); -int netdev_arp_lookup(const struct netdev *, uint32_t ip, uint8_t mac[6]); +int netdev_arp_lookup(const struct netdev *, ovs_be32 ip, uint8_t mac[6]); int netdev_get_flags(const struct netdev *, enum netdev_flags *); int netdev_set_flags(struct netdev *, enum netdev_flags, bool permanent);