X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-provider.h;h=6887e7f95d98a20b6e857d7c399d102642b62e99;hb=aa77020c361ffba011d7ec9603caa55aaa01cd1f;hp=c6ebd2a5e1f12d5bd2407954686cb33c4536a10c;hpb=19993ef3caac9964c2bef6e31fc8699c4f4b53c8;p=sliver-openvswitch.git diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index c6ebd2a5e..6887e7f95 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -210,7 +210,8 @@ struct netdev_class { * transmission through this interface. This function may be set to null * if it would always return EOPNOTSUPP anyhow. (This will prevent the * network device from being usefully used by the netdev-based "userspace - * datapath".) */ + * datapath". It will also prevent the OVS implementation of bonding from + * working properly over 'netdev'.) */ int (*send)(struct netdev *netdev, const void *buffer, size_t size); /* Registers with the poll loop to wake up from the next call to @@ -543,7 +544,8 @@ struct netdev_class { * * This function may be set to null if it would always return EOPNOTSUPP * anyhow. */ - int (*arp_lookup)(const struct netdev *netdev, uint32_t ip, uint8_t mac[6]); + int (*arp_lookup)(const struct netdev *netdev, ovs_be32 ip, + uint8_t mac[6]); /* Retrieves the current set of flags on 'netdev' into '*old_flags'. * Then, turns off the flags that are set to 1 in 'off' and turns on the