mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-06 22:17:15 +00:00
Update headers to 2.6.27
This commit is contained in:
parent
a908898c18
commit
19ecc16d72
@ -16,6 +16,7 @@
|
||||
* documentation. Do not change them.
|
||||
*/
|
||||
|
||||
|
||||
#include <linux/atmapi.h>
|
||||
#include <linux/atmsap.h>
|
||||
#include <linux/atmioc.h>
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
|
||||
#include <linux/types.h> /* for "__kernel_caddr_t" et al */
|
||||
#include <linux/socket.h> /* for "struct sockaddr" et al */
|
||||
/* for "__user" et al */
|
||||
|
||||
#define IFNAMSIZ 16
|
||||
#include <linux/hdlc/ioctl.h>
|
||||
@ -135,15 +136,15 @@ struct if_settings
|
||||
unsigned int size; /* Size of the data allocated by the caller */
|
||||
union {
|
||||
/* {atm/eth/dsl}_settings anyone ? */
|
||||
raw_hdlc_proto *raw_hdlc;
|
||||
cisco_proto *cisco;
|
||||
fr_proto *fr;
|
||||
fr_proto_pvc *fr_pvc;
|
||||
fr_proto_pvc_info *fr_pvc_info;
|
||||
raw_hdlc_proto *raw_hdlc;
|
||||
cisco_proto *cisco;
|
||||
fr_proto *fr;
|
||||
fr_proto_pvc *fr_pvc;
|
||||
fr_proto_pvc_info *fr_pvc_info;
|
||||
|
||||
/* interface settings */
|
||||
sync_serial_settings *sync;
|
||||
te1_settings *te1;
|
||||
sync_serial_settings *sync;
|
||||
te1_settings *te1;
|
||||
} ifs_ifsu;
|
||||
};
|
||||
|
||||
|
||||
@ -32,6 +32,7 @@ enum vlan_ioctl_cmds {
|
||||
|
||||
enum vlan_flags {
|
||||
VLAN_FLAG_REORDER_HDR = 0x1,
|
||||
VLAN_FLAG_GVRP = 0x2,
|
||||
};
|
||||
|
||||
enum vlan_name_types {
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef _IP6_TUNNEL_H
|
||||
#define _IP6_TUNNEL_H
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
|
||||
/* Responses from hook functions. */
|
||||
#define NF_DROP 0
|
||||
#define NF_ACCEPT 1
|
||||
|
||||
@ -58,6 +58,7 @@ enum nf_ip_hook_priorities {
|
||||
NF_IP_PRI_MANGLE = -150,
|
||||
NF_IP_PRI_NAT_DST = -100,
|
||||
NF_IP_PRI_FILTER = 0,
|
||||
NF_IP_PRI_SECURITY = 50,
|
||||
NF_IP_PRI_NAT_SRC = 100,
|
||||
NF_IP_PRI_SELINUX_LAST = 225,
|
||||
NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
#define _IPTABLES_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <linux/netfilter_ipv4.h>
|
||||
|
||||
#include <linux/netfilter/x_tables.h>
|
||||
|
||||
@ -374,6 +374,7 @@ enum
|
||||
TCA_FLOW_ACT,
|
||||
TCA_FLOW_POLICE,
|
||||
TCA_FLOW_EMATCHES,
|
||||
TCA_FLOW_PERTURB,
|
||||
__TCA_FLOW_MAX
|
||||
};
|
||||
|
||||
|
||||
@ -85,6 +85,26 @@ struct tc_ratespec
|
||||
|
||||
#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 */
|
||||
|
||||
struct tc_fifo_qopt
|
||||
@ -103,6 +123,7 @@ struct tc_prio_qopt
|
||||
__u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
|
||||
};
|
||||
|
||||
/* Obsolete option from original multiqueue */
|
||||
enum
|
||||
{
|
||||
TCA_PRIO_UNSPEC,
|
||||
|
||||
@ -482,6 +482,7 @@ enum
|
||||
TCA_RATE,
|
||||
TCA_FCNT,
|
||||
TCA_STATS2,
|
||||
TCA_STAB,
|
||||
__TCA_MAX
|
||||
};
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@ struct __kernel_sockaddr_storage {
|
||||
#include <linux/sockios.h> /* the SIOCxxx I/O controls */
|
||||
#include <linux/uio.h> /* iovec support */
|
||||
#include <linux/types.h> /* pid_t */
|
||||
/* */
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
struct seq_file;
|
||||
@ -186,7 +187,8 @@ struct ucred {
|
||||
#define AF_BLUETOOTH 31 /* Bluetooth sockets */
|
||||
#define AF_IUCV 32 /* IUCV 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. */
|
||||
#define PF_UNSPEC AF_UNSPEC
|
||||
@ -222,6 +224,7 @@ struct ucred {
|
||||
#define PF_BLUETOOTH AF_BLUETOOTH
|
||||
#define PF_IUCV AF_IUCV
|
||||
#define PF_RXRPC AF_RXRPC
|
||||
#define PF_ISDN AF_ISDN
|
||||
#define PF_MAX AF_MAX
|
||||
|
||||
/* Maximum queue length specifiable by listen. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user