YOSHIFUJI Hideaki | cbde166 | 2006-09-27 22:40:19 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_IF_LINK_H |
| 2 | #define _LINUX_IF_LINK_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/if_link.h> |
YOSHIFUJI Hideaki | cbde166 | 2006-09-27 22:40:19 -0700 | [diff] [blame] | 5 | |
Greg Rose | 5f8444a | 2011-10-08 03:05:24 +0000 | [diff] [blame] | 6 | |
| 7 | /* We don't want this structure exposed to user space */ |
Eran Ben Elisha | 3b766cd | 2015-06-15 17:59:07 +0300 | [diff] [blame] | 8 | struct ifla_vf_stats { |
| 9 | __u64 rx_packets; |
| 10 | __u64 tx_packets; |
| 11 | __u64 rx_bytes; |
| 12 | __u64 tx_bytes; |
| 13 | __u64 broadcast; |
| 14 | __u64 multicast; |
| 15 | }; |
| 16 | |
Williams, Mitch A | b280da8 | 2010-02-10 01:43:24 +0000 | [diff] [blame] | 17 | struct ifla_vf_info { |
| 18 | __u32 vf; |
| 19 | __u8 mac[32]; |
| 20 | __u32 vlan; |
| 21 | __u32 qos; |
Greg Rose | 5f8444a | 2011-10-08 03:05:24 +0000 | [diff] [blame] | 22 | __u32 spoofchk; |
Rony Efraim | 1d8faf4 | 2013-06-13 13:19:10 +0300 | [diff] [blame] | 23 | __u32 linkstate; |
Sucheta Chakraborty | ed61668 | 2014-05-22 09:59:05 -0400 | [diff] [blame] | 24 | __u32 min_tx_rate; |
| 25 | __u32 max_tx_rate; |
Vlad Zolotarov | 01a3d79 | 2015-03-30 21:35:23 +0300 | [diff] [blame] | 26 | __u32 rss_query_en; |
Hiroshi Shimamoto | dd461d6 | 2015-08-28 06:57:55 +0000 | [diff] [blame] | 27 | __u32 trusted; |
Williams, Mitch A | b280da8 | 2010-02-10 01:43:24 +0000 | [diff] [blame] | 28 | }; |
YOSHIFUJI Hideaki | cbde166 | 2006-09-27 22:40:19 -0700 | [diff] [blame] | 29 | #endif /* _LINUX_IF_LINK_H */ |