X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fodp-compat.h;h=5c9eb8158e44d22b099b75b09ae15838b9585120;hb=dab45bfd5748e7d871ae312df6e9b7ce89a8f46c;hp=fc6faa5346f29de8cef4fedb30ec1ff8cbcd4359;hpb=f1588b1fa1be46231ee079358e428dae74ff09cc;p=openvswitch diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h index fc6faa53..5c9eb815 100644 --- a/datapath/odp-compat.h +++ b/datapath/odp-compat.h @@ -22,8 +22,6 @@ #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; @@ -49,27 +47,12 @@ struct compat_odp_flowvec { }; struct compat_odp_execute { - u16 in_port; - u16 reserved1; - u32 reserved2; - compat_uptr_t actions; u32 n_actions; 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 */