diff options
Diffstat (limited to 'internal/c/maps.h')
| -rw-r--r-- | internal/c/maps.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/internal/c/maps.h b/internal/c/maps.h index 1624ff8..665e4ff 100644 --- a/internal/c/maps.h +++ b/internal/c/maps.h @@ -12,9 +12,28 @@ struct socketpair_ctx { __s32 protocol; }; +struct pipe_ctx { + __u64 upipefd; + __s32 flags; +}; + struct { __uint(type, BPF_MAP_TYPE_HASH); __uint(max_entries, 8192); __type(key, __u32); __type(value, struct socketpair_ctx); } socketpair_ctx_map SEC(".maps"); + +struct { + __uint(type, BPF_MAP_TYPE_HASH); + __uint(max_entries, 8192); + __type(key, __u32); + __type(value, struct pipe_ctx); +} pipe_ctx_map SEC(".maps"); + +struct { + __uint(type, BPF_MAP_TYPE_HASH); + __uint(max_entries, 8192); + __type(key, __u32); + __type(value, __s32); +} eventfd_flags_map SEC(".maps"); |
