bridge: add template for bridge port flags
authorstephen hemminger <shemminger@vyatta.com>
Tue, 13 Nov 2012 07:53:06 +0000 (07:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 01:20:44 +0000 (20:20 -0500)
commitcd7537326e617e71b5a84b205b755bc86bee8d06
treef756caacc3f6c960af130227d93dd05d6a45693a
parent25c71c75ac87508528db053b818944f3650dd7a6
bridge: add template for bridge port flags

Provide macro to build sysfs data structures and functions
for accessing flag bits.  If flag bits change do netlink
notification.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_if.c