APIs for tc action mirred

Shriram Rajagopalan rshriram at cs.ubc.ca
Sat Jul 20 13:10:08 EDT 2013


Hi,
 I am trying to evaluate the possibility of programmatically doing the
following using libnl. Can someone please tell me if the following can
be done solely using libnl API in a c code or do I need to invoke an
external script ?

tc filter add dev vnet0 parent ffff: proto ip pref 10 \
           u32 match u32  0 0 action mirred egress redirect dev ifb0

Can anyone please point me to the right set of API (if any) to do this
inside C code ?

thanks
shriram



More information about the libnl mailing list