Family rt-link netlink specificationΒΆ
SummaryΒΆ
Link configuration over rtnetlink.
OperationsΒΆ
newlinkΒΆ
Create a new link.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
ifname,net-ns-pid,net-ns-fd,target-netnsid,link-netnsid,linkinfo,group,num-tx-queues,num-rx-queues,address,broadcast,mtu,txqlen,operstate,linkmode,gso-max-size,gso-max-segs,gro-max-size,gso-ipv4-max-size,gro-ipv4-max-size,af-spec]
newlink-ntfΒΆ
Notify that a link has been created
- value:
16
- notify:
getlink
- fixed-header:
dellinkΒΆ
Delete an existing link.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
ifname]
getlinkΒΆ
Get / dump information about a link.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
ifname,alt-ifname,ext-mask,target-netnsid]
- reply
- attributes:
[
address,broadcast,ifname,mtu,link,qdisc,stats,cost,priority,master,wireless,protinfo,txqlen,map,weight,operstate,linkmode,linkinfo,net-ns-pid,ifalias,num-vf,vfinfo-list,stats64,vf-ports,port-self,af-spec,group,net-ns-fd,ext-mask,promiscuity,num-tx-queues,num-rx-queues,carrier,phys-port-id,carrier-changes,phys-switch-id,link-netnsid,phys-port-name,proto-down,gso-max-segs,gso-max-size,pad,xdp,event,new-netnsid,target-netnsid,carrier-up-count,carrier-down-count,new-ifindex,min-mtu,max-mtu,prop-list,perm-address,proto-down-reason,parent-dev-name,parent-dev-bus-name,gro-max-size,tso-max-size,tso-max-segs,allmulti,devlink-port,gso-ipv4-max-size,gro-ipv4-max-size]
- dump:
- request
- attributes:
[
target-netnsid,ext-mask,master,linkinfo]
- reply
- attributes:
[
address,broadcast,ifname,mtu,link,qdisc,stats,cost,priority,master,wireless,protinfo,txqlen,map,weight,operstate,linkmode,linkinfo,net-ns-pid,ifalias,num-vf,vfinfo-list,stats64,vf-ports,port-self,af-spec,group,net-ns-fd,ext-mask,promiscuity,num-tx-queues,num-rx-queues,carrier,phys-port-id,carrier-changes,phys-switch-id,link-netnsid,phys-port-name,proto-down,gso-max-segs,gso-max-size,pad,xdp,event,new-netnsid,target-netnsid,carrier-up-count,carrier-down-count,new-ifindex,min-mtu,max-mtu,prop-list,perm-address,proto-down-reason,parent-dev-name,parent-dev-bus-name,gro-max-size,tso-max-size,tso-max-segs,allmulti,devlink-port,gso-ipv4-max-size,gro-ipv4-max-size]
setlinkΒΆ
Set information about a link.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[
address,broadcast,ifname,mtu,link,qdisc,stats,cost,priority,master,wireless,protinfo,txqlen,map,weight,operstate,linkmode,linkinfo,net-ns-pid,ifalias,num-vf,vfinfo-list,stats64,vf-ports,port-self,af-spec,group,net-ns-fd,ext-mask,promiscuity,num-tx-queues,num-rx-queues,carrier,phys-port-id,carrier-changes,phys-switch-id,link-netnsid,phys-port-name,proto-down,gso-max-segs,gso-max-size,pad,xdp,event,new-netnsid,target-netnsid,carrier-up-count,carrier-down-count,new-ifindex,min-mtu,max-mtu,prop-list,perm-address,proto-down-reason,parent-dev-name,parent-dev-bus-name,gro-max-size,tso-max-size,tso-max-segs,allmulti,devlink-port,gso-ipv4-max-size,gro-ipv4-max-size]
getstatsΒΆ
Get / dump link stats.
- attribute-set:
- fixed-header:
- do:
request
- reply
- attributes:
[
link-64,link-xstats,link-xstats-slave,link-offload-xstats,af-spec]
- dump:
request
- reply
- attributes:
[
link-64,link-xstats,link-xstats-slave,link-offload-xstats,af-spec]
Multicast groupsΒΆ
rtnlgrp-link
rtnlgrp-stats
DefinitionsΒΆ
ifinfo-flagsΒΆ
- type:
flags
- header:
linux/if.h
- enum-name:
net-device-flags
- name-prefix:
iff-
- entries:
- up:
- broadcast:
- debug:
- loopback:
- point-to-point:
- no-trailers:
- running:
- no-arp:
- promisc:
- all-multi:
- master:
- slave:
- multicast:
- portsel:
- auto-media:
- dynamic:
- lower-up:
- dormant:
- echo:
vlan-protocolsΒΆ
- type:
enum
- enum-name:
None
- entries:
- 8021q:
- 8021ad:
rtgenmsgΒΆ
- type:
struct
- members:
- family (
u8):
- family (
ifinfomsgΒΆ
- type:
struct
- members:
- ifi-family (
u8): - ifi-type (
u16): - ifi-index (
s32): - ifi-flags (
u32): - ifi-change (
u32):
- ifi-family (
ifla-bridge-idΒΆ
- type:
struct
- members:
- prio (
u16): - addr (
binary):
- prio (
ifla-cacheinfoΒΆ
- type:
struct
- members:
- max-reasm-len (
u32): - tstamp (
u32): - reachable-time (
s32): - retrans-time (
u32):
- max-reasm-len (
rtnl-link-statsΒΆ
- type:
struct
- members:
- rx-packets (
u32): - tx-packets (
u32): - rx-bytes (
u32): - tx-bytes (
u32): - rx-errors (
u32): - tx-errors (
u32): - rx-dropped (
u32): - tx-dropped (
u32): - multicast (
u32): - collisions (
u32): - rx-length-errors (
u32): - rx-over-errors (
u32): - rx-crc-errors (
u32): - rx-frame-errors (
u32): - rx-fifo-errors (
u32): - rx-missed-errors (
u32): - tx-aborted-errors (
u32): - tx-carrier-errors (
u32): - tx-fifo-errors (
u32): - tx-heartbeat-errors (
u32): - tx-window-errors (
u32): - rx-compressed (
u32): - tx-compressed (
u32): - rx-nohandler (
u32):
- rx-packets (
rtnl-link-stats64ΒΆ
- type:
struct
- members:
- rx-packets (
u64): - tx-packets (
u64): - rx-bytes (
u64): - tx-bytes (
u64): - rx-errors (
u64): - tx-errors (
u64): - rx-dropped (
u64): - tx-dropped (
u64): - multicast (
u64): - collisions (
u64): - rx-length-errors (
u64): - rx-over-errors (
u64): - rx-crc-errors (
u64): - rx-frame-errors (
u64): - rx-fifo-errors (
u64): - rx-missed-errors (
u64): - tx-aborted-errors (
u64): - tx-carrier-errors (
u64): - tx-fifo-errors (
u64): - tx-heartbeat-errors (
u64): - tx-window-errors (
u64): - rx-compressed (
u64): - tx-compressed (
u64): - rx-nohandler (
u64): - rx-otherhost-dropped (
u64):
- rx-packets (
rtnl-link-ifmapΒΆ
- type:
struct
- members:
- mem-start (
u64): - mem-end (
u64): - base-addr (
u64): - irq (
u16): - dma (
u8): - port (
u8):
- mem-start (
ipv4-devconfΒΆ
- enum-name:
None
- type:
enum
- entries:
- forwarding:
- mc-forwarding:
- proxy-arp:
- accept-redirects:
- secure-redirects:
- send-redirects:
- shared-media:
- rp-filter:
- accept-source-route:
- bootp-relay:
- log-martians:
- tag:
- arpfilter:
- medium-id:
- noxfrm:
- nopolicy:
- force-igmp-version:
- arp-announce:
- arp-ignore:
- promote-secondaries:
- arp-accept:
- arp-notify:
- accept-local:
- src-vmark:
- proxy-arp-pvlan:
- route-localnet:
- igmpv2-unsolicited-report-interval:
- igmpv3-unsolicited-report-interval:
- ignore-routes-with-linkdown:
- drop-unicast-in-l2-multicast:
- drop-gratuitous-arp:
- bc-forwarding:
- arp-evict-nocarrier:
ipv6-devconfΒΆ
- enum-name:
None
- type:
enum
- entries:
- forwarding:
- hoplimit:
- mtu6:
- accept-ra:
- accept-redirects:
- autoconf:
- dad-transmits:
- rtr-solicits:
- rtr-solicit-interval:
- rtr-solicit-delay:
- use-tempaddr:
- temp-valid-lft:
- temp-prefered-lft:
- regen-max-retry:
- max-desync-factor:
- max-addresses:
- force-mld-version:
- accept-ra-defrtr:
- accept-ra-pinfo:
- accept-ra-rtr-pref:
- rtr-probe-interval:
- accept-ra-rt-info-max-plen:
- proxy-ndp:
- optimistic-dad:
- accept-source-route:
- mc-forwarding:
- disable-ipv6:
- accept-dad:
- force-tllao:
- ndisc-notify:
- mldv1-unsolicited-report-interval:
- mldv2-unsolicited-report-interval:
- suppress-frag-ndisc:
- accept-ra-from-local:
- use-optimistic:
- accept-ra-mtu:
- stable-secret:
- use-oif-addrs-only:
- accept-ra-min-hop-limit:
- ignore-routes-with-linkdown:
- drop-unicast-in-l2-multicast:
- drop-unsolicited-na:
- keep-addr-on-down:
- rtr-solicit-max-interval:
- seg6-enabled:
- seg6-require-hmac:
- enhanced-dad:
- addr-gen-mode:
- disable-policy:
- accept-ra-rt-info-min-plen:
- ndisc-tclass:
- rpl-seg-enabled:
- ra-defrtr-metric:
- ioam6-enabled:
- ioam6-id:
- ioam6-id-wide:
- ndisc-evict-nocarrier:
- accept-untracked-na:
ifla-icmp6-statsΒΆ
- enum-name:
None
- type:
enum
- entries:
- num:
- inmsgs:
- inerrors:
- outmsgs:
- outerrors:
- csumerrors:
- ratelimithost:
ifla-inet6-statsΒΆ
- enum-name:
None
- type:
enum
- entries:
- num:
- inpkts:
- inoctets:
- indelivers:
- outforwdatagrams:
- outpkts:
- outoctets:
- inhdrerrors:
- intoobigerrors:
- innoroutes:
- inaddrerrors:
- inunknownprotos:
- intruncatedpkts:
- indiscards:
- outdiscards:
- outnoroutes:
- reasmtimeout:
- reasmreqds:
- reasmoks:
- reasmfails:
- fragoks:
- fragfails:
- fragcreates:
- inmcastpkts:
- outmcastpkts:
- inbcastpkts:
- outbcastpkts:
- inmcastoctets:
- outmcastoctets:
- inbcastoctets:
- outbcastoctets:
- csumerrors:
- noectpkts:
- ect1-pkts:
- ect0-pkts:
- cepkts:
- reasm-overlaps:
br-boolopt-multiΒΆ
- type:
struct
- header:
linux/if_bridge.h
- members:
- optval (
u32): - optmask (
u32):
- optval (
if-stats-msgΒΆ
- type:
struct
- members:
- family (
u8): - ifindex (
u32): - filter-mask (
u32):
- family (
ifla-vlan-flagsΒΆ
- type:
struct
- members:
- flags (
u32): - mask (
u32):
- flags (
vlan-flagsΒΆ
- type:
flags
- enum-name:
None
- entries:
reorder-hdrgvrploose-bindingmvrpbridge-binding
ifla-vlan-qos-mappingΒΆ
- type:
struct
- members:
- from (
u32): - to (
u32):
- from (
ifla-geneve-port-rangeΒΆ
- type:
struct
- members:
- low (
u16): - high (
u16):
- low (
ifla-vf-macΒΆ
- type:
struct
- members:
- vf (
u32): - mac (
binary):
- vf (
ifla-vf-vlanΒΆ
- type:
struct
- members:
- vf (
u32): - vlan (
u32): - qos (
u32):
- vf (
ifla-vf-tx-rateΒΆ
- type:
struct
- members:
- vf (
u32): - rate (
u32):
- vf (
ifla-vf-spoofchkΒΆ
- type:
struct
- members:
- vf (
u32): - setting (
u32):
- vf (
ifla-vf-link-stateΒΆ
- type:
struct
- members:
- vf (
u32): - link-state (
u32):
- vf (
ifla-vf-link-state-enumΒΆ
- type:
enum
- enum-name:
None
- entries:
autoenabledisable
ifla-vf-rateΒΆ
- type:
struct
- members:
- vf (
u32): - min-tx-rate (
u32): - max-tx-rate (
u32):
- vf (
ifla-vf-rss-query-enΒΆ
- type:
struct
- members:
- vf (
u32): - setting (
u32):
- vf (
ifla-vf-trustΒΆ
- type:
struct
- members:
- vf (
u32): - setting (
u32):
- vf (
ifla-vf-guidΒΆ
- type:
struct
- members:
- vf (
u32): - guid (
u64):
- vf (
ifla-vf-vlan-infoΒΆ
- type:
struct
- members:
- vf (
u32): - vlan (
u32): - qos (
u32): - vlan-proto (
u32):
- vf (
rtext-filterΒΆ
- type:
flags
- enum-name:
None
- entries:
vfbrvlanbrvlan-compressedskip-statsmrpcfm-configcfm-statusmst
netkit-policyΒΆ
- type:
enum
- enum-name:
None
- entries:
- forward:
- blackhole:
netkit-modeΒΆ
- type:
enum
- enum-name:
netkit-mode
- entries:
- l2:
- l3:
netkit-scrubΒΆ
- type:
enum
- enum-name:
None
- entries:
- none:
- default:
netkit-pairingΒΆ
- type:
enum
- enum-name:
netkit-pairing
- entries:
- pair:
- single:
ovpn-modeΒΆ
- enum-name:
ovpn-mode
- name-prefix:
ovpn-mode
- type:
enum
- entries:
p2pmp
br-stp-modeΒΆ
- type:
enum
- enum-name:
br-stp-mode
- entries:
autouserkernel
Attribute setsΒΆ
link-attrsΒΆ
address (binary)ΒΆ
- display-hint:
mac
broadcast (binary)ΒΆ
- display-hint:
mac
ifname (string)ΒΆ
mtu (u32)ΒΆ
link (u32)ΒΆ
qdisc (string)ΒΆ
stats (binary)ΒΆ
- struct:
cost (unused)ΒΆ
priority (unused)ΒΆ
master (u32)ΒΆ
wireless (binary)ΒΆ
- doc:
struct iw_event
protinfo (binary)ΒΆ
- doc:
A nest of ifla6-attrs or linkinfo-brport-attrs
txqlen (u32)ΒΆ
map (binary)ΒΆ
- struct:
weight (u32)ΒΆ
operstate (u8)ΒΆ
linkmode (u8)ΒΆ
linkinfo (nest)ΒΆ
- nested-attributes:
net-ns-pid (u32)ΒΆ
ifalias (string)ΒΆ
num-vf (u32)ΒΆ
vfinfo-list (nest)ΒΆ
- nested-attributes:
- doc:
Per-VF details. The list holds at most 256 VFs, or 128 when statistics are included, because it is one attribute and has to fit in a u16 length. A device with more VFs than that reports a truncated list; num-vf still carries the real count.
stats64 (binary)ΒΆ
- struct:
vf-ports (nest)ΒΆ
- nested-attributes:
port-self (nest)ΒΆ
- nested-attributes:
af-spec (nest)ΒΆ
- nested-attributes:
group (u32)ΒΆ
net-ns-fd (u32)ΒΆ
ext-mask (u32)ΒΆ
- enum:
- enum-as-flags:
True
promiscuity (u32)ΒΆ
num-tx-queues (u32)ΒΆ
num-rx-queues (u32)ΒΆ
carrier (u8)ΒΆ
phys-port-id (binary)ΒΆ
carrier-changes (u32)ΒΆ
phys-switch-id (binary)ΒΆ
link-netnsid (s32)ΒΆ
phys-port-name (string)ΒΆ
proto-down (u8)ΒΆ
gso-max-segs (u32)ΒΆ
gso-max-size (u32)ΒΆ
pad (pad)ΒΆ
xdp (nest)ΒΆ
- nested-attributes:
event (u32)ΒΆ
new-netnsid (s32)ΒΆ
target-netnsid (s32)ΒΆ
carrier-up-count (u32)ΒΆ
carrier-down-count (u32)ΒΆ
new-ifindex (s32)ΒΆ
min-mtu (u32)ΒΆ
max-mtu (u32)ΒΆ
prop-list (nest)ΒΆ
- nested-attributes:
alt-ifname (string)ΒΆ
perm-address (binary)ΒΆ
- display-hint:
mac
proto-down-reason (string)ΒΆ
parent-dev-name (string)ΒΆ
parent-dev-bus-name (string)ΒΆ
gro-max-size (u32)ΒΆ
tso-max-size (u32)ΒΆ
tso-max-segs (u32)ΒΆ
allmulti (u32)ΒΆ
devlink-port (binary)ΒΆ
gso-ipv4-max-size (u32)ΒΆ
gro-ipv4-max-size (u32)ΒΆ
dpll-pin (nest)ΒΆ
- nested-attributes:
max-pacing-offload-horizon (uint)ΒΆ
- doc:
EDT offload horizon supported by the device (in nsec).
netns-immutable (u8)ΒΆ
headroom (u16)ΒΆ
tailroom (u16)ΒΆ
prop-list-link-attrsΒΆ
alt-ifnameΒΆ
- multi-attr:
True
af-spec-attrsΒΆ
inet (nest)ΒΆ
- value:
2
- nested-attributes:
inet6 (nest)ΒΆ
- value:
10
- nested-attributes:
mctp (nest)ΒΆ
- value:
45
- nested-attributes:
vfinfo-list-attrsΒΆ
info (nest)ΒΆ
- nested-attributes:
- multi-attr:
True
vfinfo-attrsΒΆ
mac (binary)ΒΆ
- struct:
vlan (binary)ΒΆ
- struct:
tx-rate (binary)ΒΆ
- struct:
spoofchk (binary)ΒΆ
- struct:
link-state (binary)ΒΆ
- struct:
rate (binary)ΒΆ
- struct:
rss-query-en (binary)ΒΆ
- struct:
stats (nest)ΒΆ
- nested-attributes:
trust (binary)ΒΆ
- struct:
ib-node-guid (binary)ΒΆ
- struct:
ib-port-guid (binary)ΒΆ
- struct:
vlan-list (nest)ΒΆ
- nested-attributes:
broadcast (binary)ΒΆ
vf-stats-attrsΒΆ
rx-packets (u64)ΒΆ
- value:
0
tx-packets (u64)ΒΆ
rx-bytes (u64)ΒΆ
tx-bytes (u64)ΒΆ
broadcast (u64)ΒΆ
multicast (u64)ΒΆ
pad (pad)ΒΆ
rx-dropped (u64)ΒΆ
tx-dropped (u64)ΒΆ
vf-vlan-attrsΒΆ
info (binary)ΒΆ
- struct:
- multi-attr:
True
vf-ports-attrsΒΆ
port-self-attrsΒΆ
linkinfo-attrsΒΆ
kind (string)ΒΆ
data (sub-message)ΒΆ
- sub-message:
- selector:
kind
xstats (binary)ΒΆ
slave-kind (string)ΒΆ
slave-data (sub-message)ΒΆ
- sub-message:
- selector:
slave-kind
linkinfo-bond-attrsΒΆ
mode (u8)ΒΆ
active-slave (u32)ΒΆ
miimon (u32)ΒΆ
updelay (u32)ΒΆ
downdelay (u32)ΒΆ
use-carrier (u8)ΒΆ
arp-interval (u32)ΒΆ
arp-ip-target (indexed-array)ΒΆ
- sub-type:
u32
- byte-order:
big-endian
- display-hint:
ipv4
arp-validate (u32)ΒΆ
arp-all-targets (u32)ΒΆ
primary (
primary-reselect (u8)ΒΆ
fail-over-mac (u8)ΒΆ
xmit-hash-policy (u8)ΒΆ
resend-igmp (u32)ΒΆ
num-peer-notif (u8)ΒΆ
all-slaves-active (u8)ΒΆ
min-links (u32)ΒΆ
lp-interval (u32)ΒΆ
packets-per-slave (u32)ΒΆ
ad-lacp-rate (u8)ΒΆ
ad-select (u8)ΒΆ
ad-info (nest)ΒΆ
- nested-attributes:
ad-actor-sys-prio (u16)ΒΆ
ad-user-port-key (u16)ΒΆ
ad-actor-system (binary)ΒΆ
- display-hint:
mac
tlb-dynamic-lb (u8)ΒΆ
peer-notif-delay (u32)ΒΆ
ad-lacp-active (u8)ΒΆ
missed-max (u8)ΒΆ
ns-ip6-target (indexed-array)ΒΆ
- sub-type:
binary
- display-hint:
ipv6
coupled-control (u8)ΒΆ
broadcast-neigh (u8)ΒΆ
lacp-strict (u8)ΒΆ
bond-ad-info-attrsΒΆ
aggregator (u16)ΒΆ
num-ports (u16)ΒΆ
actor-key (u16)ΒΆ
partner-key (u16)ΒΆ
partner-mac (binary)ΒΆ
- display-hint:
mac
bond-slave-attrsΒΆ
state (u8)ΒΆ
mii-status (u8)ΒΆ
link-failure-count (u32)ΒΆ
perm-hwaddr (binary)ΒΆ
- display-hint:
mac
queue-id (u16)ΒΆ
ad-aggregator-id (u16)ΒΆ
ad-actor-oper-port-state (u8)ΒΆ
ad-partner-oper-port-state (u16)ΒΆ
prio (u32)ΒΆ
linkinfo-bridge-attrsΒΆ
forward-delay (u32)ΒΆ
hello-time (u32)ΒΆ
max-age (u32)ΒΆ
ageing-time (u32)ΒΆ
stp-state (u32)ΒΆ
priority (u16)ΒΆ
vlan-filtering (u8)ΒΆ
vlan-protocol (u16)ΒΆ
group-fwd-mask (u16)ΒΆ
root-id (binary)ΒΆ
- struct:
bridge-id (binary)ΒΆ
- struct:
root-port (u16)ΒΆ
root-path-cost (u32)ΒΆ
topology-change (u8)ΒΆ
topology-change-detected (u8)ΒΆ
hello-timer (u64)ΒΆ
tcn-timer (u64)ΒΆ
topology-change-timer (u64)ΒΆ
gc-timer (u64)ΒΆ
group-addr (binary)ΒΆ
- display-hint:
mac
fdb-flush (binary)ΒΆ
mcast-router (u8)ΒΆ
mcast-snooping (u8)ΒΆ
mcast-query-use-ifaddr (u8)ΒΆ
mcast-querier (u8)ΒΆ
mcast-hash-elasticity (u32)ΒΆ
mcast-hash-max (u32)ΒΆ
mcast-last-member-cnt (u32)ΒΆ
mcast-startup-query-cnt (u32)ΒΆ
mcast-last-member-intvl (u64)ΒΆ
mcast-membership-intvl (u64)ΒΆ
mcast-querier-intvl (u64)ΒΆ
mcast-query-intvl (u64)ΒΆ
mcast-query-response-intvl (u64)ΒΆ
mcast-startup-query-intvl (u64)ΒΆ
nf-call-iptables (u8)ΒΆ
nf-call-ip6tables (u8)ΒΆ
nf-call-arptables (u8)ΒΆ
vlan-default-pvid (u16)ΒΆ
pad (pad)ΒΆ
vlan-stats-enabled (u8)ΒΆ
mcast-stats-enabled (u8)ΒΆ
mcast-igmp-version (u8)ΒΆ
mcast-mld-version (u8)ΒΆ
vlan-stats-per-port (u8)ΒΆ
multi-boolopt (binary)ΒΆ
- struct:
mcast-querier-state (binary)ΒΆ
fdb-n-learned (u32)ΒΆ
fdb-max-learned (u32)ΒΆ
stp-mode (u32)ΒΆ
- enum:
linkinfo-brport-attrsΒΆ
state (u8)ΒΆ
priority (u16)ΒΆ
cost (u32)ΒΆ
mode (u8)ΒΆ
guard (u8)ΒΆ
protect (u8)ΒΆ
fast-leave (u8)ΒΆ
learning (u8)ΒΆ
unicast-flood (u8)ΒΆ
proxyarp (u8)ΒΆ
learning-sync (u8)ΒΆ
proxyarp-wifi (u8)ΒΆ
root-id (binary)ΒΆ
- struct:
bridge-id (binary)ΒΆ
- struct:
designated-port (u16)ΒΆ
designated-cost (u16)ΒΆ
id (u16)ΒΆ
no (u16)ΒΆ
topology-change-ack (u8)ΒΆ
config-pending (u8)ΒΆ
message-age-timer (u64)ΒΆ
forward-delay-timer (u64)ΒΆ
hold-timer (u64)ΒΆ
flush (flag)ΒΆ
multicast-router (u8)ΒΆ
pad (pad)ΒΆ
mcast-flood (u8)ΒΆ
mcast-to-ucast (u8)ΒΆ
vlan-tunnel (u8)ΒΆ
bcast-flood (u8)ΒΆ
group-fwd-mask (u16)ΒΆ
neigh-suppress (u8)ΒΆ
isolated (u8)ΒΆ
backup-port (u32)ΒΆ
mrp-ring-open (u8)ΒΆ
mrp-in-open (u8)ΒΆ
mcast-eht-hosts-limit (u32)ΒΆ
mcast-eht-hosts-cnt (u32)ΒΆ
locked (u8)ΒΆ
mab (u8)ΒΆ
mcast-n-groups (u32)ΒΆ
mcast-max-groups (u32)ΒΆ
neigh-vlan-suppress (u8)ΒΆ
backup-nhid (u32)ΒΆ
neigh-forward-grat (u8)ΒΆ
linkinfo-gre-attrsΒΆ
link (u32)ΒΆ
iflags (u16)ΒΆ
- byte-order:
big-endian
oflags (u16)ΒΆ
- byte-order:
big-endian
ikey (u32)ΒΆ
- byte-order:
big-endian
okey (u32)ΒΆ
- byte-order:
big-endian
local (binary)ΒΆ
- display-hint:
ipv4-or-v6
remote (binary)ΒΆ
- display-hint:
ipv4-or-v6
ttl (u8)ΒΆ
tos (u8)ΒΆ
pmtudisc (u8)ΒΆ
encap-limit (u8)ΒΆ
flowinfo (u32)ΒΆ
- byte-order:
big-endian
flags (u32)ΒΆ
encap-type (u16)ΒΆ
encap-flags (u16)ΒΆ
encap-sport (u16)ΒΆ
- byte-order:
big-endian
encap-dport (u16)ΒΆ
- byte-order:
big-endian
collect-metadata (flag)ΒΆ
ignore-df (u8)ΒΆ
fwmark (u32)ΒΆ
erspan-index (u32)ΒΆ
erspan-ver (u8)ΒΆ
erspan-dir (u8)ΒΆ
erspan-hwid (u16)ΒΆ
linkinfo-gre6-attrsΒΆ
linkΒΆ
iflagsΒΆ
oflagsΒΆ
ikeyΒΆ
okeyΒΆ
localΒΆ
- display-hint:
ipv6
remoteΒΆ
- display-hint:
ipv6
ttlΒΆ
encap-limitΒΆ
flowinfoΒΆ
flagsΒΆ
encap-typeΒΆ
encap-flagsΒΆ
encap-sportΒΆ
encap-dportΒΆ
collect-metadataΒΆ
fwmarkΒΆ
erspan-indexΒΆ
erspan-verΒΆ
erspan-dirΒΆ
erspan-hwidΒΆ
linkinfo-vti-attrsΒΆ
link (u32)ΒΆ
ikey (u32)ΒΆ
- byte-order:
big-endian
okey (u32)ΒΆ
- byte-order:
big-endian
local (binary)ΒΆ
- display-hint:
ipv4-or-v6
remote (binary)ΒΆ
- display-hint:
ipv4-or-v6
fwmark (u32)ΒΆ
linkinfo-vti6-attrsΒΆ
linkΒΆ
ikeyΒΆ
okeyΒΆ
localΒΆ
- display-hint:
ipv6
remoteΒΆ
- display-hint:
ipv6
fwmarkΒΆ
linkinfo-geneve-attrsΒΆ
id (u32)ΒΆ
remote (u32)ΒΆ
- byte-order:
big-endian
- display-hint:
ipv4
ttl (u8)ΒΆ
tos (u8)ΒΆ
port (u16)ΒΆ
- byte-order:
big-endian
collect-metadata (flag)ΒΆ
remote6 (binary)ΒΆ
- display-hint:
ipv6
udp-csum (u8)ΒΆ
udp-zero-csum6-tx (u8)ΒΆ
udp-zero-csum6-rx (u8)ΒΆ
label (u32)ΒΆ
- byte-order:
big-endian
ttl-inherit (u8)ΒΆ
df (u8)ΒΆ
inner-proto-inherit (flag)ΒΆ
port-range (binary)ΒΆ
- struct:
gro-hint (flag)ΒΆ
local (u32)ΒΆ
- byte-order:
big-endian
- display-hint:
ipv4
local6 (binary)ΒΆ
- display-hint:
ipv6
linkinfo-hsr-attrsΒΆ
slave1 (u32)ΒΆ
slave2 (u32)ΒΆ
multicast-spec (u8)ΒΆ
supervision-addr (binary)ΒΆ
- display-hint:
mac
seq-nr (u16)ΒΆ
version (u8)ΒΆ
protocol (u8)ΒΆ
interlink (u32)ΒΆ
linkinfo-iptun-attrsΒΆ
link (u32)ΒΆ
local (binary)ΒΆ
- display-hint:
ipv4-or-v6
remote (binary)ΒΆ
- display-hint:
ipv4-or-v6
ttl (u8)ΒΆ
tos (u8)ΒΆ
encap-limit (u8)ΒΆ
flowinfo (u32)ΒΆ
- byte-order:
big-endian
flags (u16)ΒΆ
- byte-order:
big-endian
proto (u8)ΒΆ
pmtudisc (u8)ΒΆ
6rd-prefix (binary)ΒΆ
- display-hint:
ipv6
6rd-relay-prefix (u32)ΒΆ
- byte-order:
big-endian
- display-hint:
ipv4
6rd-prefixlen (u16)ΒΆ
6rd-relay-prefixlen (u16)ΒΆ
encap-type (u16)ΒΆ
encap-flags (u16)ΒΆ
encap-sport (u16)ΒΆ
- byte-order:
big-endian
encap-dport (u16)ΒΆ
- byte-order:
big-endian
collect-metadata (flag)ΒΆ
fwmark (u32)ΒΆ
linkinfo-ip6tnl-attrsΒΆ
linkΒΆ
localΒΆ
- display-hint:
ipv6
remoteΒΆ
- display-hint:
ipv6
ttlΒΆ
encap-limitΒΆ
flowinfoΒΆ
flags (u32)ΒΆ
protoΒΆ
encap-typeΒΆ
encap-flagsΒΆ
encap-sportΒΆ
encap-dportΒΆ
collect-metadataΒΆ
fwmarkΒΆ
linkinfo-tun-attrsΒΆ
owner (u32)ΒΆ
group (u32)ΒΆ
type (u8)ΒΆ
pi (u8)ΒΆ
vnet-hdr (u8)ΒΆ
persist (u8)ΒΆ
multi-queue (u8)ΒΆ
num-queues (u32)ΒΆ
num-disabled-queues (u32)ΒΆ
linkinfo-vlan-attrsΒΆ
id (u16)ΒΆ
flags (binary)ΒΆ
- struct:
egress-qos (nest)ΒΆ
- nested-attributes:
ingress-qos (nest)ΒΆ
- nested-attributes:
protocol (u16)ΒΆ
- enum:
- byte-order:
big-endian
ifla-vlan-qosΒΆ
mapping (binary)ΒΆ
- multi-attr:
True
- struct:
linkinfo-vrf-attrsΒΆ
table (u32)ΒΆ
xdp-attrsΒΆ
fd (s32)ΒΆ
attached (u8)ΒΆ
flags (u32)ΒΆ
prog-id (u32)ΒΆ
drv-prog-id (u32)ΒΆ
skb-prog-id (u32)ΒΆ
hw-prog-id (u32)ΒΆ
expected-fd (s32)ΒΆ
ifla-attrsΒΆ
conf (binary)ΒΆ
- sub-type:
u32
- doc:
u32 indexed by ipv4-devconf - 1 on output, on input itβs a nest
ifla6-attrsΒΆ
flags (u32)ΒΆ
conf (binary)ΒΆ
- sub-type:
u32
- doc:
u32 indexed by ipv6-devconf - 1 on output, on input itβs a nest
stats (binary)ΒΆ
- sub-type:
u64
mcast (binary)ΒΆ
cacheinfo (binary)ΒΆ
- struct:
icmp6stats (binary)ΒΆ
- sub-type:
u64
token (binary)ΒΆ
addr-gen-mode (u8)ΒΆ
ra-mtu (u32)ΒΆ
mctp-attrsΒΆ
net (u32)ΒΆ
phys-binding (u8)ΒΆ
stats-attrsΒΆ
link-64 (binary)ΒΆ
- struct:
link-xstats (binary)ΒΆ
link-xstats-slave (binary)ΒΆ
link-offload-xstats (nest)ΒΆ
- nested-attributes:
af-spec (binary)ΒΆ
link-offload-xstatsΒΆ
cpu-hit (binary)ΒΆ
hw-s-info (indexed-array)ΒΆ
- sub-type:
nest
- nested-attributes:
l3-stats (binary)ΒΆ
hw-s-info-oneΒΆ
request (u8)ΒΆ
used (u8)ΒΆ
link-dpll-pin-attrsΒΆ
id (u32)ΒΆ
linkinfo-netkit-attrsΒΆ
peer-info (binary)ΒΆ
primary (u8)ΒΆ
policy (u32)ΒΆ
- enum:
peer-policy (u32)ΒΆ
- enum:
mode (u32)ΒΆ
- enum:
scrub (u32)ΒΆ
- enum:
peer-scrub (u32)ΒΆ
- enum:
headroom (u16)ΒΆ
tailroom (u16)ΒΆ
pairing (u32)ΒΆ
- enum:
linkinfo-ovpn-attrsΒΆ
mode (u8)ΒΆ
- enum:
Sub-messagesΒΆ
linkinfo-data-msgΒΆ
- bond
- attribute-set:
- bridge
- attribute-set:
- erspan
- attribute-set:
- gre
- attribute-set:
- gretap
- attribute-set:
- ip6gre
- attribute-set:
- geneve
- attribute-set:
- hsr
- attribute-set:
- ipip
- attribute-set:
- ip6tnl
- attribute-set:
- sit
- attribute-set:
- tun
- attribute-set:
- vlan
- attribute-set:
- vrf
- attribute-set:
- vti
- attribute-set:
- vti6
- attribute-set:
- netkit
- attribute-set:
- ovpn
- attribute-set:
linkinfo-member-data-msgΒΆ
- bridge
- attribute-set:
- bond
- attribute-set: