27e0f26482b69f465618a47a22bd26afc708cba3
[sliver-openvswitch.git] / lib / ofp-util.def
1 /* -*- c -*- */
2
3 #ifndef OFPAT_ACTION
4 #define OFPAT_ACTION(ENUM, STRUCT, NAME)
5 #endif
6 OFPAT_ACTION(OFPAT_OUTPUT,       ofp_action_output,   "output")
7 OFPAT_ACTION(OFPAT_SET_VLAN_VID, ofp_action_vlan_vid, "mod_vlan_vid")
8 OFPAT_ACTION(OFPAT_SET_VLAN_PCP, ofp_action_vlan_pcp, "mod_vlan_pcp")
9 OFPAT_ACTION(OFPAT_STRIP_VLAN,   ofp_action_header,   "strip_vlan")
10 OFPAT_ACTION(OFPAT_SET_DL_SRC,   ofp_action_dl_addr,  "mod_dl_src")
11 OFPAT_ACTION(OFPAT_SET_DL_DST,   ofp_action_dl_addr,  "mod_dl_dst")
12 OFPAT_ACTION(OFPAT_SET_NW_SRC,   ofp_action_nw_addr,  "mod_nw_src")
13 OFPAT_ACTION(OFPAT_SET_NW_DST,   ofp_action_nw_addr,  "mod_nw_dst")
14 OFPAT_ACTION(OFPAT_SET_NW_TOS,   ofp_action_nw_tos,   "mod_nw_tos")
15 OFPAT_ACTION(OFPAT_SET_TP_SRC,   ofp_action_tp_port,  "mod_tp_src")
16 OFPAT_ACTION(OFPAT_SET_TP_DST,   ofp_action_tp_port,  "mod_tp_dst")
17 OFPAT_ACTION(OFPAT_ENQUEUE,      ofp_action_enqueue,  "enqueue")
18 #undef OFPAT_ACTION
19
20 #ifndef NXAST_ACTION
21 #define NXAST_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME)
22 #endif
23 NXAST_ACTION(NXAST_RESUBMIT,       nx_action_resubmit,     0, "resubmit")
24 NXAST_ACTION(NXAST_SET_TUNNEL,     nx_action_set_tunnel,   0, "set_tunnel")
25 NXAST_ACTION(NXAST_SET_QUEUE,      nx_action_set_queue,    0, "set_queue")
26 NXAST_ACTION(NXAST_POP_QUEUE,      nx_action_pop_queue,    0, "pop_queue")
27 NXAST_ACTION(NXAST_REG_MOVE,       nx_action_reg_move,     0, "move")
28 NXAST_ACTION(NXAST_REG_LOAD,       nx_action_reg_load,     0, "load")
29 NXAST_ACTION(NXAST_NOTE,           nx_action_note,         1, "note")
30 NXAST_ACTION(NXAST_SET_TUNNEL64,   nx_action_set_tunnel64, 0, "set_tunnel64")
31 NXAST_ACTION(NXAST_MULTIPATH,      nx_action_multipath,    0, "multipath")
32 NXAST_ACTION(NXAST_AUTOPATH,       nx_action_autopath,     0, "autopath")
33 NXAST_ACTION(NXAST_BUNDLE,         nx_action_bundle,       1, "bundle")
34 NXAST_ACTION(NXAST_BUNDLE_LOAD,    nx_action_bundle,       1, "bundle_load")
35 NXAST_ACTION(NXAST_RESUBMIT_TABLE, nx_action_resubmit,     0, NULL)
36 NXAST_ACTION(NXAST_OUTPUT_REG,     nx_action_output_reg,   0, NULL)
37 NXAST_ACTION(NXAST_LEARN,          nx_action_learn,        1, "learn")
38 NXAST_ACTION(NXAST_EXIT,           nx_action_header,       0, "exit")
39 NXAST_ACTION(NXAST_DEC_TTL,        nx_action_header,       0, "dec_ttl")
40 NXAST_ACTION(NXAST_FIN_TIMEOUT,    nx_action_fin_timeout,  0, "fin_timeout")
41 #undef NXAST_ACTION