mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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.
This commit is contained in:
@@ -846,7 +846,7 @@ netdev_turn_flags_off(struct netdev *netdev, enum netdev_flags flags,
|
||||
* ENXIO indicates that there is no ARP table entry for 'ip' on 'netdev'. */
|
||||
int
|
||||
netdev_arp_lookup(const struct netdev *netdev,
|
||||
uint32_t ip, uint8_t mac[ETH_ADDR_LEN])
|
||||
ovs_be32 ip, uint8_t mac[ETH_ADDR_LEN])
|
||||
{
|
||||
int error = (netdev_get_dev(netdev)->netdev_class->arp_lookup
|
||||
? netdev_get_dev(netdev)->netdev_class->arp_lookup(netdev,
|
||||
|
Reference in New Issue
Block a user