X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fodp-compat.h;h=b03539aa790e0469f2379b92632dc8af8aa8755b;hb=4faaba2b90979e1106b8c9b0430481f2cc62364d;hp=5c9eb8158e44d22b099b75b09ae15838b9585120;hpb=06448753e21dcacdce11d7a7e55526561836f550;p=openvswitch diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h index 5c9eb815..b03539aa 100644 --- a/datapath/odp-compat.h +++ b/datapath/odp-compat.h @@ -16,7 +16,7 @@ #include #define ODP_VPORT_LIST32 _IOWR('O', 10, struct compat_odp_portvec) -#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flow) +#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flowvec) #define ODP_FLOW_PUT32 _IOWR('O', 14, struct compat_odp_flow) #define ODP_FLOW_LIST32 _IOWR('O', 15, struct compat_odp_flowvec) #define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow) @@ -32,7 +32,7 @@ struct compat_odp_flow { struct odp_flow_stats stats; struct odp_flow_key key; compat_uptr_t actions; - u32 n_actions; + u32 actions_len; u32 flags; }; @@ -48,7 +48,7 @@ struct compat_odp_flowvec { struct compat_odp_execute { compat_uptr_t actions; - u32 n_actions; + u32 actions_len; compat_uptr_t data; u32 length;