Commit 825254ab authored by Joanne Hugé's avatar Joanne Hugé

Add bpf_redirect_map function in bpf_helpers.h

parent d2ba96ee
...@@ -35,6 +35,8 @@ static int (*bpf_perf_event_read)(void *map, int index) = ...@@ -35,6 +35,8 @@ static int (*bpf_perf_event_read)(void *map, int index) =
(void *) BPF_FUNC_perf_event_read; (void *) BPF_FUNC_perf_event_read;
static int (*bpf_clone_redirect)(void *ctx, int ifindex, int flags) = static int (*bpf_clone_redirect)(void *ctx, int ifindex, int flags) =
(void *) BPF_FUNC_clone_redirect; (void *) BPF_FUNC_clone_redirect;
static int (*bpf_redirect_map)(void *map, int key, int flags) =
(void *) BPF_FUNC_redirect_map;
static int (*bpf_redirect)(int ifindex, int flags) = static int (*bpf_redirect)(int ifindex, int flags) =
(void *) BPF_FUNC_redirect; (void *) BPF_FUNC_redirect;
static int (*bpf_perf_event_output)(void *ctx, void *map, static int (*bpf_perf_event_output)(void *ctx, void *map,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment