X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev.h;h=30bcf5ecc87b70971aef6ede5ffefc31d8d31290;hb=dbba996be2f0d96f4d2999d51c4ef1d16809bad9;hp=e6fadb05d0bcf9e1d26e9dbd096c1825f26de5f8;hpb=118c46769fce3be2c70dae494b02753c1db1780d;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);