Topics

Accessing current netns info in a TC eBPF program


siva.gaggara@...
 

Hi,

I am trying to attach the same TC eBPF program instance to both host
and container interfaces. So some of the maps need to be qualified
with the netns id. I was wondering if there is a way to access the
'current' netns info in a TC eBPF program. It would be quite helpful if
you could provide me with some pointers.

Thanks

Siva