diff options
| author | 2016-02-21 22:07:11 -0500 | |
|---|---|---|
| committer | 2016-02-21 22:07:11 -0500 | |
| commit | 9c572dc4835aaca7a2f81db184dc25833980bb9c (patch) | |
| tree | 78c48c223c2b45253361e929a1bffc291dd16925 /include/linux/bpf.h | |
| parent | Merge branch 'geneve-vxlan-outer-checksum' (diff) | |
| parent | bpf: don't emit mov A,A on return (diff) | |
| download | wireguard-linux-9c572dc4835aaca7a2f81db184dc25833980bb9c.tar.xz wireguard-linux-9c572dc4835aaca7a2f81db184dc25833980bb9c.zip | |
Merge branch 'bpf-helper-improvements'
Daniel Borkmann says:
====================
BPF updates
This set contains various updates for eBPF, i.e. the addition of a
generic csum helper function and other misc bits that mostly improve
existing helpers and ease programming with eBPF on cls_bpf. For more
details, please see individual patches.
Set is rebased on top of http://patchwork.ozlabs.org/patch/584465/.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/bpf.h')
| -rw-r--r-- | include/linux/bpf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 0cadbb7456c0..51e498e5470e 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -65,6 +65,7 @@ enum bpf_arg_type { */ ARG_PTR_TO_STACK, /* any pointer to eBPF program stack */ ARG_CONST_STACK_SIZE, /* number of bytes accessed from stack */ + ARG_CONST_STACK_SIZE_OR_ZERO, /* number of bytes accessed from stack or 0 */ ARG_PTR_TO_CTX, /* pointer to context */ ARG_ANYTHING, /* any (initialized) argument is ok */ |
