Family rt-addr netlink specification¶
Summary¶
Address configuration over rtnetlink.
Operations¶
newaddr¶
Add new address
- attribute-set:
- do:
- request
- attributes:
[
address,label,local,cacheinfo]
deladdr¶
Remove address
- attribute-set:
- do:
- request
- attributes:
[
address,local]
getaddr¶
Dump address information.
- attribute-set:
- dump:
- request
- attributes:
[]
- reply
- attributes:
[
address,label,local,cacheinfo]
getmulticast¶
Get / dump IPv4/IPv6 multicast addresses.
- attribute-set:
- fixed-header:
- do:
- request
- attributes:
[]
- reply
- attributes:
[
multicast,cacheinfo]
- dump:
- request
- attributes:
[]
- reply
- attributes:
[
multicast,cacheinfo]
Multicast groups¶
rtnlgrp-ipv4-ifaddr
rtnlgrp-ipv6-ifaddr
Definitions¶
ifaddrmsg¶
- type:
struct
- members:
- ifa-family (
u8): - ifa-prefixlen (
u8): - ifa-flags (
u8): - ifa-scope (
u8): - ifa-index (
u32):
- ifa-family (
ifa-cacheinfo¶
- type:
struct
- members:
- ifa-prefered (
u32): - ifa-valid (
u32): - cstamp (
u32): - tstamp (
u32):
- ifa-prefered (
ifa-flags¶
- type:
flags
- name-prefix:
ifa-f-
- enum-name:
None
- entries:
- secondary:
- nodad:
- optimistic:
- dadfailed:
- homeaddress:
- deprecated:
- tentative:
- permanent:
- managetempaddr:
- noprefixroute:
- mcautojoin:
- stable-privacy:
Attribute sets¶
addr-attrs¶
address (binary)¶
- display-hint:
ipv4
local (binary)¶
- display-hint:
ipv4
label (string)¶
broadcast (binary)¶
- display-hint:
ipv4
anycast (binary)¶
cacheinfo (binary)¶
- struct:
multicast (binary)¶
flags (u32)¶
- enum:
- enum-as-flags:
True