[B.A.T.M.A.N.] [PATCHv3 2/6] batman-adv: speed up dat by snooping received ip traffic

Antonio Quartulli a at unstable.cc
Fri May 20 15:51:38 CEST 2016


On Fri, May 06, 2016 at 10:58:23AM +0200, Andreas Pape wrote:
> Speeding up dat address lookup is achieved by snooping all incoming ip
> traffic. This especially increases the propability in bla setups that
> a gateway into a common backbone network already has a fitting dat entry
> to answer incoming ARP requests directly coming from the backbone
> network thus further reducing ARP traffic in the mesh.

Any IP packet can't be sent if an ARP "handshake" has not been performed. This
means that when you are snooping an IP packet you have already snooped an ARP
packet slightly before. In which case do we really win something ?

On top of that, don't you think that snooping *every* packet will badly affect
the performance ? Have you tried measuring the difference ?


Cheers,

-- 
Antonio Quartulli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20160520/e734467d/attachment.sig>


More information about the B.A.T.M.A.N mailing list