route

package
v0.0.0-...-e4c45ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Overview

Package route provides a NETLINK_ROUTE socket protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProtocol

func NewProtocol(t *kernel.Task) (netlink.Protocol, *syserr.Error)

NewProtocol creates a NETLINK_ROUTE netlink.Protocol.

Types

type Protocol

type Protocol struct{}

Protocol implements netlink.Protocol.

+stateify savable

func (*Protocol) CanSend

func (p *Protocol) CanSend() bool

CanSend implements netlink.Protocol.CanSend.

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) Protocol

func (p *Protocol) Protocol() int

Protocol implements netlink.Protocol.Protocol.

func (*Protocol) StateFields

func (p *Protocol) StateFields() []string

func (*Protocol) StateLoad

func (p *Protocol) StateLoad(stateSourceObject state.Source)

+checklocksignore

func (*Protocol) StateSave

func (p *Protocol) StateSave(stateSinkObject state.Sink)

+checklocksignore

func (*Protocol) StateTypeName

func (p *Protocol) StateTypeName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL