package
0.0.0-20200122091514-89924193643e
Repository: https://github.com/bio-routing/tflow2.git
Documentation: pkg.go.dev
# Functions
DecodeDot1Q decodes an 802.1q header.
DecodeEthernet decodes an EthernetII header.
No description provided by the author
No description provided by the author
No description provided by the author
DecodeUDP decodes a UDP header.
# Constants
EtherTypeARP is Address Resolution Protocol EtherType value.
EtherTypeIEEE8021Q is VLAN-tagged frame (IEEE 802.1Q) EtherType value.
EtherTypeIPv4 is Internet Protocol version 4 EtherType value.
EtherTypeIPv6 is Internet Protocol Version 6 EtherType value.
EtherTypeLACP is Link Aggregation Control Protocol EtherType value.
No description provided by the author
UDP IP protocol number.
# Variables
SizeOfDot1Q is the size of an Dot1Q header in bytes.
SizeOfEthernetII is the size of an EthernetII header in bytes.
No description provided by the author
No description provided by the author
No description provided by the author
SizeOfUDPHeader is the size of a UDP header in bytes.
# Structs
Dot1Q represents an 802.1q header.
EthernetHeader represents layer two IEEE 802.11.
No description provided by the author
No description provided by the author
No description provided by the author
UDPHeader represents a UDP header.