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
05bfd165
Commit
05bfd165
authored
Jan 06, 2009
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update headers to 2.6.28
Put in sanitized 2.6.28 headers
parent
cafa6c8e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
2 deletions
+63
-2
include/linux/if.h
include/linux/if.h
+1
-0
include/linux/if_ether.h
include/linux/if_ether.h
+7
-1
include/linux/if_link.h
include/linux/if_link.h
+1
-0
include/linux/if_tunnel.h
include/linux/if_tunnel.h
+19
-0
include/linux/netfilter.h
include/linux/netfilter.h
+10
-0
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+7
-0
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+4
-0
include/linux/socket.h
include/linux/socket.h
+4
-1
include/linux/xfrm.h
include/linux/xfrm.h
+10
-0
No files found.
include/linux/if.h
View file @
05bfd165
...
...
@@ -24,6 +24,7 @@
/* for "__user" et al */
#define IFNAMSIZ 16
#define IFALIASZ 256
#include <linux/hdlc/ioctl.h>
/* Standard interface flags (netdevice->flags). */
...
...
include/linux/if_ether.h
View file @
05bfd165
...
...
@@ -9,7 +9,7 @@
*
* Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
* Donald Becker, <becker@super.org>
* Alan Cox, <alan@
redhat.com
>
* Alan Cox, <alan@
lxorguk.ukuu.org.uk
>
* Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>
*
* This program is free software; you can redistribute it and/or
...
...
@@ -56,6 +56,7 @@
#define ETH_P_DIAG 0x6005
/* DEC Diagnostics */
#define ETH_P_CUST 0x6006
/* DEC Customer use */
#define ETH_P_SCA 0x6007
/* DEC Systems Comms Arch */
#define ETH_P_TEB 0x6558
/* Trans Ether Bridging */
#define ETH_P_RARP 0x8035
/* Reverse Addr Res packet */
#define ETH_P_ATALK 0x809B
/* Appletalk DDP */
#define ETH_P_AARP 0x80F3
/* Appletalk AARP */
...
...
@@ -74,8 +75,10 @@
#define ETH_P_ATMFATE 0x8884
/* Frame-based ATM Transport
* over Ethernet
*/
#define ETH_P_PAE 0x888E
/* Port Access Entity (IEEE 802.1X) */
#define ETH_P_AOE 0x88A2
/* ATA over Ethernet */
#define ETH_P_TIPC 0x88CA
/* TIPC */
#define ETH_P_EDSA 0xDADA
/* Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ] */
/*
* Non DIX types. Won't clash for 1500 types.
...
...
@@ -99,6 +102,9 @@
#define ETH_P_ECONET 0x0018
/* Acorn Econet */
#define ETH_P_HDLC 0x0019
/* HDLC frames */
#define ETH_P_ARCNET 0x001A
/* 1A for ArcNet :-) */
#define ETH_P_DSA 0x001B
/* Distributed Switch Arch. */
#define ETH_P_TRAILER 0x001C
/* Trailer switch tagging */
#define ETH_P_PHONET 0x00F5
/* Nokia Phonet frames */
/*
* This is an Ethernet frame header.
...
...
include/linux/if_link.h
View file @
05bfd165
...
...
@@ -79,6 +79,7 @@ enum
IFLA_LINKINFO
,
#define IFLA_LINKINFO IFLA_LINKINFO
IFLA_NET_NS_PID
,
IFLA_IFALIAS
,
__IFLA_MAX
};
...
...
include/linux/if_tunnel.h
View file @
05bfd165
...
...
@@ -2,6 +2,7 @@
#define _IF_TUNNEL_H_
#include <linux/types.h>
#include <linux/ip.h>
#define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
#define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
...
...
@@ -47,4 +48,22 @@ struct ip_tunnel_prl {
/* PRL flags */
#define PRL_DEFAULT 0x0001
enum
{
IFLA_GRE_UNSPEC
,
IFLA_GRE_LINK
,
IFLA_GRE_IFLAGS
,
IFLA_GRE_OFLAGS
,
IFLA_GRE_IKEY
,
IFLA_GRE_OKEY
,
IFLA_GRE_LOCAL
,
IFLA_GRE_REMOTE
,
IFLA_GRE_TTL
,
IFLA_GRE_TOS
,
IFLA_GRE_PMTUDISC
,
__IFLA_GRE_MAX
,
};
#define IFLA_GRE_MAX (__IFLA_GRE_MAX - 1)
#endif
/* _IF_TUNNEL_H_ */
include/linux/netfilter.h
View file @
05bfd165
...
...
@@ -38,6 +38,16 @@ enum nf_inet_hooks {
NF_INET_NUMHOOKS
};
enum
{
NFPROTO_UNSPEC
=
0
,
NFPROTO_IPV4
=
2
,
NFPROTO_ARP
=
3
,
NFPROTO_BRIDGE
=
7
,
NFPROTO_IPV6
=
10
,
NFPROTO_DECNET
=
12
,
NFPROTO_NUMPROTO
,
};
union
nf_inet_addr
{
__u32
all
[
4
];
__be32
ip
;
...
...
include/linux/pkt_sched.h
View file @
05bfd165
...
...
@@ -123,6 +123,13 @@ struct tc_prio_qopt
__u8
priomap
[
TC_PRIO_MAX
+
1
];
/* Map: logical priority -> PRIO band */
};
/* MULTIQ section */
struct
tc_multiq_qopt
{
__u16
bands
;
/* Number of bands */
__u16
max_bands
;
/* Maximum number of queues */
};
/* TBF section */
struct
tc_tbf_qopt
...
...
include/linux/rtnetlink.h
View file @
05bfd165
...
...
@@ -580,6 +580,10 @@ enum rtnetlink_groups {
#define RTNLGRP_IPV6_RULE RTNLGRP_IPV6_RULE
RTNLGRP_ND_USEROPT
,
#define RTNLGRP_ND_USEROPT RTNLGRP_ND_USEROPT
RTNLGRP_PHONET_IFADDR
,
#define RTNLGRP_PHONET_IFADDR RTNLGRP_PHONET_IFADDR
RTNLGRP_PHONET_ROUTE
,
#define RTNLGRP_PHONET_ROUTE RTNLGRP_PHONET_ROUTE
__RTNLGRP_MAX
};
#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)
...
...
include/linux/socket.h
View file @
05bfd165
...
...
@@ -188,7 +188,8 @@ struct ucred {
#define AF_IUCV 32
/* IUCV sockets */
#define AF_RXRPC 33
/* RxRPC sockets */
#define AF_ISDN 34
/* mISDN sockets */
#define AF_MAX 35
/* For now.. */
#define AF_PHONET 35
/* Phonet sockets */
#define AF_MAX 36
/* For now.. */
/* Protocol families, same as address families. */
#define PF_UNSPEC AF_UNSPEC
...
...
@@ -225,6 +226,7 @@ struct ucred {
#define PF_IUCV AF_IUCV
#define PF_RXRPC AF_RXRPC
#define PF_ISDN AF_ISDN
#define PF_PHONET AF_PHONET
#define PF_MAX AF_MAX
/* Maximum queue length specifiable by listen. */
...
...
@@ -293,6 +295,7 @@ struct ucred {
#define SOL_RXRPC 272
#define SOL_PPPOL2TP 273
#define SOL_BLUETOOTH 274
#define SOL_PNPIPE 275
/* IPX options */
#define IPX_TYPE 1
...
...
include/linux/xfrm.h
View file @
05bfd165
...
...
@@ -279,6 +279,7 @@ enum xfrm_attr_type_t {
XFRMA_POLICY_TYPE
,
/* struct xfrm_userpolicy_type */
XFRMA_MIGRATE
,
XFRMA_ALG_AEAD
,
/* struct xfrm_algo_aead */
XFRMA_KMADDRESS
,
/* struct xfrm_user_kmaddress */
__XFRMA_MAX
#define XFRMA_MAX (__XFRMA_MAX - 1)
...
...
@@ -415,6 +416,15 @@ struct xfrm_user_report {
struct
xfrm_selector
sel
;
};
/* Used by MIGRATE to pass addresses IKE should use to perform
* SA negotiation with the peer */
struct
xfrm_user_kmaddress
{
xfrm_address_t
local
;
xfrm_address_t
remote
;
__u32
reserved
;
__u16
family
;
};
struct
xfrm_user_migrate
{
xfrm_address_t
old_daddr
;
xfrm_address_t
old_saddr
;
...
...
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