Johny Mattsson-4 wrote
> You probably also want to ask yourself why you're trying to go from a
> message_t to IP headers without letting the stack do the proper
> unwrapping for you. :)

Because I'm building a NIDS and I need the some node (/watchdogs/) to act
"promiscuously" and analyze the packets exchanged in their neighborhood. For
that, I need to access the packet as soon as the radio downloads it and
before it discards if it's not destined to the mote. To the best of my
knowledge, I should do that in file CC2420XDriverLayerP (as modified in the
application PPPSniffer). The packets aren't sent up the stack if the node
isn't the final destination, are they?



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/Access-ip-h-structs-from-message-t-tp23519p23528.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to