[demikernel] Enhancement: Expose Demikernel Types
@@ -12,11 +12,29 @@ extern crate log;
cfg_if::cfg_if! {
if #[cfg(feature = "catnip-libos")] {
mod catnip;
+ pub use self::catnip::DPDKBuf;
+ pub use ::catnip::operations::OperationResult as OperationResult;
} else if #[cfg(feature = "catpowder-libos")] {
mod catpowder;
+ pub use ::catnip::operations::OperationResult;
} else {
mod catnap;
+ pub use catnap::OperationResult;
}
}
+pub use self::demikernel::libos::LibOS;
+pub use ::catnip::protocols::ipv4::Ipv4Endpoint;
+pub use ::runtime::{
+ network::types::{
+ Ipv4Addr,
+ MacAddress,
+ Port16,
+ },
+ QDesc,
+ QResult,
+ QToken,
+ QType,
+};
+
pub mod demikernel;
