nes-proj/examples/libs/ipv6-hooks
..
ipv6-hooks.c
Makefile
README.md

A simple example of how to set up IPv6 packet hooks with netstack_ip_packet_processor_add. You can run this example as native and then ping the node to see printouts from the hooks, at every packet input/output.