Skip to content

Commit 38d3bcd

Browse files
committed
sd-netlink: support more rtnl attributes
1 parent c46bce8 commit 38d3bcd

File tree

2 files changed

+688
-336
lines changed

2 files changed

+688
-336
lines changed

src/basic/missing_network.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,13 @@
3434
#ifndef ETHERTYPE_LLDP
3535
#define ETHERTYPE_LLDP 0x88cc
3636
#endif
37+
38+
/* Not exposed but defined in linux/netdevice.h */
39+
#ifndef MAX_PHYS_ITEM_ID_LEN
40+
#define MAX_PHYS_ITEM_ID_LEN 32
41+
#endif
42+
43+
/* Not exposed but defined in include/net/bonding.h */
44+
#ifndef BOND_MAX_ARP_TARGETS
45+
#define BOND_MAX_ARP_TARGETS 16
46+
#endif

0 commit comments

Comments
 (0)