MCPcopy
hub / github.com/golang/net / InterfaceAnnounceMessage

Struct InterfaceAnnounceMessage

route/interface.go:53–61  ·  view source on GitHub ↗

An InterfaceAnnounceMessage represents an interface announcement message.

Source from the content-addressed store, hash-verified

51// An InterfaceAnnounceMessage represents an interface announcement
52// message.
53type InterfaceAnnounceMessage struct {
54 Version int // message version
55 Type int // message type
56 Index int // interface index
57 Name string // interface name
58 What int // what type of announcement
59
60 raw []byte // raw message
61}
62
63// Sys implements the Sys method of Message interface.
64func (m *InterfaceAnnounceMessage) Sys() []Sys { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected