[Olsr-users] Clarification about not compliant packet

Lorenzo Salvatore (spam-protected)
Wed Feb 12 02:36:20 CET 2014


Hi
I was trying to create a couple of parser for Hello and TC messages to add in a plugin. I've taken the default parsers to learn how to manage the packages. In the TC parser there were lots of strange thing but after checking I've understood that those were a set of operation to work with LQ. I'm neither interested nor annoyed by LQ, but if that modify packet I should know how.
For example, about Hello packet, I've seen that there is a check in the parser to know if the packet is a LQ Hello or not. In the first case it start the deserialization procedure for LQ (you can see those things in deserialize_hello). About TC packet the deserialization procedure is done every time, without checking if the packet is LQ or not. Why? Inside the deserialization process there is a check?
And then, if I let active the LQ plugin, every TC and Hello packets sent are LQ?
Anyway, how TC and Hello LQ packets are different from the standard?
Thanks in advance 		 	   		  



More information about the Olsr-users mailing list