Family rt-addr
netlink specification¶
Contents
Operations¶
newaddr¶
Add new address
- attribute-set
- do
- request
- attributes
[
ifa-family
,ifa-flags
,ifa-prefixlen
,ifa-scope
,ifa-index
,address
,label
,local
,cacheinfo
]
deladdr¶
Remove address
- attribute-set
- do
- request
- attributes
[
ifa-family
,ifa-flags
,ifa-prefixlen
,ifa-scope
,ifa-index
,address
,local
]
getaddr¶
Dump address information.
- attribute-set
- dump
- request
- attributes
[
ifa-index
]
- reply
- attributes
[
ifa-family
,ifa-flags
,ifa-prefixlen
,ifa-scope
,ifa-index
,address
,label
,local
,cacheinfo
]
getmulticast¶
Get / dump IPv4/IPv6 multicast addresses.
- attribute-set
- fixed-header
- do
- request
- attributes
[
ifa-family
,ifa-index
]
- reply
- attributes
[
multicast
,cacheinfo
]
- dump
- request
- attributes
[
ifa-family
]
- 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 (