[Olsr-dev] IP and OLSR
ZioPRoTo (Saverio Proto)
(spam-protected)
Sun May 15 19:10:40 CEST 2011
> I need to get the Type field (TCP or UDP) of the header of the Internet
> Protocol (IP).
> Have some example that how can I get this field from OLSR?
> I want to get Type field of traffic packets on the network. I would like to
> modify
> or add this "knowledge" to OLSR.
You need an extra socket to sniff the traffic packets and get the
information out. A raw socket will do this job. You could implement
this in a plugin.
I suggest to look into the mDNS plugin code as an example
regards
Saverio
More information about the Olsr-dev
mailing list