Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _LINUX_IF_LINK_H
2#define _LINUX_IF_LINK_H
3
4#include <uapi/linux/if_link.h>
5
6
7/* We don't want this structure exposed to user space */
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
17struct ifla_vf_info {
18 __u32 vf;
19 __u8 mac[32];
20 __u32 vlan;
21 __u32 qos;
22 __u32 spoofchk;
23 __u32 linkstate;
24 __u32 min_tx_rate;
25 __u32 max_tx_rate;
26 __u32 rss_query_en;
27 __u32 trusted;
28 __be16 vlan_proto;
29};
30#endif /* _LINUX_IF_LINK_H */