Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
a08d2590
Commit
a08d2590
authored
Jan 10, 2012
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to kernel v3.3 headers
Initial merge window version of headers
parent
aab2702d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
16 deletions
+41
-16
include/linux/if.h
include/linux/if.h
+1
-0
include/linux/if_ether.h
include/linux/if_ether.h
+1
-0
include/linux/if_vlan.h
include/linux/if_vlan.h
+1
-1
include/linux/inet_diag.h
include/linux/inet_diag.h
+12
-2
include/linux/neighbour.h
include/linux/neighbour.h
+1
-0
include/linux/netlink.h
include/linux/netlink.h
+3
-1
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+21
-11
include/linux/types.h
include/linux/types.h
+1
-1
No files found.
include/linux/if.h
View file @
a08d2590
...
...
@@ -79,6 +79,7 @@
#define IFF_TX_SKB_SHARING 0x10000
/* The interface supports sharing
* skbs on transmit */
#define IFF_UNICAST_FLT 0x20000
/* Supports unicast filtering */
#define IFF_TEAM_PORT 0x40000
/* device used as team port */
#define IF_GET_IFACE 0x0001
/* for querying only */
#define IF_GET_PROTO 0x0002
...
...
include/linux/if_ether.h
View file @
a08d2590
...
...
@@ -79,6 +79,7 @@
#define ETH_P_PAE 0x888E
/* Port Access Entity (IEEE 802.1X) */
#define ETH_P_AOE 0x88A2
/* ATA over Ethernet */
#define ETH_P_8021AD 0x88A8
/* 802.1ad Service VLAN */
#define ETH_P_802_EX1 0x88B5
/* 802.1 Local Experimental 1. */
#define ETH_P_TIPC 0x88CA
/* TIPC */
#define ETH_P_8021AH 0x88E7
/* 802.1ah Backbone Service Tag */
#define ETH_P_1588 0x88F7
/* IEEE 1588 Timesync */
...
...
include/linux/if_vlan.h
View file @
a08d2590
...
...
@@ -54,7 +54,7 @@ struct vlan_ioctl_args {
unsigned
int
skb_priority
;
unsigned
int
name_type
;
unsigned
int
bind_type
;
unsigned
int
flag
;
/* Matches vlan_dev_
info
flags */
unsigned
int
flag
;
/* Matches vlan_dev_
priv
flags */
}
u
;
short
vlan_qos
;
...
...
include/linux/inet_diag.h
View file @
a08d2590
...
...
@@ -22,7 +22,7 @@ struct inet_diag_sockid {
/* Request structure */
struct
inet_diag_req
{
struct
inet_diag_req
_compat
{
__u8
idiag_family
;
/* Family of addresses. */
__u8
idiag_src_len
;
__u8
idiag_dst_len
;
...
...
@@ -34,6 +34,15 @@ struct inet_diag_req {
__u32
idiag_dbs
;
/* Tables to dump (NI) */
};
struct
inet_diag_req
{
__u8
sdiag_family
;
__u8
sdiag_protocol
;
__u8
idiag_ext
;
__u8
pad
;
__u32
idiag_states
;
struct
inet_diag_sockid
id
;
};
enum
{
INET_DIAG_REQ_NONE
,
INET_DIAG_REQ_BYTECODE
,
...
...
@@ -99,9 +108,10 @@ enum {
INET_DIAG_CONG
,
INET_DIAG_TOS
,
INET_DIAG_TCLASS
,
INET_DIAG_SKMEMINFO
,
};
#define INET_DIAG_MAX INET_DIAG_
TCLASS
#define INET_DIAG_MAX INET_DIAG_
SKMEMINFO
/* INET_DIAG_MEM */
...
...
include/linux/neighbour.h
View file @
a08d2590
...
...
@@ -116,6 +116,7 @@ enum {
NDTPA_PROXY_DELAY
,
/* u64, msecs */
NDTPA_PROXY_QLEN
,
/* u32 */
NDTPA_LOCKTIME
,
/* u64, msecs */
NDTPA_QUEUE_LENBYTES
,
/* u32 */
__NDTPA_MAX
};
#define NDTPA_MAX (__NDTPA_MAX - 1)
...
...
include/linux/netlink.h
View file @
a08d2590
...
...
@@ -8,7 +8,7 @@
#define NETLINK_UNUSED 1
/* Unused number */
#define NETLINK_USERSOCK 2
/* Reserved for user mode socket protocols */
#define NETLINK_FIREWALL 3
/* Firewalling hook */
#define NETLINK_
INET_DIAG 4
/* INET socket monitoring
*/
#define NETLINK_
SOCK_DIAG 4
/* socket monitoring
*/
#define NETLINK_NFLOG 5
/* netfilter/iptables ULOG */
#define NETLINK_XFRM 6
/* ipsec */
#define NETLINK_SELINUX 7
/* SELinux event notifications */
...
...
@@ -27,6 +27,8 @@
#define NETLINK_RDMA 20
#define NETLINK_CRYPTO 21
/* Crypto layer */
#define NETLINK_INET_DIAG NETLINK_SOCK_DIAG
#define MAX_LINKS 32
struct
sockaddr_nl
{
...
...
include/linux/pkt_sched.h
View file @
a08d2590
...
...
@@ -162,25 +162,24 @@ struct tc_sfq_qopt {
unsigned
flows
;
/* Maximal number of flows */
};
struct
tc_sfq_qopt_v1
{
struct
tc_sfq_qopt
v0
;
unsigned
int
depth
;
/* max number of packets per flow */
unsigned
int
headdrop
;
};
struct
tc_sfq_xstats
{
__s32
allot
;
};
/*
* NOTE: limit, divisor and flows are hardwired to code at the moment.
*
* limit=flows=128, divisor=1024;
*
* The only reason for this is efficiency, it is possible
* to change these parameters in compile time.
*/
/* RED section */
enum
{
TCA_RED_UNSPEC
,
TCA_RED_PARMS
,
TCA_RED_STAB
,
TCA_RED_MAX_P
,
__TCA_RED_MAX
,
};
...
...
@@ -194,8 +193,9 @@ struct tc_red_qopt {
unsigned
char
Plog
;
/* log(P_max/(qth_max-qth_min)) */
unsigned
char
Scell_log
;
/* cell size for idle damping */
unsigned
char
flags
;
#define TC_RED_ECN 1
#define TC_RED_HARDDROP 2
#define TC_RED_ECN 1
#define TC_RED_HARDDROP 2
#define TC_RED_ADAPTATIVE 4
};
struct
tc_red_xstats
{
...
...
@@ -214,6 +214,7 @@ enum {
TCA_GRED_PARMS
,
TCA_GRED_STAB
,
TCA_GRED_DPS
,
TCA_GRED_MAX_P
,
__TCA_GRED_MAX
,
};
...
...
@@ -253,6 +254,7 @@ enum {
TCA_CHOKE_UNSPEC
,
TCA_CHOKE_PARMS
,
TCA_CHOKE_STAB
,
TCA_CHOKE_MAX_P
,
__TCA_CHOKE_MAX
,
};
...
...
@@ -465,6 +467,7 @@ enum {
TCA_NETEM_REORDER
,
TCA_NETEM_CORRUPT
,
TCA_NETEM_LOSS
,
TCA_NETEM_RATE
,
__TCA_NETEM_MAX
,
};
...
...
@@ -495,6 +498,13 @@ struct tc_netem_corrupt {
__u32
correlation
;
};
struct
tc_netem_rate
{
__u32
rate
;
/* byte/s */
__s32
packet_overhead
;
__u32
cell_size
;
__s32
cell_overhead
;
};
enum
{
NETEM_LOSS_UNSPEC
,
NETEM_LOSS_GI
,
/* General Intuitive - 4 state model */
...
...
include/linux/types.h
View file @
a08d2590
...
...
@@ -38,7 +38,7 @@ typedef __u32 __bitwise __wsum;
* aligned_u64 should be used in defining kernel<->userspace ABIs to avoid
* common 32/64-bit compat problems.
* 64-bit values align to 4-byte boundaries on x86_32 (and possibly other
* architectures) and to 8-byte boundaries on 64-bit architetures. The new
* architectures) and to 8-byte boundaries on 64-bit archite
c
tures. The new
* aligned_64 type enforces 8-byte alignment so that structs containing
* aligned_64 values have the same alignment on 32-bit and 64-bit architectures.
* No conversions are necessary between 32-bit user-space and a 64-bit kernel.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment