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
6864c1e7
Commit
6864c1e7
authored
Aug 08, 2005
by
shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to latest kernel headers.
Fix out of range on paretonormal
parent
3fcdebb6
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
26 additions
and
21 deletions
+26
-21
ChangeLog
ChangeLog
+6
-0
include/SNAPSHOT.h
include/SNAPSHOT.h
+1
-1
include/linux/netlink.h
include/linux/netlink.h
+3
-1
include/linux/pkt_cls.h
include/linux/pkt_cls.h
+2
-0
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+6
-3
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+5
-0
include/linux/tc_ematch/tc_em_meta.h
include/linux/tc_ematch/tc_em_meta.h
+0
-5
include/linux/tcp.h
include/linux/tcp.h
+1
-0
include/linux/xfrm.h
include/linux/xfrm.h
+1
-0
netem/paretonormal.c
netem/paretonormal.c
+1
-1
tc/em_meta.c
tc/em_meta.c
+0
-10
No files found.
ChangeLog
View file @
6864c1e7
2005-08-08 Stephen Hemminger <shemminger@osdl.org>
* Update to 2.6.13+ kernel headers
* Fix array overrun in paretonormal
* Fix ematch to not include dropped fields from skb.
2005-07-14 Thomas Graf <tgraf@suug.ch>
* Make ematch bison/lex build with common flex
...
...
include/SNAPSHOT.h
View file @
6864c1e7
static
char
SNAPSHOT
[]
=
"050
607
"
;
static
char
SNAPSHOT
[]
=
"050
808
"
;
include/linux/netlink.h
View file @
6864c1e7
...
...
@@ -5,7 +5,7 @@
#include <linux/types.h>
#define NETLINK_ROUTE 0
/* Routing/device hook */
#define NETLINK_
SKIP 1
/* Reserved for ENskip
*/
#define NETLINK_
W1 1
/* 1-wire subsystem
*/
#define NETLINK_USERSOCK 2
/* Reserved for user mode socket protocols */
#define NETLINK_FIREWALL 3
/* Firewalling hook */
#define NETLINK_TCPDIAG 4
/* TCP socket monitoring */
...
...
@@ -14,7 +14,9 @@
#define NETLINK_SELINUX 7
/* SELinux event notifications */
#define NETLINK_ARPD 8
#define NETLINK_AUDIT 9
/* auditing */
#define NETLINK_FIB_LOOKUP 10
#define NETLINK_ROUTE6 11
/* af_inet6 route comm channel */
#define NETLINK_NETFILTER 12
/* netfilter subsystem */
#define NETLINK_IP6_FW 13
#define NETLINK_DNRTMSG 14
/* DECnet routing messages */
#define NETLINK_KOBJECT_UEVENT 15
/* Kernel messages to userspace */
...
...
include/linux/pkt_cls.h
View file @
6864c1e7
...
...
@@ -276,6 +276,7 @@ struct tc_rsvp_pinfo
__u8
protocol
;
__u8
tunnelid
;
__u8
tunnelhdr
;
__u8
pad
;
};
/* ROUTE filter */
...
...
@@ -408,6 +409,7 @@ enum
TCF_EM_NBYTE
,
TCF_EM_U32
,
TCF_EM_META
,
TCF_EM_TEXT
,
__TCF_EM_MAX
};
...
...
include/linux/pkt_sched.h
View file @
6864c1e7
...
...
@@ -221,9 +221,11 @@ struct tc_gred_qopt
/* gred setup */
struct
tc_gred_sopt
{
__u32
DPs
;
__u32
def_DP
;
__u8
grio
;
__u32
DPs
;
__u32
def_DP
;
__u8
grio
;
__u8
pad1
;
__u16
pad2
;
};
/* HTB section */
...
...
@@ -351,6 +353,7 @@ struct tc_cbq_ovl
#define TC_CBQ_OVL_DROP 3
#define TC_CBQ_OVL_RCLASSIC 4
unsigned
char
priority2
;
__u16
pad
;
__u32
penalty
;
};
...
...
include/linux/rtnetlink.h
View file @
6864c1e7
...
...
@@ -363,6 +363,8 @@ enum
struct
rta_session
{
__u8
proto
;
__u8
pad1
;
__u16
pad2
;
union
{
struct
{
...
...
@@ -635,10 +637,13 @@ struct ifinfomsg
struct
prefixmsg
{
unsigned
char
prefix_family
;
unsigned
char
prefix_pad1
;
unsigned
short
prefix_pad2
;
int
prefix_ifindex
;
unsigned
char
prefix_type
;
unsigned
char
prefix_len
;
unsigned
char
prefix_flags
;
unsigned
char
prefix_pad3
;
};
enum
...
...
include/linux/tc_ematch/tc_em_meta.h
View file @
6864c1e7
...
...
@@ -41,19 +41,14 @@ enum
TCF_META_ID_LOADAVG_1
,
TCF_META_ID_LOADAVG_2
,
TCF_META_ID_DEV
,
TCF_META_ID_INDEV
,
TCF_META_ID_REALDEV
,
TCF_META_ID_PRIORITY
,
TCF_META_ID_PROTOCOL
,
TCF_META_ID_SECURITY
,
TCF_META_ID_PKTTYPE
,
TCF_META_ID_PKTLEN
,
TCF_META_ID_DATALEN
,
TCF_META_ID_MACLEN
,
TCF_META_ID_NFMARK
,
TCF_META_ID_TCINDEX
,
TCF_META_ID_TCVERDICT
,
TCF_META_ID_TCCLASSID
,
TCF_META_ID_RTCLASSID
,
TCF_META_ID_RTIIF
,
TCF_META_ID_SK_FAMILY
,
...
...
include/linux/tcp.h
View file @
6864c1e7
...
...
@@ -127,6 +127,7 @@ enum {
#define TCP_WINDOW_CLAMP 10
/* Bound advertised window */
#define TCP_INFO 11
/* Information about this connection. */
#define TCP_QUICKACK 12
/* Block/reenable quick acks */
#define TCP_CONGESTION 13
/* Congestion control algorithm */
#define TCPI_OPT_TIMESTAMPS 1
#define TCPI_OPT_SACK 2
...
...
include/linux/xfrm.h
View file @
6864c1e7
...
...
@@ -196,6 +196,7 @@ struct xfrm_usersa_info {
__u8
flags
;
#define XFRM_STATE_NOECN 1
#define XFRM_STATE_DECAP_DSCP 2
#define XFRM_STATE_NOPMTUDISC 4
};
struct
xfrm_usersa_id
{
...
...
netem/paretonormal.c
View file @
6864c1e7
...
...
@@ -51,7 +51,7 @@ main(int argc, char **argv)
{
int
i
,
n
;
double
x
;
double
table
[
TABLESIZE
];
double
table
[
TABLESIZE
+
1
];
for
(
x
=
-
10
.
0
;
x
<
10
.
05
;
x
+=
.
00005
)
{
i
=
rint
(
TABLESIZE
*
normal
(
x
,
0
.
0
,
1
.
0
));
...
...
tc/em_meta.c
View file @
6864c1e7
...
...
@@ -62,18 +62,11 @@ struct meta_entry {
__A
(
SECTION
,
"Interfaces"
,
""
,
""
),
__A
(
DEV
,
"dev"
,
"iv"
,
"Device the packet is on"
),
__A
(
INDEV
,
"indev"
,
"iv"
,
"Device the packet came in"
),
__A
(
REALDEV
,
"realdev"
,
"iv"
,
"Underlying real device"
),
__A
(
SECTION
,
"Packet attributes"
,
""
,
""
),
__A
(
PRIORITY
,
"priority"
,
"i"
,
"Priority of packet"
),
__A
(
PROTOCOL
,
"protocol"
,
"i"
,
"Link layer protocol"
),
__A
(
SECURITY
,
"security"
,
"i"
,
"Security level"
),
__A
(
PKTTYPE
,
"pkt_type"
,
"i"
,
"Packet type (uni|multi|broad|...)cast"
),
__A
(
PKTLEN
,
"pkt_len"
,
"i"
,
...
...
@@ -91,9 +84,6 @@ struct meta_entry {
__A
(
SECTION
,
"Traffic Control"
,
""
,
""
),
__A
(
TCINDEX
,
"tc_index"
,
"i"
,
"TC Index"
),
__A
(
TCVERDICT
,
"tc_verdict"
,
"i"
,
"TC Verdict"
),
__A
(
TCCLASSID
,
"tc_classid"
,
"i"
,
"TC ClassID"
),
__A
(
SECTION
,
"Routing"
,
""
,
""
),
__A
(
RTCLASSID
,
"rt_classid"
,
"i"
,
"Routing ClassID (cls_route)"
),
...
...
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