A TCP/IP stack written in OCaml, based on linux tap device.
Install tuntap from tuntaposx
Create a bridge with member en0
. Then build and run the driver program.
The tap0
device will be added to the bridge, and get an IP address from the DHCP Server.
$ sudo ifconfig bridge1 create
$ sudo ifconfig bridge1 addm en0
$ sudo ./build src/driver.native
$ sudo ./driver.native
- Ethernet
- ARP
- IPV4
- UDP
- DHCP
- ICMP
- TCP
- State Transition
- Connection Management
- Flow Control
- Congestion Control
MIT License