linux/net/batman-adv
Marek Lindner ef26157747 batman-adv: tvlv - basic infrastructure
The goal is to provide the infrastructure for sending, receiving and
parsing information 'containers' while preserving backward
compatibility. TVLV (based on the commonly known Type Length Value
technique) was chosen as the format for those containers. Even if a
node does not know the tvlv type of a certain container it can simply
skip the current container and proceed with the next. Past experience
has shown features evolve over time, so a 'version' field was added
right from the start to allow differentiating between feature
variants - hence the name: T(ype) V(ersion) L(ength) V(alue).

This patch introduces the basic TVLV infrastructure:
 * register / unregister tvlv containers to be sent with each OGM
   (on primary interfaces only)
 * register / unregister callback handlers to be called upon
   finding the corresponding tvlv type in a tvlv buffer
 * unicast tvlv send / receive API calls

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
2013-10-09 21:22:26 +02:00
..
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
Makefile batman-adv: move ring_buffer helper functions in bat_iv_ogm 2013-05-29 02:44:54 +02:00
bat_algo.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bat_iv_ogm.c batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
bitarray.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bitarray.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bridge_loop_avoidance.c batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
bridge_loop_avoidance.h batman-adv: change VID semantic in the BLA code 2013-05-29 02:44:55 +02:00
debugfs.c batman-adv: network coding - detect coding nodes and remove these after timeout 2013-03-13 22:53:49 +01:00
debugfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
distributed-arp-table.c batman-adv: fix typos in kernel doc & comments 2013-05-29 02:44:53 +02:00
distributed-arp-table.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
gateway_client.c batman-adv: send GW_DEL event when the gw client mode is deselected 2013-08-28 11:33:00 +02:00
gateway_client.h batman-adv: send GW_DEL event when the gw client mode is deselected 2013-08-28 11:33:00 +02:00
gateway_common.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
gateway_common.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hard-interface.c batman-adv: don't initialise batman_iv private members in hard-interface.c 2013-05-29 02:44:54 +02:00
hard-interface.h batman-adv: Don't always delete softif when last slave was removed 2013-03-27 10:27:32 +01:00
hash.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hash.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
icmp_socket.c batman-adv: set skb priority according to content 2013-08-28 11:31:50 +02:00
icmp_socket.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
main.c batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
main.h batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
network-coding.c batman-adv: set up network coding packet handlers during module init 2013-10-02 13:46:19 +02:00
network-coding.h batman-adv: set up network coding packet handlers during module init 2013-10-02 13:46:19 +02:00
originator.c batman-adv: slightly improve neighbor creation debug message 2013-05-29 02:44:53 +02:00
originator.h batman-adv: drop useless argument seqno in neighbor creation 2013-05-29 02:44:53 +02:00
packet.h batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
routing.c batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
routing.h batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
send.c batman-adv: set skb priority according to content 2013-08-28 11:31:50 +02:00
send.h batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
soft-interface.c batman-adv: set the TAG flag for the vid passed to BLA 2013-09-17 21:15:16 +02:00
soft-interface.h batman-adv: Allow to use rntl_link for device creation/deletion 2013-03-27 10:27:34 +01:00
sysfs.c batman-adv: send GW_DEL event when the gw client mode is deselected 2013-08-28 11:33:00 +02:00
sysfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
translation-table.c batman-adv: set skb priority according to content 2013-08-28 11:31:50 +02:00
translation-table.h batman-adv: pass a 16bit long flag argument to tt_global_add() 2013-05-29 02:44:55 +02:00
types.h batman-adv: tvlv - basic infrastructure 2013-10-09 21:22:26 +02:00
unicast.c batman-adv: set skb priority according to content 2013-08-28 11:31:50 +02:00
unicast.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
vis.c batman-adv: set skb priority according to content 2013-08-28 11:31:50 +02:00
vis.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00