Question about tlv message support
JAYESH TANK
jayeshece08 at gmail.com
Mon Apr 16 23:21:37 EDT 2012
Hi All,
I have the answer of that general question.. :)
afaik, this link has listed all the api's which linux kernel supports:
http://www.gnugeneration.com/books/linux/2.6.20/kernel-api/
You can very well go through it and check for certain api availability. As
a point to note, it has api s for 2.6.20 kernel.
Enjoy!!
On Tue, Apr 17, 2012 at 6:06 AM, NorthPole <morfeas3000 at gmail.com> wrote:
> @JAYESH TANK
> thank you very much :-) that was a very good starting poind :D
>
>
> @Javier
> you are right, so here is something more specific
>
> I want to add a framework for tlv message construction and parsing in
> a wireless mesh routing protocol so as it can have the advantages of
> the tlv way of communication (one of which is backwards compatibility)
>
> afaik tlvs are used in many places in the kernel and as Jayesh stated
> there are no ready made apis.
> So if I want to do that I have to copy someone else's code and modify
> it accordingly
>
> but I have another general question:
> In the future if I want to find if the kernel has internal support for
> the X thing how can I find out if it has and how it does support?
>
>
>
> On Tue, Apr 17, 2012 at 3:17 AM, Javier Martinez Canillas
> <martinez.javier at gmail.com> wrote:
> > On Mon, Apr 16, 2012 at 3:00 PM, NorthPole <morfeas3000 at gmail.com>
> wrote:
> >> thx Javier
> >> But isnt the api for use in the user space?
> >> I need something for use in kernel space
> >>
> >
> > What exactly do you want to do?
> >
> > Generic Netlink can be used to communicate both user-space and kernel
> > code, but you will have general answer to general questions :)
> >
> > --
> > Javier Martínez Canillas
> > (+34) 682 39 81 69
> > Barcelona, Spain
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120417/132d6d99/attachment.html
More information about the Kernelnewbies
mailing list