Documentation ¶
Index ¶
- func Ipv4File() string
- type DanceData
- func (d *DanceData) AddEntry(mac net.HardwareAddr, entry *facility.DanceEntry) error
- func (d *DanceData) GetEntries() (map[uint64]*facility.DanceEntry, error)
- func (d *DanceData) GetEntry(mac net.HardwareAddr) *facility.DanceEntry
- func (d *DanceData) GetMacByName(name string) (net.HardwareAddr, error)
- func (d *DanceData) RemoveEntry(mac net.HardwareAddr) error
- type Ipv4Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DanceData ¶
type DanceData struct {
// contains filtered or unexported fields
}
func NewDanceData ¶
func (*DanceData) AddEntry ¶
func (d *DanceData) AddEntry(mac net.HardwareAddr, entry *facility.DanceEntry) error
func (*DanceData) GetEntries ¶
func (d *DanceData) GetEntries() (map[uint64]*facility.DanceEntry, error)
return a copy of all entries in storage
func (*DanceData) GetEntry ¶ added in v1.0.15
func (d *DanceData) GetEntry(mac net.HardwareAddr) *facility.DanceEntry
func (*DanceData) GetMacByName ¶
func (d *DanceData) GetMacByName(name string) (net.HardwareAddr, error)
return MAC for the given name
func (*DanceData) RemoveEntry ¶
func (d *DanceData) RemoveEntry(mac net.HardwareAddr) error
Click to show internal directories.
Click to hide internal directories.