Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TCP Echo Server Example #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dave-tucker
Copy link

This example illustrates how to use socket redirection

Signed-off-by: Dave Tucker [email protected]

This example illustrates how to use socket redirection

Signed-off-by: Dave Tucker <[email protected]>
@tohojo
Copy link
Member

tohojo commented Nov 17, 2021

Thanks for the example. But, erm, what does it do? :)

I tried parsing the BPF example, and I'm not actually sure how it works; could you please add a bit more description to the README explaining this? Also, for us non-rustaceans, some hints as to which bit is supposed to be BPF code and which bit is userspace code would be helpful...

@netoptimizer
Copy link
Member

I'm having a hard time finding the BPF code in this example.
I assume it is in echo/echo-ebpf/src/main.rs, but I simply don't understand this code.
We need some more hand-holding the reader that want to learn from this bpf-example, before this can get merged.

@dave-tucker
Copy link
Author

dave-tucker commented Nov 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants