pub enum Protocol {
Show 21 variants Route, Unused, UserSock, Firewall, SockDiag, NfLog, Xfrm, SELinux, ISCSI, Audit, FibLookup, Connector, Netfilter, Ip6Fw, Decnet, KObjectUevent, Generic, ScsiTransport, Ecryptfs, Rdma, Crypto,
}
Expand description

List of netlink protocols

Variants

Route

Receives routing and link updates and may be used to modify the routing tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, queueing disciplines, traffic classes and packet classifiers (see rtnetlink(7)).

Unused

UserSock

Reserved for user-mode socket protocols.

Firewall

Transport IPv4 packets from netfilter to user space. Used by ip_queue kernel module. After a long period of being declared obsolete (in favor of the more advanced nfnetlink_queue feature), it was removed in Linux 3.5.

SockDiag

Query information about sockets of various protocol families from the kernel (see sock_diag(7)).

NfLog

Netfilter/iptables ULOG.

Xfrm

IPsec.

SELinux

SELinux event notifications.

ISCSI

Open-iSCSI.

Audit

Auditing.

FibLookup

Access to FIB lookup from user space.

Connector

Kernel connector. See Documentation/connector/* in the Linux kernel source tree for further information.

Netfilter

Netfilter subsystem.

Ip6Fw

Transport IPv6 packets from netfilter to user space. Used by ip6_queue kernel module.

Decnet

DECnet routing messages.

KObjectUevent

Kernel messages to user space.

Generic

Generic netlink family for simplified netlink usage.

ScsiTransport

SCSI transpots

Ecryptfs

Rdma

Infiniband RDMA.

Crypto

Netlink interface to request information about ciphers registered with the kernel crypto API as well as allow configuration of the kernel crypto API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.