X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fodp-compat.h;h=b18c31a6fc5db50f2c815f40ef36d910c70cd87f;hb=d656937779f5b987ec021c21189a0deab29fd64d;hp=bccfaf9da485ece097d6ecd61f7bfbfe9a4394eb;hpb=693c4a01124ec5ad9253f8cfcfd99075a9d637f6;p=openvswitch diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h index bccfaf9d..b18c31a6 100644 --- a/datapath/odp-compat.h +++ b/datapath/odp-compat.h @@ -15,32 +15,11 @@ #include "openvswitch/datapath-protocol.h" #include -#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flow) -#define ODP_FLOW_PUT32 _IOWR('O', 14, struct compat_odp_flow) -#define ODP_FLOW_DUMP32 _IOWR('O', 15, struct compat_odp_flow_dump) -#define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow) #define ODP_EXECUTE32 _IOR('O', 18, struct compat_odp_execute) -#define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow) - -struct compat_odp_flow { - struct odp_flow_stats stats; - compat_uptr_t key; - u32 key_len; - compat_uptr_t actions; - u32 actions_len; -}; - -struct compat_odp_flow_put { - struct compat_odp_flow flow; - u32 flags; -}; - -struct compat_odp_flow_dump { - compat_uptr_t flow; - uint32_t state[2]; -}; struct compat_odp_execute { + uint32_t dp_idx; + compat_uptr_t actions; u32 actions_len;