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
79e9a1db
Commit
79e9a1db
authored
May 03, 2013
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update headers to 3.10
Merge in kernel sanitized headers from upstream
parent
b0a9dbb8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
3 deletions
+48
-3
include/linux/if_ether.h
include/linux/if_ether.h
+3
-0
include/linux/if_link.h
include/linux/if_link.h
+5
-2
include/linux/neighbour.h
include/linux/neighbour.h
+3
-0
include/linux/netlink.h
include/linux/netlink.h
+33
-1
include/linux/pkt_sched.h
include/linux/pkt_sched.h
+1
-0
include/linux/xfrm.h
include/linux/xfrm.h
+3
-0
No files found.
include/linux/if_ether.h
View file @
79e9a1db
...
...
@@ -94,6 +94,9 @@
#define ETH_P_EDSA 0xDADA
/* Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ] */
#define ETH_P_AF_IUCV 0xFBFB
/* IBM af_iucv [ NOT AN OFFICIALLY REGISTERED ID ] */
#define ETH_P_802_3_MIN 0x0600
/* If the value in the ethernet type is less than this value
* then the frame is Ethernet II. Else it is 802.3 */
/*
* Non DIX types. Won't clash for 1500 types.
*/
...
...
include/linux/if_link.h
View file @
79e9a1db
...
...
@@ -199,6 +199,7 @@ enum {
IFLA_INET6_MCAST
,
/* MC things. What of them? */
IFLA_INET6_CACHEINFO
,
/* time values and max reasm size */
IFLA_INET6_ICMP6STATS
,
/* statistics (icmpv6) */
IFLA_INET6_TOKEN
,
/* device token */
__IFLA_INET6_MAX
};
...
...
@@ -247,6 +248,7 @@ enum {
IFLA_VLAN_FLAGS
,
IFLA_VLAN_EGRESS_QOS
,
IFLA_VLAN_INGRESS_QOS
,
IFLA_VLAN_PROTOCOL
,
__IFLA_VLAN_MAX
,
};
...
...
@@ -293,7 +295,7 @@ enum macvlan_mode {
enum
{
IFLA_VXLAN_UNSPEC
,
IFLA_VXLAN_ID
,
IFLA_VXLAN_GROUP
,
IFLA_VXLAN_GROUP
,
/* group or remote address */
IFLA_VXLAN_LINK
,
IFLA_VXLAN_LOCAL
,
IFLA_VXLAN_TTL
,
...
...
@@ -301,11 +303,12 @@ enum {
IFLA_VXLAN_LEARNING
,
IFLA_VXLAN_AGEING
,
IFLA_VXLAN_LIMIT
,
IFLA_VXLAN_PORT_RANGE
,
IFLA_VXLAN_PORT_RANGE
,
/* source port */
IFLA_VXLAN_PROXY
,
IFLA_VXLAN_RSC
,
IFLA_VXLAN_L2MISS
,
IFLA_VXLAN_L3MISS
,
IFLA_VXLAN_PORT
,
/* destination port */
__IFLA_VXLAN_MAX
};
#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
...
...
include/linux/neighbour.h
View file @
79e9a1db
...
...
@@ -21,6 +21,9 @@ enum {
NDA_CACHEINFO
,
NDA_PROBES
,
NDA_VLAN
,
NDA_PORT
,
NDA_VNI
,
NDA_IFINDEX
,
__NDA_MAX
};
...
...
include/linux/netlink.h
View file @
79e9a1db
#ifndef __LINUX_NETLINK_H
#define __LINUX_NETLINK_H
#include <linux/kernel.h>
#include <linux/socket.h>
/* for __kernel_sa_family_t */
#include <linux/types.h>
...
...
@@ -78,7 +79,7 @@ struct nlmsghdr {
#define NLMSG_ALIGNTO 4U
#define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
#define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
#define NLMSG_LENGTH(len) ((len)
+NLMSG_ALIGN(NLMSG_HDRLEN)
)
#define NLMSG_LENGTH(len) ((len)
+ NLMSG_HDRLEN
)
#define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
#define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
#define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
...
...
@@ -105,11 +106,42 @@ struct nlmsgerr {
#define NETLINK_PKTINFO 3
#define NETLINK_BROADCAST_ERROR 4
#define NETLINK_NO_ENOBUFS 5
#define NETLINK_RX_RING 6
#define NETLINK_TX_RING 7
struct
nl_pktinfo
{
__u32
group
;
};
struct
nl_mmap_req
{
unsigned
int
nm_block_size
;
unsigned
int
nm_block_nr
;
unsigned
int
nm_frame_size
;
unsigned
int
nm_frame_nr
;
};
struct
nl_mmap_hdr
{
unsigned
int
nm_status
;
unsigned
int
nm_len
;
__u32
nm_group
;
/* credentials */
__u32
nm_pid
;
__u32
nm_uid
;
__u32
nm_gid
;
};
enum
nl_mmap_status
{
NL_MMAP_STATUS_UNUSED
,
NL_MMAP_STATUS_RESERVED
,
NL_MMAP_STATUS_VALID
,
NL_MMAP_STATUS_COPY
,
NL_MMAP_STATUS_SKIP
,
};
#define NL_MMAP_MSG_ALIGNMENT NLMSG_ALIGNTO
#define NL_MMAP_MSG_ALIGN(sz) __ALIGN_KERNEL(sz, NL_MMAP_MSG_ALIGNMENT)
#define NL_MMAP_HDRLEN NL_MMAP_MSG_ALIGN(sizeof(struct nl_mmap_hdr))
#define NET_MAJOR 36
/* Major 36 is reserved for networking */
enum
{
...
...
include/linux/pkt_sched.h
View file @
79e9a1db
...
...
@@ -348,6 +348,7 @@ enum {
TCA_HTB_INIT
,
TCA_HTB_CTAB
,
TCA_HTB_RTAB
,
TCA_HTB_DIRECT_QLEN
,
__TCA_HTB_MAX
,
};
...
...
include/linux/xfrm.h
View file @
79e9a1db
...
...
@@ -297,6 +297,7 @@ enum xfrm_attr_type_t {
XFRMA_MARK
,
/* struct xfrm_mark */
XFRMA_TFCPAD
,
/* __u32 */
XFRMA_REPLAY_ESN_VAL
,
/* struct xfrm_replay_esn */
XFRMA_SA_EXTRA_FLAGS
,
/* __u32 */
__XFRMA_MAX
#define XFRMA_MAX (__XFRMA_MAX - 1)
...
...
@@ -367,6 +368,8 @@ struct xfrm_usersa_info {
#define XFRM_STATE_ESN 128
};
#define XFRM_SA_XFLAG_DONT_ENCAP_DSCP 1
struct
xfrm_usersa_id
{
xfrm_address_t
daddr
;
__be32
spi
;
...
...
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