diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/dcbnl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h index b36ac7e0914d..e2d841e963b3 100644 --- a/include/net/dcbnl.h +++ b/include/net/dcbnl.h | |||
@@ -20,11 +20,22 @@ | |||
20 | #ifndef __NET_DCBNL_H__ | 20 | #ifndef __NET_DCBNL_H__ |
21 | #define __NET_DCBNL_H__ | 21 | #define __NET_DCBNL_H__ |
22 | 22 | ||
23 | #include <linux/dcbnl.h> | ||
24 | |||
23 | /* | 25 | /* |
24 | * Ops struct for the netlink callbacks. Used by DCB-enabled drivers through | 26 | * Ops struct for the netlink callbacks. Used by DCB-enabled drivers through |
25 | * the netdevice struct. | 27 | * the netdevice struct. |
26 | */ | 28 | */ |
27 | struct dcbnl_rtnl_ops { | 29 | struct dcbnl_rtnl_ops { |
30 | /* IEEE 802.1Qaz std */ | ||
31 | int (*ieee_getets) (struct net_device *, struct ieee_ets *); | ||
32 | int (*ieee_setets) (struct net_device *, struct ieee_ets *); | ||
33 | int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *); | ||
34 | int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *); | ||
35 | int (*ieee_getapp) (struct net_device *, struct dcb_app *); | ||
36 | int (*ieee_setapp) (struct net_device *, struct dcb_app *); | ||
37 | |||
38 | /* CEE std */ | ||
28 | u8 (*getstate)(struct net_device *); | 39 | u8 (*getstate)(struct net_device *); |
29 | u8 (*setstate)(struct net_device *, u8); | 40 | u8 (*setstate)(struct net_device *, u8); |
30 | void (*getpermhwaddr)(struct net_device *, u8 *); | 41 | void (*getpermhwaddr)(struct net_device *, u8 *); |