Re: exposing kernel driver to user space app (net link)

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

 



hi ilya,
this is a sample user app. and kernel driver for net link socket, not exactly a sample code but a solution to problem that I have faced (smiler to your problem).
and this link will also help alot.
                      www.linuxjournal.com/article/7356
I can reply more query about this by next week end if you have please post it.
And give your code so i can give answer specific to your problem.
ilya <jibberboosh@xxxxxxxxx> wrote:
On 8/16/07, kashif saeed wrote:
> hi ilya,
> I'll send you a sample code for kernel module and user app. by Monday. I am
> not at my place now and busy in some work so i might not be able to
> look at your problem till Sunday.

hello, sounds awesome.

i actually figured it out after digging through some
code on google. i needed to use the 'genl_info' strucutre
and nla_get_string(). now i need to get the replies from
kernel to user space to work.

i could definitely use some sample code.

thank you very much.

-- ilya


Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.

Attachment: invoke-driver.c
Description: 3240647086-invoke-driver.c

Attachment: sendRecive.c
Description: 1674321809-sendRecive.c


[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