[ovs-dev] [PATCH v5 1/5] ofp-actions: Complete ofp13_action_type and add function to use instructions.

Ben Pfaff blp at nicira.com
Sun Dec 29 17:43:22 UTC 2013


On Wed, Dec 18, 2013 at 05:48:39PM +0800, Alexander Wu wrote:
> v5:
>   Merge ofp-util.def to this patch to make it work independent.
>   Fix different return type in func ovs_instruction_type_from_inst_type
>   Use OVS_NOT_REACHED now.
> 
> v4:
>   Add enums of ofp13_action_type and make them work.
> 
> v3:
>   Add func to get instruction/action name by OpenFlow instruction type directly.
> 
> Signed-off-by: Alexander Wu <alexander.wu at huawei.com>
> Signed-off-by: Ben Pfaff <blp at nicira.com>

This patch does not actually compile:

    ../lib/ofp-util.def:50:1: error: undefined identifier 'OFPUTIL_OFPAT13_OUTPUT'
    ../lib/ofp-util.def:51:1: error: undefined identifier 'OFPUTIL_OFPAT13_COPY_TTL_OUT'
    ../lib/ofp-util.def:52:1: error: undefined identifier 'OFPUTIL_OFPAT13_COPY_TTL_IN'
    ../lib/ofp-util.def:53:1: error: undefined identifier 'OFPUTIL_OFPAT13_SET_MPLS_TTL'
    ../lib/ofp-util.def:54:1: error: undefined identifier 'OFPUTIL_OFPAT13_DEC_MPLS_TTL'
    ../lib/ofp-util.def:55:1: error: undefined identifier 'OFPUTIL_OFPAT13_PUSH_VLAN'
    ../lib/ofp-util.def:56:1: error: undefined identifier 'OFPUTIL_OFPAT13_POP_VLAN'
    ../lib/ofp-util.def:57:1: error: undefined identifier 'OFPUTIL_OFPAT13_PUSH_MPLS'
    ../lib/ofp-util.def:58:1: error: undefined identifier 'OFPUTIL_OFPAT13_POP_MPLS'
    ../lib/ofp-util.def:59:1: error: undefined identifier 'OFPUTIL_OFPAT13_SET_QUEUE'
    ../lib/ofp-util.def:60:1: error: undefined identifier 'OFPUTIL_OFPAT13_GROUP'

and so on.



More information about the dev mailing list