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

使用eunomia时,可以自定义输出吗 #120

Closed
Guncuke opened this issue May 21, 2024 · 3 comments
Closed

使用eunomia时,可以自定义输出吗 #120

Guncuke opened this issue May 21, 2024 · 3 comments

Comments

@Guncuke
Copy link

Guncuke commented May 21, 2024

在做网络监测的时候,发现不自定义输出的话,IP地址是字节序,而且union组成的ipv4和ipv6无法控制二选一输出,只能用libbpf

@Officeyutong
Copy link
Contributor

在做网络监测的时候,发现不自定义输出的话,IP地址是字节序,而且union组成的ipv4和ipv6无法控制二选一输出,只能用libbpf

Directly use libeunomia and registered a custom output handler

@Officeyutong
Copy link
Contributor

在做网络监测的时候,发现不自定义输出的话,IP地址是字节序,而且union组成的ipv4和ipv6无法控制二选一输出,只能用libbpf

Directly use bpf-loader-rs and registered a custom output handler. See https://github.com/eunomia-bpf/eunomia-bpf/blob/cc60a808ac2e5d927b13e48f9272f814f91552b1/bpf-loader-rs/bpf-loader-lib/src/export_event/tests/mod.rs#L48 for details

@Guncuke
Copy link
Author

Guncuke commented May 25, 2024

thanks

@Guncuke Guncuke closed this as completed May 25, 2024
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

No branches or pull requests

2 participants