Commit Graph

2 Commits

Author SHA1 Message Date
zhanghongyu fdc6dbf176 netlink: add RTM_NEWADDR, RTM_DELADDR and RTM_GETADDR
We have projects that need to sense ip address changes in time,
and set ip address or clear ip address through netlink
so the relevant implementation is added.
The usage and command structure are consistent with linux

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-04-22 01:35:18 +08:00
chao.an 92259cb194 netpacket/if_addr: add interface address header
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-16 22:52:39 -08:00