Documentation ¶
Overview ¶
Package route provides a NETLINK_ROUTE socket protocol.
Index ¶
- func NewProtocol(t *kernel.Task) (netlink.Protocol, *syserr.Error)
- type Protocol
- func (p *Protocol) CanSend() bool
- func (p *Protocol) ProcessMessage(ctx context.Context, msg *netlink.Message, ms *netlink.MessageSet) *syserr.Error
- func (p *Protocol) Protocol() int
- func (p *Protocol) StateFields() []string
- func (p *Protocol) StateLoad(stateSourceObject state.Source)
- func (p *Protocol) StateSave(stateSinkObject state.Sink)
- func (p *Protocol) StateTypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Protocol ¶
type Protocol struct{}
Protocol implements netlink.Protocol.
+stateify savable
func (*Protocol) ProcessMessage ¶
func (p *Protocol) ProcessMessage(ctx context.Context, msg *netlink.Message, ms *netlink.MessageSet) *syserr.Error
ProcessMessage implements netlink.Protocol.ProcessMessage.
func (*Protocol) StateFields ¶
func (*Protocol) StateTypeName ¶
Click to show internal directories.
Click to hide internal directories.