Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从我的 XDP 程序内部为 struct in6_addr 赋值。从用户空间可以使用
struct in6_addr in6 = {}; inet_pton(AF_INET6, "fc00:dead:cafe:2::1", &in6);
但似乎 inet_pton 在 eBPF 中不可用。有没有可用的 BPF 助手?
谢谢你。