-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
396 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
25-tc-parse-packet-with-direct-memory-access/cilium-ebpf/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../common/cilium-ebpf.Makefile |
22 changes: 22 additions & 0 deletions
22
25-tc-parse-packet-with-direct-memory-access/cilium-ebpf/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
|
||
|
||
## Usage | ||
|
||
build: | ||
|
||
``` | ||
$ make | ||
``` | ||
|
||
run: | ||
|
||
``` | ||
$ make run | ||
$ printf 'HTTP/1.1 200 OK\nContent-Length: 0\n\n' |nc -l 9090 & | ||
$ curl http://127.0.0.1:9090 | ||
$ make cat | ||
``` |
121 changes: 121 additions & 0 deletions
121
25-tc-parse-packet-with-direct-memory-access/cilium-ebpf/bpf_bpfeb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
121 changes: 121 additions & 0 deletions
121
25-tc-parse-packet-with-direct-memory-access/cilium-ebpf/bpf_bpfel.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.