Documentation ¶
Index ¶
Constants ¶
View Source
const IPHeaderSize = 20
View Source
const ProtocolTCP = 8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthFrame ¶
type EthFrame struct { *EthernetHeader Body interface{} }
type EthernetHeader ¶
type IPFragment ¶
type IPFragment struct { *IPHeader Body interface{} }
func ParseIPFragment ¶
func ParseIPFragment(buf io.Reader, h *EthernetHeader) (*IPFragment, error)
Click to show internal directories.
Click to hide internal directories.