Documentation ¶
Overview ¶
Package uevent provides a NETLINK_KOBJECT_UEVENT socket protocol.
NETLINK_KOBJECT_UEVENT sockets send udev-style device events. gVisor does not support any device events, so these sockets never send any messages.
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.