summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-11-28 14:34:14 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-02 20:01:17 -0800
commit93859b13fa7ecef9d4d8bab4a7acc9f212c8fce2 (patch)
treee6f1de47d1ed6c9c40d95590ee1c9ff73b0187a3 /net/bridge/br_private.h
parentb7485f6b035a87685ce35e0e52deee6467811eb0 (diff)
downloadlinux-93859b13fa7ecef9d4d8bab4a7acc9f212c8fce2.tar.gz
linux-93859b13fa7ecef9d4d8bab4a7acc9f212c8fce2.tar.bz2
linux-93859b13fa7ecef9d4d8bab4a7acc9f212c8fce2.zip
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>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 8f3f08140258..5b370773ad9c 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -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;
};