Hi, the the end of the `add` handler [1] for the IPv6 interfaces should be the best place for that.
Cheers, Martine [1] https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c#L160 2016-07-13 17:04 GMT+02:00 Baptiste Clenet <bapcle...@gmail.com>: > Ok, it's what I thought. How can I temporary hack the source code to > get this event handler? Where should I add my function. I need it for > some tests > > 2016-07-13 16:55 GMT+02:00 Martine Lenders <m...@martine-lenders.eu>: > > Hi Baptiste, > > as of now no such event handler exist, but I note such feature it down > for > > the network layer overhaul (previously known as neighbor discovery > > overhaul). Expect some early API proposals the week after IETF. > > > > Cheers, > > Martine > > > > 2016-07-13 16:51 GMT+02:00 Baptiste Clenet <bapcle...@gmail.com>: > >> > >> Hi, > >> > >> How can I be informed that my node has got a new global IPV6? I would > >> like to call a function every time the node get a new global IPV6 > >> address. How can I do that? > >> > >> Cheers, > >> > >> -- > >> Baptiste > >> _______________________________________________ > >> devel mailing list > >> devel@riot-os.org > >> https://lists.riot-os.org/mailman/listinfo/devel > > > > > > > > _______________________________________________ > > devel mailing list > > devel@riot-os.org > > https://lists.riot-os.org/mailman/listinfo/devel > > > > > > -- > Baptiste > _______________________________________________ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel