X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-util.def;h=8739ac0707f5c405147c3d673b033099a75d2ffd;hb=1158389afa233c7191ba8f53820d7b128d9347fe;hp=2958eb6ed1110b3cd98fa81764f1717af77cee6c;hpb=848e88098fec85336b89c0c652c1d91577c87b11;p=sliver-openvswitch.git diff --git a/lib/ofp-util.def b/lib/ofp-util.def index 2958eb6ed..8739ac070 100644 --- a/lib/ofp-util.def +++ b/lib/ofp-util.def @@ -1,21 +1,21 @@ /* -*- c -*- */ -#ifndef OFPAT_ACTION -#define OFPAT_ACTION(ENUM, STRUCT, NAME) +#ifndef OFPAT10_ACTION +#define OFPAT10_ACTION(ENUM, STRUCT, NAME) #endif -OFPAT_ACTION(OFPAT_OUTPUT, ofp_action_output, "output") -OFPAT_ACTION(OFPAT_SET_VLAN_VID, ofp_action_vlan_vid, "mod_vlan_vid") -OFPAT_ACTION(OFPAT_SET_VLAN_PCP, ofp_action_vlan_pcp, "mod_vlan_pcp") -OFPAT_ACTION(OFPAT_STRIP_VLAN, ofp_action_header, "strip_vlan") -OFPAT_ACTION(OFPAT_SET_DL_SRC, ofp_action_dl_addr, "mod_dl_src") -OFPAT_ACTION(OFPAT_SET_DL_DST, ofp_action_dl_addr, "mod_dl_dst") -OFPAT_ACTION(OFPAT_SET_NW_SRC, ofp_action_nw_addr, "mod_nw_src") -OFPAT_ACTION(OFPAT_SET_NW_DST, ofp_action_nw_addr, "mod_nw_dst") -OFPAT_ACTION(OFPAT_SET_NW_TOS, ofp_action_nw_tos, "mod_nw_tos") -OFPAT_ACTION(OFPAT_SET_TP_SRC, ofp_action_tp_port, "mod_tp_src") -OFPAT_ACTION(OFPAT_SET_TP_DST, ofp_action_tp_port, "mod_tp_dst") -OFPAT_ACTION(OFPAT_ENQUEUE, ofp_action_enqueue, "enqueue") -#undef OFPAT_ACTION +OFPAT10_ACTION(OFPAT10_OUTPUT, ofp_action_output, "output") +OFPAT10_ACTION(OFPAT10_SET_VLAN_VID, ofp_action_vlan_vid, "mod_vlan_vid") +OFPAT10_ACTION(OFPAT10_SET_VLAN_PCP, ofp_action_vlan_pcp, "mod_vlan_pcp") +OFPAT10_ACTION(OFPAT10_STRIP_VLAN, ofp_action_header, "strip_vlan") +OFPAT10_ACTION(OFPAT10_SET_DL_SRC, ofp_action_dl_addr, "mod_dl_src") +OFPAT10_ACTION(OFPAT10_SET_DL_DST, ofp_action_dl_addr, "mod_dl_dst") +OFPAT10_ACTION(OFPAT10_SET_NW_SRC, ofp_action_nw_addr, "mod_nw_src") +OFPAT10_ACTION(OFPAT10_SET_NW_DST, ofp_action_nw_addr, "mod_nw_dst") +OFPAT10_ACTION(OFPAT10_SET_NW_TOS, ofp_action_nw_tos, "mod_nw_tos") +OFPAT10_ACTION(OFPAT10_SET_TP_SRC, ofp_action_tp_port, "mod_tp_src") +OFPAT10_ACTION(OFPAT10_SET_TP_DST, ofp_action_tp_port, "mod_tp_dst") +OFPAT10_ACTION(OFPAT10_ENQUEUE, ofp_action_enqueue, "enqueue") +#undef OFPAT10_ACTION #ifndef NXAST_ACTION #define NXAST_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) @@ -36,4 +36,7 @@ NXAST_ACTION(NXAST_RESUBMIT_TABLE, nx_action_resubmit, 0, NULL) NXAST_ACTION(NXAST_OUTPUT_REG, nx_action_output_reg, 0, NULL) NXAST_ACTION(NXAST_LEARN, nx_action_learn, 1, "learn") NXAST_ACTION(NXAST_EXIT, nx_action_header, 0, "exit") +NXAST_ACTION(NXAST_DEC_TTL, nx_action_header, 0, "dec_ttl") +NXAST_ACTION(NXAST_FIN_TIMEOUT, nx_action_fin_timeout, 0, "fin_timeout") +NXAST_ACTION(NXAST_CONTROLLER, nx_action_controller, 0, "controller") #undef NXAST_ACTION