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
e46efaed
Commit
e46efaed
authored
Apr 10, 2015
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update kernel headers for net-next
Current santized kernel headers from net-next
parent
93390779
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
include/linux/bpf.h
include/linux/bpf.h
+38
-0
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+4
-0
include/linux/xfrm.h
include/linux/xfrm.h
+2
-0
No files found.
include/linux/bpf.h
View file @
e46efaed
...
...
@@ -168,6 +168,43 @@ enum bpf_func_id {
BPF_FUNC_map_delete_elem
,
/* int map_delete_elem(&map, &key) */
BPF_FUNC_get_prandom_u32
,
/* u32 prandom_u32(void) */
BPF_FUNC_get_smp_processor_id
,
/* u32 raw_smp_processor_id(void) */
/**
* skb_store_bytes(skb, offset, from, len, flags) - store bytes into packet
* @skb: pointer to skb
* @offset: offset within packet from skb->data
* @from: pointer where to copy bytes from
* @len: number of bytes to store into packet
* @flags: bit 0 - if true, recompute skb->csum
* other bits - reserved
* Return: 0 on success
*/
BPF_FUNC_skb_store_bytes
,
/**
* l3_csum_replace(skb, offset, from, to, flags) - recompute IP checksum
* @skb: pointer to skb
* @offset: offset within packet where IP checksum is located
* @from: old value of header field
* @to: new value of header field
* @flags: bits 0-3 - size of header field
* other bits - reserved
* Return: 0 on success
*/
BPF_FUNC_l3_csum_replace
,
/**
* l4_csum_replace(skb, offset, from, to, flags) - recompute TCP/UDP checksum
* @skb: pointer to skb
* @offset: offset within packet where TCP/UDP checksum is located
* @from: old value of header field
* @to: new value of header field
* @flags: bits 0-3 - size of header field
* bit 4 - is pseudo header
* other bits - reserved
* Return: 0 on success
*/
BPF_FUNC_l4_csum_replace
,
__BPF_FUNC_MAX_ID
,
};
...
...
@@ -183,6 +220,7 @@ struct __sk_buff {
__u32
vlan_present
;
__u32
vlan_tci
;
__u32
vlan_proto
;
__u32
priority
;
};
#endif
/* __LINUX_BPF_H__ */
include/linux/rtnetlink.h
View file @
e46efaed
...
...
@@ -134,6 +134,8 @@ enum {
RTM_NEWNSID
=
88
,
#define RTM_NEWNSID RTM_NEWNSID
RTM_DELNSID
=
89
,
#define RTM_DELNSID RTM_DELNSID
RTM_GETNSID
=
90
,
#define RTM_GETNSID RTM_GETNSID
...
...
@@ -633,6 +635,8 @@ enum rtnetlink_groups {
#define RTNLGRP_MDB RTNLGRP_MDB
RTNLGRP_MPLS_ROUTE
,
#define RTNLGRP_MPLS_ROUTE RTNLGRP_MPLS_ROUTE
RTNLGRP_NSID
,
#define RTNLGRP_NSID RTNLGRP_NSID
__RTNLGRP_MAX
};
#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)
...
...
include/linux/xfrm.h
View file @
e46efaed
#ifndef _LINUX_XFRM_H
#define _LINUX_XFRM_H
#include <linux/in6.h>
#include <linux/types.h>
/* All of the structures in this file may not change size as they are
...
...
@@ -13,6 +14,7 @@
typedef
union
{
__be32
a4
;
__be32
a6
[
4
];
struct
in6_addr
in6
;
}
xfrm_address_t
;
/* Ident of a specific xfrm_state. It is used on input to lookup
...
...
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