Dear All,

I am trying to inject a BPF_PROG_TYPE_SCHED_ACT program and attach it to the TC using C++.

I had no particular problems compiling and injecting the program, however I haven't been able to attach it to TC, I know that in go I can use the netlink library [1] or in python pyroute2 [2], unfortunately it appears not to be a similar library in C++

Is there a library that implements this functionality for C or C++? in case of negative, does some body have a example code of how to achieve this using the netlink protocol?

Thanks in Advance,

Mauricio

[1] https://github.com/vishvananda/netlink

[2] http://docs.pyroute2.org/

_______________________________________________
iovisor-dev mailing list
[email protected]
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to