diff options
Diffstat (limited to 'include/uapi/linux/bpf.h')
| -rw-r--r-- | include/uapi/linux/bpf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 45da7ec7d274..0248180bf2e2 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h | |||
| @@ -120,6 +120,8 @@ enum bpf_prog_type { | |||
| 120 | BPF_PROG_TYPE_SOCKET_FILTER, | 120 | BPF_PROG_TYPE_SOCKET_FILTER, |
| 121 | }; | 121 | }; |
| 122 | 122 | ||
| 123 | #define BPF_PSEUDO_MAP_FD 1 | ||
| 124 | |||
| 123 | /* flags for BPF_MAP_UPDATE_ELEM command */ | 125 | /* flags for BPF_MAP_UPDATE_ELEM command */ |
| 124 | #define BPF_ANY 0 /* create new element or update existing */ | 126 | #define BPF_ANY 0 /* create new element or update existing */ |
| 125 | #define BPF_NOEXIST 1 /* create new element if it didn't exist */ | 127 | #define BPF_NOEXIST 1 /* create new element if it didn't exist */ |
