bridge: convert flags in fbd entry into bitfields
Suggested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b7485f6b03
commit
93859b13fa
|
@ -98,9 +98,9 @@ struct net_bridge_fdb_entry
|
||||||
unsigned long updated;
|
unsigned long updated;
|
||||||
unsigned long used;
|
unsigned long used;
|
||||||
mac_addr addr;
|
mac_addr addr;
|
||||||
unsigned char is_local;
|
unsigned char is_local:1,
|
||||||
unsigned char is_static;
|
is_static:1,
|
||||||
unsigned char added_by_user;
|
added_by_user:1;
|
||||||
__u16 vlan_id;
|
__u16 vlan_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue