mirror of
https://github.com/fumiama/water.git
synced 2026-06-28 16:00:26 +08: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user