Versions in this module Expand all Collapse all v0 v0.6.5 Aug 28, 2018 v0.5.0 Jan 11, 2018 v0.4.1 Jul 26, 2017 v0.3.2 Jun 23, 2017 v0.3.1 May 4, 2017 v0.3.0 Apr 7, 2017 Changes in this version + const EtherTypeARP + const EtherTypeIEEE8021Q + const EtherTypeIPv4 + const EtherTypeIPv6 + const EtherTypeLACP + const IANAProtoICMP + const IANAProtoTCP + const IANAProtoUDP + const IPv4HLen + const IPv6HLen + type Datalink struct + DstMAC string + EtherType uint16 + SrcMAC string + Vlan int + type ICMP struct + Code int + Type int + type IPv4Header struct + Checksum int + Dst string + Flags int + FragOff int + ID int + Protocol int + Src string + TOS int + TTL int + TotalLen int + Version int + type IPv6Header struct + Dst string + FlowLabel int + HopLimit int + NextHeader int + PayloadLen int + Src string + TrafficClass int + Version int + type Packet struct + L2 Datalink + L3 interface{} + L4 interface{} + func NewPacket() Packet + func (p *Packet) Decoder(data []byte) (*Packet, error) + type TCPHeader struct + DataOffset int + DstPort int + Flags int + Reserved int + SrcPort int + type UDPHeader struct + DstPort int + SrcPort int