sd-netlink: support more rtnl attributes

This commit is contained in:
Yu Watanabe
2021-08-31 21:12:20 +09:00
parent c46bce8b5d
commit 38d3bcde5d
2 changed files with 691 additions and 339 deletions
+10
View File
@@ -34,3 +34,13 @@
#ifndef ETHERTYPE_LLDP
#define ETHERTYPE_LLDP 0x88cc
#endif
/* Not exposed but defined in linux/netdevice.h */
#ifndef MAX_PHYS_ITEM_ID_LEN
#define MAX_PHYS_ITEM_ID_LEN 32
#endif
/* Not exposed but defined in include/net/bonding.h */
#ifndef BOND_MAX_ARP_TARGETS
#define BOND_MAX_ARP_TARGETS 16
#endif