mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-20 00:45:09 +03:00
Moved linux specific code to the syscalls_linux.go file. Also removed unneeded constants from the syscalls_other.go file.
This commit is contained in:
parent
d2ac4607bb
commit
e3fcc2a155
4 changed files with 37 additions and 36 deletions
|
@ -8,10 +8,10 @@ TAP - MAC Frame:
|
|||
+-----------------------------------------------------------------------------
|
||||
| Octet |00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|...
|
||||
+-----------------------------------------------------------------------------
|
||||
| Field | MAC Destination | MAC Source |EType| Payload
|
||||
| Field | MAC Destination | MAC Source |EType| Payload
|
||||
+-----------------------------------------------------------------------------
|
||||
|
||||
Single-Tagged -- Octets [12,13] == {0x81, 0x00}
|
||||
Single-Tagged -- Octets [12,13] == {0x81, 0x00}
|
||||
+-----------------------------------------------------------------------------
|
||||
| Octet |00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|...
|
||||
+-----------------------------------------------------------------------------
|
||||
|
@ -22,7 +22,7 @@ TAP - MAC Frame:
|
|||
+-----------------------------------------------------------------------------
|
||||
| Octet |00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|...
|
||||
+-----------------------------------------------------------------------------
|
||||
| Field | MAC Destination | MAC Source | Outer Tag | Inner Tag | Payload
|
||||
| Field | MAC Destination | MAC Source | Outer Tag | Inner Tag | Payload
|
||||
+-----------------------------------------------------------------------------
|
||||
|
||||
TUN - IPv4 Packet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue