Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtherTable ¶
type EtherTable struct { SrcIp net.IP `yaml:"src_ip"` Device string `yaml:"device"` SrcMac SelfMac `yaml:"src_mac"` DstMac SelfMac `yaml:"dst_mac"` }
func AutoGetDevices ¶
func AutoGetDevices() *EtherTable
type SelfMac ¶
type SelfMac net.HardwareAddr
func (SelfMac) HardwareAddr ¶
func (d SelfMac) HardwareAddr() net.HardwareAddr
func (SelfMac) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.