X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fopenvswitch%2Ftunnel.h;h=cf277434ebbad6f89381503612b41004c82679c7;hb=df2c07f4338faac04f4969f243fe4e8083b309ac;hp=5e2e916444a6e4a0cca2a39a80f81598654ca1c1;hpb=66409d1bccbdddd8833f74876a1e7ef250034d4e;p=openvswitch diff --git a/include/openvswitch/tunnel.h b/include/openvswitch/tunnel.h index 5e2e9164..cf277434 100644 --- a/include/openvswitch/tunnel.h +++ b/include/openvswitch/tunnel.h @@ -43,24 +43,24 @@ #include #include "openvswitch/datapath-protocol.h" -/* ODP_VPORT_ATTR_OPTIONS attributes for tunnels. +/* OVS_VPORT_ATTR_OPTIONS attributes for tunnels. * - * ODP_TUNNEL_ATTR_FLAGS and ODP_TUNNEL_ATTR_DST_IPV4 are required. All other + * OVS_TUNNEL_ATTR_FLAGS and OVS_TUNNEL_ATTR_DST_IPV4 are required. All other * attributes are optional. */ enum { - ODP_TUNNEL_ATTR_UNSPEC, - ODP_TUNNEL_ATTR_FLAGS, /* 32-bit TNL_F_*. */ - ODP_TUNNEL_ATTR_DST_IPV4, /* IPv4 destination address. */ - ODP_TUNNEL_ATTR_SRC_IPV4, /* IPv4 source address. */ - ODP_TUNNEL_ATTR_OUT_KEY, /* __be64 key to use on output. */ - ODP_TUNNEL_ATTR_IN_KEY, /* __be64 key to match on input. */ - ODP_TUNNEL_ATTR_TOS, /* 8-bit TOS value. */ - ODP_TUNNEL_ATTR_TTL, /* 8-bit TTL value. */ - __ODP_TUNNEL_ATTR_MAX + OVS_TUNNEL_ATTR_UNSPEC, + OVS_TUNNEL_ATTR_FLAGS, /* 32-bit TNL_F_*. */ + OVS_TUNNEL_ATTR_DST_IPV4, /* IPv4 destination address. */ + OVS_TUNNEL_ATTR_SRC_IPV4, /* IPv4 source address. */ + OVS_TUNNEL_ATTR_OUT_KEY, /* __be64 key to use on output. */ + OVS_TUNNEL_ATTR_IN_KEY, /* __be64 key to match on input. */ + OVS_TUNNEL_ATTR_TOS, /* 8-bit TOS value. */ + OVS_TUNNEL_ATTR_TTL, /* 8-bit TTL value. */ + __OVS_TUNNEL_ATTR_MAX }; -#define ODP_TUNNEL_ATTR_MAX (__ODP_TUNNEL_ATTR_MAX - 1) +#define OVS_TUNNEL_ATTR_MAX (__OVS_TUNNEL_ATTR_MAX - 1) #define TNL_F_CSUM (1 << 0) /* Checksum packets. */ #define TNL_F_TOS_INHERIT (1 << 1) /* Inherit the ToS from the inner packet. */