mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
missing.h : add bridge params
This commit is contained in:
parent
1f31211da9
commit
c3eae485bb
@ -321,6 +321,7 @@ AC_CHECK_DECLS([IFLA_INET6_ADDR_GEN_MODE,
|
||||
IFLA_GRE_ENCAP_DPORT,
|
||||
IFLA_BRIDGE_VLAN_INFO,
|
||||
IFLA_BRPORT_LEARNING_SYNC,
|
||||
IFLA_BR_PRIORITY,
|
||||
NDA_IFINDEX,
|
||||
IFA_FLAGS],
|
||||
[], [], [[
|
||||
|
@ -842,6 +842,19 @@ static inline int setns(int fd, int nstype) {
|
||||
#define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1)
|
||||
#endif
|
||||
|
||||
#if !HAVE_DECL_IFLA_BR_PRIORITY
|
||||
#define IFLA_BR_UNSPEC 0
|
||||
#define IFLA_BR_FORWARD_DELAY 1
|
||||
#define IFLA_BR_HELLO_TIME 2
|
||||
#define IFLA_BR_MAX_AGE 3
|
||||
#define IFLA_BR_AGEING_TIME 4
|
||||
#define IFLA_BR_STP_STATE 5
|
||||
#define IFLA_BR_PRIORITY 6
|
||||
#define __IFLA_BR_MAX 7
|
||||
|
||||
#define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
|
||||
#endif
|
||||
|
||||
#if !HAVE_DECL_IFLA_BRPORT_LEARNING_SYNC
|
||||
#define IFLA_BRPORT_UNSPEC 0
|
||||
#define IFLA_BRPORT_STATE 1
|
||||
|
Loading…
Reference in New Issue
Block a user