]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/if_link.h
UBUNTU: SAUCE: LSM stacking: procfs: add smack subdir to attrs
[mirror_ubuntu-artful-kernel.git] / include / linux / if_link.h
CommitLineData
cbde1668
YH
1#ifndef _LINUX_IF_LINK_H
2#define _LINUX_IF_LINK_H
3
607ca46e 4#include <uapi/linux/if_link.h>
cbde1668 5
5f8444a3
GR
6
7/* We don't want this structure exposed to user space */
3b766cd8
EBE
8struct 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
b280da8d
WM
17struct ifla_vf_info {
18 __u32 vf;
19 __u8 mac[32];
20 __u32 vlan;
21 __u32 qos;
5f8444a3 22 __u32 spoofchk;
1d8faf48 23 __u32 linkstate;
ed616689
SC
24 __u32 min_tx_rate;
25 __u32 max_tx_rate;
01a3d796 26 __u32 rss_query_en;
dd461d6a 27 __u32 trusted;
79aab093 28 __be16 vlan_proto;
b280da8d 29};
cbde1668 30#endif /* _LINUX_IF_LINK_H */