aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2016-02-16 21:58:58 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-17 23:52:11 -0500
commit54bfd872bf16d40b61bd0cd9b769b2fef67dd272 (patch)
treef7be552f244d9be7eccbda77cf686f43be157739 /COPYING
parentvxlan: introduce vxlan_hdr (diff)
downloadlinux-dev-54bfd872bf16d40b61bd0cd9b769b2fef67dd272.tar.xz
linux-dev-54bfd872bf16d40b61bd0cd9b769b2fef67dd272.zip
vxlan: keep flags and vni in network byte order
Prevent repeated conversions from and to network order in the fast path. To achieve this, define all flag constants in big endian order and store VNI as __be32. To prevent confusion between the actual VNI value and the VNI field from the header (which contains additional reserved byte), strictly distinguish between "vni" and "vni_field". Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions