Documentation
¶
Overview ¶
Package batadvvis provides types for "vis" packets containing "batman-adv" protocol related metadata distributed via the A.L.F.R.E.D. daemon
Index ¶
Constants ¶
View Source
const ( // A.L.F.R.E.D. packet type ID for vis data PACKETTYPE = 1 // A.L.F.R.E.D. packet version for vis data PACKETVERSION = 1 )
Variables ¶
View Source
var ErrParse = errors.New("parse error")
Functions ¶
This section is empty.
Types ¶
type Iface ¶
type Iface struct {
Mac alfred.HardwareAddr
}
type VisV1 ¶
type VisV1 struct { Mac alfred.HardwareAddr Iface_n uint8 Entries_n uint8 Ifaces []Iface Entries []Entry }
vis data item
func (*VisV1) GetPacketType ¶
Click to show internal directories.
Click to hide internal directories.