Question about tlv message support

JAYESH TANK jayeshece08 at gmail.com
Mon Apr 16 09:57:17 EDT 2012


Hi,
I could not locate ready made APIs for TLV construction and encoding but a
more generic implementation/functions can be seen in
include/linux/tipc_config.h file.
Hope that helps.

-Jayesh Kumar
"You don't know, until you know."


On Mon, Apr 16, 2012 at 6:30 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
>
> On Mon, Apr 16, 2012 at 3:30 PM, Javier Martinez Canillas
> <martinez.javier at gmail.com> wrote:
> > On Fri, Apr 13, 2012 at 8:22 PM, NorthPole <morfeas3000 at gmail.com>
> wrote:
> >> Hello everyone
> >>
> >> I'm completely new to linux kernel and I would be grateful if you
> >> could help me get started.
> >> I read some basic things about the kernel. But I couldnt find anything
> >> relevant to the question below.
> >>
> >> So: Does the kernel have any support for the construction and encoding
> >> of type/length/value (TLV) or other information element messages?
> >>  if it has(or if you dont know) where can I find a list or more
> documentation?
> >>
> >
> > I think what you are looking for is the Generic Netlink API.
> >
> > Here is a good howto:
> >
> http://www.linuxfoundation.org/collaborate/workgroups/networking/genericnetlinkhowto
> >
> > Hope it helps,
> >
> > --
> > Javier Martínez Canillas
> > (+34) 682 39 81 69
> > Barcelona, Spain
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120416/f6d26b0d/attachment.html 


More information about the Kernelnewbies mailing list