X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2Fodp-compat.h;h=c9d36dfebe245e79ba356156eb0a63d4836b05aa;hb=7f009380f61edda538c4c4d6333a14014258ca8f;hp=669a5216a872bc4eabbcb40a0f620c7324a4f81c;hpb=45ca68cbadc3697ac95c53939d2877c6c2a3782e;p=openvswitch diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h index 669a5216..c9d36dfe 100644 --- a/datapath/odp-compat.h +++ b/datapath/odp-compat.h @@ -15,15 +15,13 @@ #include "openvswitch/datapath-protocol.h" #include -#define ODP_PORT_LIST32 _IOWR('O', 10, struct compat_odp_portvec) +#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_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) #define ODP_EXECUTE32 _IOR('O', 18, struct compat_odp_execute) #define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow) -#define ODP_VPORT_ADD32 _IOR('O', 21, struct compat_odp_vport_add) -#define ODP_VPORT_MOD32 _IOR('O', 22, struct compat_odp_vport_mod) struct compat_odp_portvec { compat_uptr_t ports; @@ -59,17 +57,6 @@ struct compat_odp_execute { compat_uptr_t data; u32 length; }; - -struct compat_odp_vport_add { - char port_type[VPORT_TYPE_SIZE]; - char devname[16]; /* IFNAMSIZ */ - compat_uptr_t config; -}; - -struct compat_odp_vport_mod { - char devname[16]; /* IFNAMSIZ */ - compat_uptr_t config; -}; #endif /* CONFIG_COMPAT */ #endif /* odp-compat.h */