question concerning ioctl

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

 



Hello,

at first thank you for your answers to my last question concerning modules - it works 
great with function pointers ;-)

Sorry, but I have a new question:

I want to control a network protocol at runtime.

I have read that one possibility is the use of ioctl's, but I don't know how to use, 
because I don't have a file descriptor (e.g. device).

Another possibility seems to be the use of sysctl, but with sysctl I can't call functions, 
can I?

In generel the concrete question is:
How can I achieve to control a module (call functions)  from a user-space programm?

Thanks,
Nils

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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