diff options
author | Ben Pfaff <blp@nicira.com> | 2011-03-29 14:42:20 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-05-16 13:40:47 -0700 |
commit | dbba996be2f0d96f4d2999d51c4ef1d16809bad9 (patch) | |
tree | 1638a30b965d9ebdd9ddc5ab875b0793769b4592 /lib/netdev-provider.h | |
parent | 118c46769fce3be2c70dae494b02753c1db1780d (diff) |
Convert remaining network-byte-order "uint<N>_t"s into "ovs_be<N>"s.
I looked at almost every uint<N>_t in the tree to determine whether it was
really in network byte order, and converted the ones that were.
The only remaining ones, modulo my mistakes, are in openflow.h. I'm not
sure whether we should convert those, because there might be some value
in remaining close to upstream for this header.
Diffstat (limited to 'lib/netdev-provider.h')
-rw-r--r-- | lib/netdev-provider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index b095779c..6887e7f9 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -544,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 |