packets: Change IP_ARGS interface to take an ovs_be32 instead of a pointer.
authorBen Pfaff <blp@nicira.com>
Wed, 12 Dec 2012 23:26:21 +0000 (15:26 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 12 Dec 2012 23:26:21 +0000 (15:26 -0800)
commited36537ebf48108accf21a8aa073279eceeafa98
treee5e11cd63c50f7fe16437609d72914502ee29aad
parent401d5a6d16438ceb2e09c19677b97504593b4b51
packets: Change IP_ARGS interface to take an ovs_be32 instead of a pointer.

An ovs_be32 is a more obvious way to represent an IP address than a
pointer to one.  It is also more type-safe, especially since "sparse" is
able to check that the argument is in network byte order.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
13 files changed:
lib/netdev-linux.c
lib/netdev-vport.c
lib/odp-util.c
lib/ofp-actions.c
lib/ofp-print.c
lib/packets.c
lib/packets.h
lib/socket-util.c
lib/stream-ssl.c
lib/stream-tcp.c
ofproto/in-band.c
tests/test-netflow.c
vswitchd/bridge.c