X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.0.h;h=d71b007e809610af0cd61f28e553eff43802226e;hb=626186c3bea6b07442632684eacf4d02545fa05f;hp=039eb6beae94c0b599eefab1af293e0603d2a8ac;hpb=d01c980ffe0d61497298a9f907ff93fe1751e2bd;p=openvswitch diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h index 039eb6be..d71b007e 100644 --- a/include/openflow/openflow-1.0.h +++ b/include/openflow/openflow-1.0.h @@ -240,11 +240,6 @@ struct ofp10_action_output { }; OFP_ASSERT(sizeof(struct ofp10_action_output) == 8); -/* The VLAN id is 12 bits, so we can use the entire 16 bits to indicate - * special conditions. All ones is used to match that no VLAN id was - * set. */ -#define OFP_VLAN_NONE 0xffff - /* Action header for OFPAT10_VENDOR. The rest of the body is vendor-defined. */ struct ofp_action_vendor_header { ovs_be16 type; /* OFPAT10_VENDOR. */ @@ -369,7 +364,7 @@ enum ofp_flow_wildcards { /* The VLAN id is 12-bits, so we can use the entire 16 bits to indicate * special conditions. All ones indicates that no VLAN id was set. */ -#define OFP_VLAN_NONE 0xffff +#define OFP10_VLAN_NONE 0xffff /* Fields to match against flows */ struct ofp10_match {