Re: [B.A.T.M.A.N.] [PATCHv3 6/6] batman-adv: set the isolation mark in the skb if needed

Marek Lindner
2013-11-17T03:37:10Z

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

On Saturday 16 November 2013 12:03:52 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> If a broadcast packet is coming from a client marked as
> isolated, then mark the skb using the isolation mark so
> that netfilter (or any other application) can recognise
> them.
>
> The mark is written in the skb based on the mask value:
> only bits set in the mask are substitued by those in the
> mark value
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> soft-interface.c | 18 ++++++++++++++++--
> translation-table.c | 26 ++++++++++++++++++++++++++
> translation-table.h | 2 ++
> 3 files changed, 44 insertions(+), 2 deletions(-)

Applied in revision 6fa38a2.

Thanks,
Marek

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