Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator struct { PID uint16 SourceIP netip.Addr SourceLink *net.Interface SourceMAC net.HardwareAddr DestMAC net.HardwareAddr PPPoE struct { Interface *net.Interface SourceMAC net.HardwareAddr DestMAC net.HardwareAddr SessionID uint16 VLAN uint16 } }
Creator contains the options for creating a packet.
func NewCreator ¶
func NewCreator(options CreatorOpts) (Creator, error)
NewCreator returns an initialized Creator based on the given options.
Click to show internal directories.
Click to hide internal directories.