check UDPReport.h
Davide
On 05/set/10, at 16:14, Hamidreza Ghafghazi wrote:
Hi all,
I want to use ipv6 in TinyOS. I went through blip and have done
every steps completely. Now I want to modify a little bit so as to
satisfy my application. In this case, I am using UDPEcho. I want to
send a packet with certain structure and format. Unfortunately, I
don`t know where should I put my data. I mean I don`t know where is
the header file which I can modify the packet format of UDP.
here is the UDP interface:
interface UDP {
command error_t sendto(struct sockaddr_in6 *dest, void *payload,
uint16_t len);
event void recvfrom(struct sockaddr_in6 *src, void *payload,
uint16_t len, struct ip_metadata *meta);
}
Actually I want to know where this *payload refer to which I can
modify.
Is there any header file or something to do this?
Any help will be appreciated.
Thanks in advance
Best regards,
Hamidreza
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help