This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
2015-01-04 11:23:12 +01:00
|
|
|
#Ethernet
|
|
|
|
---
|
2015-01-04 12:04:36 +01:00
|
|
|
protocol: ðframe
|
|
|
|
name: eth-frame
|
2015-01-04 11:23:12 +01:00
|
|
|
osilayer: 2
|
|
|
|
fields:
|
|
|
|
-
|
|
|
|
field: destination MAC
|
|
|
|
length: 6
|
|
|
|
-
|
|
|
|
field: source MAC
|
|
|
|
length: 6
|
|
|
|
-
|
|
|
|
field: vlan tag
|
|
|
|
length: 4
|
|
|
|
subfields:
|
|
|
|
-
|
|
|
|
field: tag protocol identifier (0x8100)
|
|
|
|
length: 2
|
|
|
|
-
|
|
|
|
field: tag control information
|
|
|
|
length: 2
|
|
|
|
subfields:
|
|
|
|
-
|
|
|
|
field: priority code point (PCP)
|
|
|
|
bitfield: yes
|
|
|
|
length: 3
|
|
|
|
-
|
|
|
|
field: drop eligible indicator (DEI)
|
|
|
|
bitfield: yes
|
|
|
|
length: 1
|
|
|
|
-
|
|
|
|
field: VLAN identifier (VID)
|
|
|
|
bitfield: yes
|
|
|
|
length: 12
|
|
|
|
-
|
2015-01-04 15:14:17 +01:00
|
|
|
field: protocolid
|
|
|
|
desc: Ethertype (Eth II) or length (IEEE 802.3)
|
2015-01-04 11:23:12 +01:00
|
|
|
length: 2
|
2015-01-04 15:14:17 +01:00
|
|
|
nextlayer: yes
|
2015-01-04 11:23:12 +01:00
|
|
|
-
|
|
|
|
field: data
|
|
|
|
data: true
|
|
|
|
-
|
2015-01-04 15:14:17 +01:00
|
|
|
field: CRC
|
|
|
|
desc: FCS (32-bit CRC)
|
2015-01-04 11:23:12 +01:00
|
|
|
length: 4
|
2015-01-04 15:14:17 +01:00
|
|
|
optional: yes #most network stacks compute that automatically
|