From: Ben Pfaff Date: Mon, 22 Mar 2010 19:40:22 +0000 (-0700) Subject: Renumber ODP actions to avoid gap. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=96b83015102f85ff8aa4eac39a7dbd0bece651ef;p=sliver-openvswitch.git Renumber ODP actions to avoid gap. --- diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index a23fb6493..9ee689e4b 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -245,15 +245,15 @@ struct odp_flowvec { #define ODPAT_OUTPUT_GROUP 1 /* Output to all ports in group. */ #define ODPAT_CONTROLLER 2 /* Send copy to controller. */ #define ODPAT_SET_DL_TCI 3 /* Set the 802.1q VLAN VID and/or PCP. */ -#define ODPAT_STRIP_VLAN 5 /* Strip the 802.1q header. */ -#define ODPAT_SET_DL_SRC 6 /* Ethernet source address. */ -#define ODPAT_SET_DL_DST 7 /* Ethernet destination address. */ -#define ODPAT_SET_NW_SRC 8 /* IP source address. */ -#define ODPAT_SET_NW_DST 9 /* IP destination address. */ -#define ODPAT_SET_NW_TOS 10 /* IP ToS/DSCP field (6 bits). */ -#define ODPAT_SET_TP_SRC 11 /* TCP/UDP source port. */ -#define ODPAT_SET_TP_DST 12 /* TCP/UDP destination port. */ -#define ODPAT_N_ACTIONS 13 +#define ODPAT_STRIP_VLAN 4 /* Strip the 802.1q header. */ +#define ODPAT_SET_DL_SRC 5 /* Ethernet source address. */ +#define ODPAT_SET_DL_DST 6 /* Ethernet destination address. */ +#define ODPAT_SET_NW_SRC 7 /* IP source address. */ +#define ODPAT_SET_NW_DST 8 /* IP destination address. */ +#define ODPAT_SET_NW_TOS 9 /* IP ToS/DSCP field (6 bits). */ +#define ODPAT_SET_TP_SRC 10 /* TCP/UDP source port. */ +#define ODPAT_SET_TP_DST 11 /* TCP/UDP destination port. */ +#define ODPAT_N_ACTIONS 12 struct odp_action_output { __u16 type; /* ODPAT_OUTPUT. */