From: Ben Pfaff Date: Thu, 10 Nov 2011 00:15:36 +0000 (-0800) Subject: openvswitch.h: Change OVS_KEY_ATTR_TUN_ID from 100 to 63. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b14f9f010f365083b92336c579e68d581272dc;p=openvswitch openvswitch.h: Change OVS_KEY_ATTR_TUN_ID from 100 to 63. It's useful to be able to track sets of attributes by using their values as bit indexes. That's easier if the values are all in the range of a basic C integer type. Signed-off-by: Ben Pfaff Acked-by: Jesse Gross --- diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index ea9c6f65..966ef7a0 100644 --- a/include/linux/openvswitch.h +++ b/include/linux/openvswitch.h @@ -277,7 +277,7 @@ enum ovs_key_attr { OVS_KEY_ATTR_ICMPV6, /* struct ovs_key_icmpv6 */ OVS_KEY_ATTR_ARP, /* struct ovs_key_arp */ OVS_KEY_ATTR_ND, /* struct ovs_key_nd */ - OVS_KEY_ATTR_TUN_ID = 100, /* be64 tunnel ID */ + OVS_KEY_ATTR_TUN_ID = 63, /* be64 tunnel ID */ __OVS_KEY_ATTR_MAX };