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 <[email protected]> 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
> <[email protected]> wrote:
> > On Fri, Apr 13, 2012 at 8:22 PM, NorthPole <[email protected]>
> 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
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to