]> git.proxmox.com Git - ovs.git/commit
ofp-actions: Store cookie in network byte order in struct ofpact_learn.
authorBen Pfaff <blp@nicira.com>
Thu, 5 Jun 2014 22:27:31 +0000 (15:27 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Jun 2014 20:54:47 +0000 (13:54 -0700)
commit80771642ad7d3627eb691775e7ed6f7d0b29e237
tree4d961ccbb67dc930ce4c2cec7700acd90c10f175
parent3d6832c2bdf5070ca92963830517587e1bc8b2a2
ofp-actions: Store cookie in network byte order in struct ofpact_learn.

Most other code in Open vSwitch that works with flow cookies keeps them
in network byte order.  Using network byte order in struct ofpact_learn,
also, reduces the number of byte order conversions needed across the
source tree.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
lib/learn.c
lib/ofp-actions.h