+--------------------------------+
| IPManager |
|+--------+ +--------+ |
|| TCPQ | -----| UDPQ | |
|+--------+ if UDP +--------+ |
| ^ / +-----------+ |
| \ / --|ICMPManager| |
| if TCP\ / -/ +-----------+ | NetworkLayer
| \/-/if ICMP | |
| ^ |<-------| |
|-----------|------|-------------|
| receive| |transmit |
| | | |
| | v |
| IPDevice | |
+--------------------|-----------+
| |
ip_read| |ip_write
+-|------------------v-----------+
| | EthernetManager |
| |
|+--------+ +-----------+|
|| ipQ | ---->|ArpManager ||
|+--------+ / +-----------+|
| ^ / / |
| \ /if arp / | LinkLayer
| if IP \ / / |
| \/ v |
| ^ | |
|---------|-------|--------------|
| receive | v transmit |
| ^ etdevice | |
+--------------------------------+
| |
tuntap_read| |tuntap_write
+-----|-------------------|------+
| | v |
| |
| Tuntap | PhysicalLayer
| |
| |
+--------------------------------+
-
Notifications
You must be signed in to change notification settings - Fork 0
zhangxm99/Myprotostack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project is based on the linux tuntap device, and builds a basic protocol stack from the bottom up
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published