Thread (11 messages) 11 messages, 2 authors, 2012-02-21

Re: [B.A.T.M.A.N.] [PATCHv6 1/7] batman-adv: add UNICAST_4ADDR packet type

From: Antonio Quartulli <hidden>
Date: 2012-02-19 14:54:19

On Sat, Feb 18, 2012 at 05:38:47 +0100, Antonio Quartulli wrote:
The current unicast packet type does not contain the orig source address. This
patches add a new unicast packet (called UNICAST_4ADDR) which provides two new
fields: the originator source address and the subtype (the type of the data
contained in the packet payload). The former is useful to identify the node
which injected the packet into the network and the latter is useful to avoid
creating new unicast packet types in the future: a macro defining a new subtype
will be enough.
Hello people,

I was wondering...what about adding a "payload_size" field to the new packet?

The handling code would probably be generic enough to handle any future change
leading to a more stable compat_version (instead of increasing its value
everyday).


Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

Attachments

  • (unnamed) [application/pgp-signature] 490 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help