Catnip is a TCP/IP stack that focuses on being an embeddable, low-latency solution for user-space networking.
1. Clone This Repository
export WORKDIR=$HOME # Change this to whatever you want.
cd $WORKDIR # Switch to working directory.
git clone https://github.com/demikernel/catnip.git # Clone.
2. Install Prerequisites
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Get Rust toolchain.
3. Build Catnip
cd $WORKDIR/catnip # Switch to working directory.
cargo build # Build catnip.
4. Run Regression Tests
cd $WORKDIR/catnip # Switch to working directory.
cargo test -- --test-threads 1 # Run with a single-thread.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project is a prototype. As such, we provide no guarantees that it will work and you are assuming any risks with using the code. We welcome comments and feedback. Please send any questions or comments to one of the following maintainers of the project:
By sending feedback, you are consenting to your feedback being used in the further development of this project.