[Battlemesh] Result documentation RFC / Differential Service Field + TOS, DSCP-settings

Simon Wunderlich sw at simonwunderlich.de
Mon Aug 24 20:14:35 CEST 2015

Hi Bastian,

On Monday 24 August 2015 13:25:29 Bastian Bittorf wrote:
> * Jonathan Morton <chromatix99 at gmail.com> [24.08.2015 13:06]:
> > I thought Babel also used an appropriate DSCP on its control traffic.
> at least i cannot find this in the source.
> julius/matthieu - can you say something about that?
> simon: can somebody from the batman-adv people enlighten us?

As a Layer 2 protocol, we don't send IP packets and therefore don't have a 
DSCP field to set. We could possibly set skb->priority fields when sending out 
OGM packets, but we currently don't do that.

What we do is inspecting sent payload traffic and set skb priorities according 
to IPv4/IPv6 DSCP field.

Normally, the WiFi driver (mac80211) takes care of that, however since batman-
adv encapsulates the packets we have to help a little here. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://ml.ninux.org/pipermail/battlemesh/attachments/20150824/ceda798a/attachment-0001.sig>

More information about the Battlemesh mailing list