/toy-tcpip-rs

[WIP] Toy TCP/IP protocol stack written in Rust

Primary LanguageDockerfileMIT LicenseMIT

[WIP] toy-tcpip

MIT license badge GitHub Actions workflow badge

Toy TCP/IP protocol stack written in Rust

This project is a Rust implementation of a TCP/IP protocol stack written in C, microps.

Features

TODO

ref: https://github.com/pandax381/microps#features

Environment

Developlment environment is based on Docker Compose.

Container environment is as follows:

  • OS: Ubuntu 20.04
  • Rust 1.71.1 stable (at 2023/08/11)

For more details, check out the Dockerfile and docker-compose.yml.

Environment Setup

Requirements

  • Docker Compose (latest)

Develop in Container

(Recommended) on Visual Studio Code with "Dev Containers"

  1. Open this project on Visual Studio Code (VS Code)
  2. Create workspace file like toy-tcpip.code-workspace
  3. Run VSCode command (cmd + shift + P keybind on macOS): Dev Containers: Rebuild Container Without Cache
  4. Start developing!

on Terminal

# in host
docker compose up -d
docker compose exec dev bash # "dev" is service name in docker-compose.yml

# in container
# start developing!

References

License

Copyright (c) 2012-2021 YAMAMOTO Masaya

toy-tcpip is licensed under the MIT License. For more details, check out the LICENSE file.