HI,

I am writing a small plugin to process packets from a graph node. I see
that FIB_PROTOCOL_IP4 is being mapped to 0 and fib_table_get(0, 0) (index 0
and protocol 0) is asserting.

However, fib_table_get(0, 1) and fib_table_get(0, 2) are returning ip4 and
ip6 fib tables respectively, indicating that the value of enum
"FIB_PROTOCOL_IP4" is different in the core code and in the plugin.

Is there anything that I should do to make the symbol "CLIB_DEBUG"
available inside the plugin?

Thanks,
-nagp
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to