Hi,

I'm using tos.lib.net.blip.interfaces.UDP

regarding the
event void recvfrom(struct sockaddr_in6 *src, void *payload, uint16_t len, 
struct ip_metadata *meta)

Is there any function to compare the IPv6 address inside in the struct 
sockaddr_in6 *src with another IPv6 (let's say 'fec0::64') ?

I could go through the struct and get the integer on my own but I'm wondering 
if there is any function already implemented similar to the IPRouting.isForMe()

I'm looking for something like:
struct in6_addr getIP(struct sockaddr_in6 *src);

Thanks

Davide
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to