mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-25 23:30:17 +00:00
update kernel headers for net-next
Current santized kernel headers from net-next
This commit is contained in:
parent
9339077928
commit
e46efaed0f
@ -168,6 +168,43 @@ enum bpf_func_id {
|
|||||||
BPF_FUNC_map_delete_elem, /* int map_delete_elem(&map, &key) */
|
BPF_FUNC_map_delete_elem, /* int map_delete_elem(&map, &key) */
|
||||||
BPF_FUNC_get_prandom_u32, /* u32 prandom_u32(void) */
|
BPF_FUNC_get_prandom_u32, /* u32 prandom_u32(void) */
|
||||||
BPF_FUNC_get_smp_processor_id, /* u32 raw_smp_processor_id(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,
|
__BPF_FUNC_MAX_ID,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -183,6 +220,7 @@ struct __sk_buff {
|
|||||||
__u32 vlan_present;
|
__u32 vlan_present;
|
||||||
__u32 vlan_tci;
|
__u32 vlan_tci;
|
||||||
__u32 vlan_proto;
|
__u32 vlan_proto;
|
||||||
|
__u32 priority;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __LINUX_BPF_H__ */
|
#endif /* __LINUX_BPF_H__ */
|
||||||
|
|||||||
@ -134,6 +134,8 @@ enum {
|
|||||||
|
|
||||||
RTM_NEWNSID = 88,
|
RTM_NEWNSID = 88,
|
||||||
#define RTM_NEWNSID RTM_NEWNSID
|
#define RTM_NEWNSID RTM_NEWNSID
|
||||||
|
RTM_DELNSID = 89,
|
||||||
|
#define RTM_DELNSID RTM_DELNSID
|
||||||
RTM_GETNSID = 90,
|
RTM_GETNSID = 90,
|
||||||
#define RTM_GETNSID RTM_GETNSID
|
#define RTM_GETNSID RTM_GETNSID
|
||||||
|
|
||||||
@ -633,6 +635,8 @@ enum rtnetlink_groups {
|
|||||||
#define RTNLGRP_MDB RTNLGRP_MDB
|
#define RTNLGRP_MDB RTNLGRP_MDB
|
||||||
RTNLGRP_MPLS_ROUTE,
|
RTNLGRP_MPLS_ROUTE,
|
||||||
#define RTNLGRP_MPLS_ROUTE RTNLGRP_MPLS_ROUTE
|
#define RTNLGRP_MPLS_ROUTE RTNLGRP_MPLS_ROUTE
|
||||||
|
RTNLGRP_NSID,
|
||||||
|
#define RTNLGRP_NSID RTNLGRP_NSID
|
||||||
__RTNLGRP_MAX
|
__RTNLGRP_MAX
|
||||||
};
|
};
|
||||||
#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)
|
#define RTNLGRP_MAX (__RTNLGRP_MAX - 1)
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
#ifndef _LINUX_XFRM_H
|
#ifndef _LINUX_XFRM_H
|
||||||
#define _LINUX_XFRM_H
|
#define _LINUX_XFRM_H
|
||||||
|
|
||||||
|
#include <linux/in6.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
/* All of the structures in this file may not change size as they are
|
/* All of the structures in this file may not change size as they are
|
||||||
@ -13,6 +14,7 @@
|
|||||||
typedef union {
|
typedef union {
|
||||||
__be32 a4;
|
__be32 a4;
|
||||||
__be32 a6[4];
|
__be32 a6[4];
|
||||||
|
struct in6_addr in6;
|
||||||
} xfrm_address_t;
|
} xfrm_address_t;
|
||||||
|
|
||||||
/* Ident of a specific xfrm_state. It is used on input to lookup
|
/* Ident of a specific xfrm_state. It is used on input to lookup
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user