public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Combination of flags in tt_query packets
@ 2011-06-12  9:52 Sven Eckelmann
  2011-06-13 13:25 ` Antonio Quartulli
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Eckelmann @ 2011-06-12  9:52 UTC (permalink / raw)
  To: Antonio Quartulli; +Cc: b.a.t.m.a.n

[-- Attachment #1: Type: Text/Plain, Size: 917 bytes --]

Hi,

just looked a little bit closer at your tt_query implementation and was 
reminded that we had a small discussion in IRC some weeks ago.

<ecsv> can those flags be mixed?
<ordex> mixed? in which way?
<ecsv> request | table -> still a valid package
<ecsv> sry, packet
<ordex> yes it is, because it means "I'm requesting a full table"
<ordex> all the combinations are valid

This sounds wrong when I look at the tt_query packet. There we have a tt_data 
field which can used used exclusive by either TT_REQUEST (x)or TT_RESPONSE. 
Therefore, it is not possible to use both flags at the same time. Can you 
please explain how this is handled or otherwise change it so that only one bit 
in flags is used to decide if it is an response or a request.

Maybe this was the result of the discussion with Marek about the roaming stuff 
- but i don't think that it applies here.

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-13 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-12  9:52 [B.A.T.M.A.N.] Combination of flags in tt_query packets Sven Eckelmann
2011-06-13 13:25 ` Antonio Quartulli
2011-06-13 14:29   ` Sven Eckelmann
2011-06-13 14:30     ` Sven Eckelmann
2011-06-13 17:02     ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox