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 used;
|
||||
mac_addr addr;
|
||||
unsigned char is_local;
|
||||
unsigned char is_static;
|
||||
unsigned char added_by_user;
|
||||
unsigned char is_local:1,
|
||||
is_static:1,
|
||||
added_by_user:1;
|
||||
__u16 vlan_id;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue