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
4e39bfb9
Commit
4e39bfb9
authored
Sep 23, 2015
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update kernel headers to 4.3 net-next
parent
5b9ac190
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
1 deletion
+18
-1
include/linux/bpf.h
include/linux/bpf.h
+9
-0
include/linux/if_ether.h
include/linux/if_ether.h
+1
-0
include/linux/pkt_cls.h
include/linux/pkt_cls.h
+4
-0
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+2
-0
include/linux/tc_act/tc_skbedit.h
include/linux/tc_act/tc_skbedit.h
+2
-1
No files found.
include/linux/bpf.h
View file @
4e39bfb9
...
...
@@ -272,6 +272,14 @@ enum bpf_func_id {
BPF_FUNC_skb_get_tunnel_key
,
BPF_FUNC_skb_set_tunnel_key
,
BPF_FUNC_perf_event_read
,
/* u64 bpf_perf_event_read(&map, index) */
/**
* bpf_redirect(ifindex, flags) - redirect to another netdev
* @ifindex: ifindex of the net device
* @flags: bit 0 - if set, redirect to ingress instead of egress
* other bits - reserved
* Return: TC_ACT_REDIRECT
*/
BPF_FUNC_redirect
,
__BPF_FUNC_MAX_ID
,
};
...
...
@@ -293,6 +301,7 @@ struct __sk_buff {
__u32
tc_index
;
__u32
cb
[
5
];
__u32
hash
;
__u32
tc_classid
;
};
struct
bpf_tunnel_key
{
...
...
include/linux/if_ether.h
View file @
4e39bfb9
...
...
@@ -42,6 +42,7 @@
#define ETH_P_LOOP 0x0060
/* Ethernet Loopback packet */
#define ETH_P_PUP 0x0200
/* Xerox PUP packet */
#define ETH_P_PUPAT 0x0201
/* Xerox PUP Addr Trans packet */
#define ETH_P_TSN 0x22F0
/* TSN (IEEE 1722) packet */
#define ETH_P_IP 0x0800
/* Internet Protocol packet */
#define ETH_P_X25 0x0805
/* CCITT X.25 */
#define ETH_P_ARP 0x0806
/* Address Resolution packet */
...
...
include/linux/pkt_cls.h
View file @
4e39bfb9
...
...
@@ -33,6 +33,7 @@ enum {
#define TC_ACT_STOLEN 4
#define TC_ACT_QUEUED 5
#define TC_ACT_REPEAT 6
#define TC_ACT_REDIRECT 7
#define TC_ACT_JUMP 0x10000000
/* Action type identifiers*/
...
...
@@ -319,6 +320,8 @@ enum {
/* BPF classifier */
#define TCA_BPF_FLAG_ACT_DIRECT (1 << 0)
enum
{
TCA_BPF_UNSPEC
,
TCA_BPF_ACT
,
...
...
@@ -328,6 +331,7 @@ enum {
TCA_BPF_OPS
,
TCA_BPF_FD
,
TCA_BPF_NAME
,
TCA_BPF_FLAGS
,
__TCA_BPF_MAX
,
};
...
...
include/linux/rtnetlink.h
View file @
4e39bfb9
...
...
@@ -270,6 +270,7 @@ enum rt_scope_t {
#define RTM_F_CLONED 0x200
/* This route is cloned */
#define RTM_F_EQUALIZE 0x400
/* Multipath equalizer: NI */
#define RTM_F_PREFIX 0x800
/* Prefix addresses */
#define RTM_F_LOOKUP_TABLE 0x1000
/* set rtm_table to FIB lookup result */
/* Reserved table identifiers */
...
...
@@ -664,6 +665,7 @@ struct tcamsg {
#define RTEXT_FILTER_VF (1 << 0)
#define RTEXT_FILTER_BRVLAN (1 << 1)
#define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2)
#define RTEXT_FILTER_SKIP_STATS (1 << 3)
/* End of information exported to user level */
...
...
include/linux/tc_act/tc_skbedit.h
View file @
4e39bfb9
...
...
@@ -11,7 +11,8 @@
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see <http://www.gnu.org/licenses>.
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place - Suite 330, Boston, MA 02111-1307 USA.
*
* Author: Alexander Duyck <alexander.h.duyck@intel.com>
*/
...
...
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