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
5a67f8f9
Commit
5a67f8f9
authored
Sep 15, 2008
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 2.6.27 API
The one issue was the old multiqueue API, so that is handled by tc_util.h
parent
f8fa979b
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
51 additions
and
21 deletions
+51
-21
include/linux/atm.h
include/linux/atm.h
+1
-0
include/linux/if.h
include/linux/if.h
+8
-7
include/linux/if_vlan.h
include/linux/if_vlan.h
+1
-0
include/linux/ip6_tunnel.h
include/linux/ip6_tunnel.h
+0
-4
include/linux/netfilter.h
include/linux/netfilter.h
+1
-0
include/linux/netfilter_ipv4.h
include/linux/netfilter_ipv4.h
+1
-0
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv4/ip_tables.h
+1
-0
include/linux/pkt_cls.h
include/linux/pkt_cls.h
+1
-0
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+20
-9
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+1
-0
include/linux/socket.h
include/linux/socket.h
+4
-1
tc/tc_util.h
tc/tc_util.h
+12
-0
No files found.
include/linux/atm.h
View file @
5a67f8f9
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
* documentation. Do not change them.
* documentation. Do not change them.
*/
*/
#include <linux/atmapi.h>
#include <linux/atmapi.h>
#include <linux/atmsap.h>
#include <linux/atmsap.h>
#include <linux/atmioc.h>
#include <linux/atmioc.h>
...
...
include/linux/if.h
View file @
5a67f8f9
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <linux/types.h>
/* for "__kernel_caddr_t" et al */
#include <linux/types.h>
/* for "__kernel_caddr_t" et al */
#include <linux/socket.h>
/* for "struct sockaddr" et al */
#include <linux/socket.h>
/* for "struct sockaddr" et al */
/* for "__user" et al */
#define IFNAMSIZ 16
#define IFNAMSIZ 16
#include <linux/hdlc/ioctl.h>
#include <linux/hdlc/ioctl.h>
...
@@ -135,15 +136,15 @@ struct if_settings
...
@@ -135,15 +136,15 @@ struct if_settings
unsigned
int
size
;
/* Size of the data allocated by the caller */
unsigned
int
size
;
/* Size of the data allocated by the caller */
union
{
union
{
/* {atm/eth/dsl}_settings anyone ? */
/* {atm/eth/dsl}_settings anyone ? */
raw_hdlc_proto
*
raw_hdlc
;
raw_hdlc_proto
*
raw_hdlc
;
cisco_proto
*
cisco
;
cisco_proto
*
cisco
;
fr_proto
*
fr
;
fr_proto
*
fr
;
fr_proto_pvc
*
fr_pvc
;
fr_proto_pvc
*
fr_pvc
;
fr_proto_pvc_info
*
fr_pvc_info
;
fr_proto_pvc_info
*
fr_pvc_info
;
/* interface settings */
/* interface settings */
sync_serial_settings
*
sync
;
sync_serial_settings
*
sync
;
te1_settings
*
te1
;
te1_settings
*
te1
;
}
ifs_ifsu
;
}
ifs_ifsu
;
};
};
...
...
include/linux/if_vlan.h
View file @
5a67f8f9
...
@@ -32,6 +32,7 @@ enum vlan_ioctl_cmds {
...
@@ -32,6 +32,7 @@ enum vlan_ioctl_cmds {
enum
vlan_flags
{
enum
vlan_flags
{
VLAN_FLAG_REORDER_HDR
=
0x1
,
VLAN_FLAG_REORDER_HDR
=
0x1
,
VLAN_FLAG_GVRP
=
0x2
,
};
};
enum
vlan_name_types
{
enum
vlan_name_types
{
...
...
include/linux/ip6_tunnel.h
View file @
5a67f8f9
/*
* $Id$
*/
#ifndef _IP6_TUNNEL_H
#ifndef _IP6_TUNNEL_H
#define _IP6_TUNNEL_H
#define _IP6_TUNNEL_H
...
...
include/linux/netfilter.h
View file @
5a67f8f9
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
#include <linux/types.h>
#include <linux/types.h>
/* Responses from hook functions. */
/* Responses from hook functions. */
#define NF_DROP 0
#define NF_DROP 0
#define NF_ACCEPT 1
#define NF_ACCEPT 1
...
...
include/linux/netfilter_ipv4.h
View file @
5a67f8f9
...
@@ -58,6 +58,7 @@ enum nf_ip_hook_priorities {
...
@@ -58,6 +58,7 @@ enum nf_ip_hook_priorities {
NF_IP_PRI_MANGLE
=
-
150
,
NF_IP_PRI_MANGLE
=
-
150
,
NF_IP_PRI_NAT_DST
=
-
100
,
NF_IP_PRI_NAT_DST
=
-
100
,
NF_IP_PRI_FILTER
=
0
,
NF_IP_PRI_FILTER
=
0
,
NF_IP_PRI_SECURITY
=
50
,
NF_IP_PRI_NAT_SRC
=
100
,
NF_IP_PRI_NAT_SRC
=
100
,
NF_IP_PRI_SELINUX_LAST
=
225
,
NF_IP_PRI_SELINUX_LAST
=
225
,
NF_IP_PRI_CONNTRACK_CONFIRM
=
INT_MAX
,
NF_IP_PRI_CONNTRACK_CONFIRM
=
INT_MAX
,
...
...
include/linux/netfilter_ipv4/ip_tables.h
View file @
5a67f8f9
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#define _IPTABLES_H
#define _IPTABLES_H
#include <linux/types.h>
#include <linux/types.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/x_tables.h>
...
...
include/linux/pkt_cls.h
View file @
5a67f8f9
...
@@ -374,6 +374,7 @@ enum
...
@@ -374,6 +374,7 @@ enum
TCA_FLOW_ACT
,
TCA_FLOW_ACT
,
TCA_FLOW_POLICE
,
TCA_FLOW_POLICE
,
TCA_FLOW_EMATCHES
,
TCA_FLOW_EMATCHES
,
TCA_FLOW_PERTURB
,
__TCA_FLOW_MAX
__TCA_FLOW_MAX
};
};
...
...
include/linux/pkt_sched.h
View file @
5a67f8f9
...
@@ -85,6 +85,26 @@ struct tc_ratespec
...
@@ -85,6 +85,26 @@ struct tc_ratespec
#define TC_RTAB_SIZE 1024
#define TC_RTAB_SIZE 1024
struct
tc_sizespec
{
unsigned
char
cell_log
;
unsigned
char
size_log
;
short
cell_align
;
int
overhead
;
unsigned
int
linklayer
;
unsigned
int
mpu
;
unsigned
int
mtu
;
unsigned
int
tsize
;
};
enum
{
TCA_STAB_UNSPEC
,
TCA_STAB_BASE
,
TCA_STAB_DATA
,
__TCA_STAB_MAX
};
#define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
/* FIFO section */
/* FIFO section */
struct
tc_fifo_qopt
struct
tc_fifo_qopt
...
@@ -103,15 +123,6 @@ struct tc_prio_qopt
...
@@ -103,15 +123,6 @@ struct tc_prio_qopt
__u8
priomap
[
TC_PRIO_MAX
+
1
];
/* Map: logical priority -> PRIO band */
__u8
priomap
[
TC_PRIO_MAX
+
1
];
/* Map: logical priority -> PRIO band */
};
};
enum
{
TCA_PRIO_UNSPEC
,
TCA_PRIO_MQ
,
__TCA_PRIO_MAX
};
#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1)
/* TBF section */
/* TBF section */
struct
tc_tbf_qopt
struct
tc_tbf_qopt
...
...
include/linux/rtnetlink.h
View file @
5a67f8f9
...
@@ -482,6 +482,7 @@ enum
...
@@ -482,6 +482,7 @@ enum
TCA_RATE
,
TCA_RATE
,
TCA_FCNT
,
TCA_FCNT
,
TCA_STATS2
,
TCA_STATS2
,
TCA_STAB
,
__TCA_MAX
__TCA_MAX
};
};
...
...
include/linux/socket.h
View file @
5a67f8f9
...
@@ -22,6 +22,7 @@ struct __kernel_sockaddr_storage {
...
@@ -22,6 +22,7 @@ struct __kernel_sockaddr_storage {
#include <linux/sockios.h>
/* the SIOCxxx I/O controls */
#include <linux/sockios.h>
/* the SIOCxxx I/O controls */
#include <linux/uio.h>
/* iovec support */
#include <linux/uio.h>
/* iovec support */
#include <linux/types.h>
/* pid_t */
#include <linux/types.h>
/* pid_t */
/* */
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
struct
seq_file
;
struct
seq_file
;
...
@@ -186,7 +187,8 @@ struct ucred {
...
@@ -186,7 +187,8 @@ struct ucred {
#define AF_BLUETOOTH 31
/* Bluetooth sockets */
#define AF_BLUETOOTH 31
/* Bluetooth sockets */
#define AF_IUCV 32
/* IUCV sockets */
#define AF_IUCV 32
/* IUCV sockets */
#define AF_RXRPC 33
/* RxRPC sockets */
#define AF_RXRPC 33
/* RxRPC sockets */
#define AF_MAX 34
/* For now.. */
#define AF_ISDN 34
/* mISDN sockets */
#define AF_MAX 35
/* For now.. */
/* Protocol families, same as address families. */
/* Protocol families, same as address families. */
#define PF_UNSPEC AF_UNSPEC
#define PF_UNSPEC AF_UNSPEC
...
@@ -222,6 +224,7 @@ struct ucred {
...
@@ -222,6 +224,7 @@ struct ucred {
#define PF_BLUETOOTH AF_BLUETOOTH
#define PF_BLUETOOTH AF_BLUETOOTH
#define PF_IUCV AF_IUCV
#define PF_IUCV AF_IUCV
#define PF_RXRPC AF_RXRPC
#define PF_RXRPC AF_RXRPC
#define PF_ISDN AF_ISDN
#define PF_MAX AF_MAX
#define PF_MAX AF_MAX
/* Maximum queue length specifiable by listen. */
/* Maximum queue length specifiable by listen. */
...
...
tc/tc_util.h
View file @
5a67f8f9
...
@@ -7,6 +7,18 @@
...
@@ -7,6 +7,18 @@
#include <linux/gen_stats.h>
#include <linux/gen_stats.h>
#include "tc_core.h"
#include "tc_core.h"
/* This is the deprecated multiqueue interface */
#ifndef TCA_PRIO_MAX
enum
{
TCA_PRIO_UNSPEC
,
TCA_PRIO_MQ
,
__TCA_PRIO_MAX
};
#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1)
#endif
struct
qdisc_util
struct
qdisc_util
{
{
struct
qdisc_util
*
next
;
struct
qdisc_util
*
next
;
...
...
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