mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-19 07:17:58 +00:00
Update kernel headers based on 4.14-rc7
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
25a24934ab
commit
e348889289
@ -312,7 +312,7 @@ union bpf_attr {
|
|||||||
* jump into another BPF program
|
* jump into another BPF program
|
||||||
* @ctx: context pointer passed to next program
|
* @ctx: context pointer passed to next program
|
||||||
* @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY
|
* @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY
|
||||||
* @index: index inside array that selects specific program to run
|
* @index: 32-bit index inside array that selects specific program to run
|
||||||
* Return: 0 on success or negative error
|
* Return: 0 on success or negative error
|
||||||
*
|
*
|
||||||
* int bpf_clone_redirect(skb, ifindex, flags)
|
* int bpf_clone_redirect(skb, ifindex, flags)
|
||||||
@ -575,7 +575,7 @@ union bpf_attr {
|
|||||||
* @map: pointer to sockmap
|
* @map: pointer to sockmap
|
||||||
* @key: key to lookup sock in map
|
* @key: key to lookup sock in map
|
||||||
* @flags: reserved for future use
|
* @flags: reserved for future use
|
||||||
* Return: SK_REDIRECT
|
* Return: SK_PASS
|
||||||
*
|
*
|
||||||
* int bpf_sock_map_update(skops, map, key, flags)
|
* int bpf_sock_map_update(skops, map, key, flags)
|
||||||
* @skops: pointer to bpf_sock_ops
|
* @skops: pointer to bpf_sock_ops
|
||||||
@ -786,8 +786,8 @@ struct xdp_md {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum sk_action {
|
enum sk_action {
|
||||||
SK_ABORTED = 0,
|
SK_DROP = 0,
|
||||||
SK_DROP,
|
SK_PASS,
|
||||||
SK_REDIRECT,
|
SK_REDIRECT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ struct sctp_remote_error {
|
|||||||
__u16 sre_type;
|
__u16 sre_type;
|
||||||
__u16 sre_flags;
|
__u16 sre_flags;
|
||||||
__u32 sre_length;
|
__u32 sre_length;
|
||||||
__u16 sre_error;
|
__be16 sre_error;
|
||||||
sctp_assoc_t sre_assoc_id;
|
sctp_assoc_t sre_assoc_id;
|
||||||
__u8 sre_data[0];
|
__u8 sre_data[0];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user