Re: [riot-devel] Global IPV6
I would prefer to get an event when a global IPV6 is added so I'm sure it is otherwise if a new prefix is advertised/seen, i'm not sure an IPV6 is added. So what Martine suggested should be ok for my purpose. 2016-07-13 21:39 GMT+02:00 Thomas C. Schmidt: > Hi Baptiste, > > are you in search for a trigger that fires every time a new prefix is > advertised/seen? Or do you refer to the event of a new IPv6 interface being > configured? > > Cheers, > Thomas > > On 13.07.2016 16:51, Baptiste Clenet wrote: >> >> 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, >> > > -- > > Prof. Dr. Thomas C. Schmidt > ° Hamburg University of Applied Sciences Berliner Tor 7 ° > ° Dept. Informatik, Internet Technologies Group20099 Hamburg, Germany ° > ° http://www.haw-hamburg.de/inet Fon: +49-40-42875-8452 ° > ° http://www.informatik.haw-hamburg.de/~schmidtFax: +49-40-42875-8409 ° > > ___ > 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
Re: [riot-devel] Global IPV6
Hi Baptiste, are you in search for a trigger that fires every time a new prefix is advertised/seen? Or do you refer to the event of a new IPv6 interface being configured? Cheers, Thomas On 13.07.2016 16:51, Baptiste Clenet wrote: 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, -- Prof. Dr. Thomas C. Schmidt ° Hamburg University of Applied Sciences Berliner Tor 7 ° ° Dept. Informatik, Internet Technologies Group20099 Hamburg, Germany ° ° http://www.haw-hamburg.de/inet Fon: +49-40-42875-8452 ° ° http://www.informatik.haw-hamburg.de/~schmidtFax: +49-40-42875-8409 ° ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
Re: [riot-devel] Global IPV6
Thanks Martine! 2016-07-13 17:07 GMT+02:00 Martine Lenders: > 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 : >> >> 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 : >> > 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 : >> >> >> >> 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 > -- Baptiste ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel
[riot-devel] Global IPV6
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
Re: [riot-devel] Global IPV6
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: > 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