public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 0/7] make the Translation Table component VLAN-aware
@ 2013-05-23 20:15 Antonio Quartulli
  2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 1/7] batman-adv: add the VLAN ID attribute to the TT entry Antonio Quartulli
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Antonio Quartulli @ 2013-05-23 20:15 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Antonio Quartulli

Hello people,

with this patchset I want to introduce a new feature in the TT code which makes
it VLAN aware. This means that now clients belonging to different VLANs created
on top of a generic bat0 are treated differently.

This change gives the possibility to:
- enable AP isolation only on a selected VLAN rather than on all the traffic
- make DAT work correctly when the same IP subnet is used on different VLANs
- leave the possibility to future developers to implement more VLAN specific
  attributes

This patchset is based on top of: "batman-adv: use htons when possible"

This is version v2, and this are the changes from v1:
- improved kernel doc
- created batadv_get_vid() function
- improved documentation for CRC computation
- added compat code for kfree_rcu (struct batadv_priv_vlan)


Cheers,


Antonio Quartulli (7):
  batman-adv: add the VLAN ID attribute to the TT entry
  batman-adv: use vid when computing local and global TT CRC
  batman-adv: print the VID together with the TT entries
  batman-adv: make the GW module correctly talk to the new VLAN-TT
  batman-adv: make the Distributed ARP Table vlan aware
  batman-adv: add per VLAN interface attribute framework
  batman-adv: make the AP isolation attribute VLAN specific

 bridge_loop_avoidance.c |  37 ++---
 compat.c                |   9 ++
 distributed-arp-table.c | 125 +++++++++++------
 gateway_client.c        |  18 ++-
 main.c                  |  74 +++++++++-
 main.h                  |  12 +-
 packet.h                |  12 ++
 routing.c               |  28 ++--
 send.c                  |   8 +-
 send.h                  |  16 ++-
 soft-interface.c        | 114 ++++++++++++---
 sysfs.c                 | 140 +++++++++++++++++++
 sysfs.h                 |  10 ++
 translation-table.c     | 364 ++++++++++++++++++++++++++++++++++++------------
 translation-table.h     |  21 +--
 types.h                 |  27 ++++
 16 files changed, 810 insertions(+), 205 deletions(-)

-- 
1.8.1.5


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

end of thread, other threads:[~2013-05-24  7:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 20:15 [B.A.T.M.A.N.] [PATCHv2 0/7] make the Translation Table component VLAN-aware Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 1/7] batman-adv: add the VLAN ID attribute to the TT entry Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 2/7] batman-adv: use vid when computing local and global TT CRC Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 3/7] batman-adv: print the VID together with the TT entries Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 4/7] batman-adv: make the GW module correctly talk to the new VLAN-TT Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 5/7] batman-adv: make the Distributed ARP Table vlan aware Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 6/7] batman-adv: add per VLAN interface attribute framework Antonio Quartulli
2013-05-24  6:23   ` Marek Lindner
2013-05-24  7:03     ` Antonio Quartulli
2013-05-23 20:15 ` [B.A.T.M.A.N.] [PATCHv2 7/7] batman-adv: make the AP isolation attribute VLAN specific Antonio Quartulli

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