Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
825254ab
Commit
825254ab
authored
Jun 19, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bpf_redirect_map function in bpf_helpers.h
parent
d2ba96ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
packet-exchange/src/bpf_helpers.h
packet-exchange/src/bpf_helpers.h
+2
-0
No files found.
packet-exchange/src/bpf_helpers.h
View file @
825254ab
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment