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:
Jiri Pirko 2014-11-28 14:34:14 +01:00 committed by David S. Miller
parent b7485f6b03
commit 93859b13fa
1 changed files with 3 additions and 3 deletions

View File

@ -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;
};