Re: Question about tlv message support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
> On Fri, Apr 13, 2012 at 8:22 PM, NorthPole <morfeas3000@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux