Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit d814b919217a3bfbd170acb3707aff42a580d84e Author: Spyros Gasteratos spyrosgaster@gmail.com Date: Sat Apr 14 22:09:32 2012 +0000
doc: batman-adv/TVLV
d814b919217a3bfbd170acb3707aff42a580d84e batman-adv/TVLV.textile | 13 +++++++++++++ 1 file changed, 13 insertions(+)
diff --git a/batman-adv/TVLV.textile b/batman-adv/TVLV.textile index b136a0c5..ef8aab76 100644 --- a/batman-adv/TVLV.textile +++ b/batman-adv/TVLV.textile @@ -40,4 +40,17 @@ For the record there is already a tlv message parser own but I think one of the above is more than adequate
+ +The kernel uses many tlv-like structs (they're all part of netlink.h) +http://lxr.linux.no/#linux+v3.3.2/include/linux/netlink.h + +there are some which could be very helpful actually + +BUT there exists something even better :-) +our favorite kernel already provides capabilities to create and parse tlvs transparently +http://lxr.linux.no/#linux+v3.3.2/include/net/netlink.h + +(it's actually a very rich api providing even fucntions to nest a tlv message inside another tlv message) + + It is importand that everyone shares his opinion on this because once implemented most of the current functionality should be encoded using tlvs and one of the above methods. \ No newline at end of file