I am trying to assign value to struct in6_addr from inside my XDP program. From user space it can be done using
struct in6_addr in6 = {};
inet_pton(AF_INET6, "fc00:dead:cafe:2::1", &in6);
But it seems inet_pton is not available inside eBPF. Is there any BPF helper available for that?
Thank you.