alistair23-linux/net/batman-adv
Antonio Quartulli c42edfe382 batman-adv: add isolation_mark sysfs attribute
This attribute can be used to set and read the value and the
mask of the skb mark which will be used to classify the
source non-mesh client as ISOLATED. In this way a client can
be advertised as such and the mark can potentially be
restored at the receiving node before delivering the skb.

This can be helpful for creating network wide netfilter
policies.

This sysfs file expects a string of the shape "$mark/$mask".
Where $mark has to be a 32-bit number in any base, while
$mask must be a 32bit mask expressed in hex base. Only bits
in $mark covered by the bitmask are really stored.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-01-08 20:49:42 +01:00
..
bat_algo.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bat_iv_ogm.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bitarray.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bitarray.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bridge_loop_avoidance.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
bridge_loop_avoidance.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
debugfs.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
debugfs.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
distributed-arp-table.c batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
distributed-arp-table.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
fragmentation.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
fragmentation.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
gateway_client.c batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
gateway_client.h batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
gateway_common.c batman-adv: rename gw_deselect() to gw_reselect() 2014-01-08 20:49:41 +01:00
gateway_common.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hard-interface.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hard-interface.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hash.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
hash.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
icmp_socket.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
icmp_socket.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
main.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
main.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
Makefile batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
network-coding.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
network-coding.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
originator.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
originator.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
packet.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
routing.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
routing.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
send.c batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
send.h batman-adv: send every DHCP packet as bat-unicast 2014-01-08 20:49:42 +01:00
soft-interface.c batman-adv: add isolation_mark sysfs attribute 2014-01-08 20:49:42 +01:00
soft-interface.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
sysfs.c batman-adv: add isolation_mark sysfs attribute 2014-01-08 20:49:42 +01:00
sysfs.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
translation-table.c batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
translation-table.h batman-adv: remove FSF address from GPL disclaimer 2014-01-08 20:49:39 +01:00
types.h batman-adv: add isolation_mark sysfs attribute 2014-01-08 20:49:42 +01:00