Re: ioctl in kernel

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

 



Hi,
  If you have the pointer to net_device (say *dev), 
you can call dev->do_ioctl().

-Ravi.


--- Nickolay Dokovsky <dokovsky@cs.utwente.nl> wrote:
> Hello,
> May you provide an example how to invoke ioctl on
> device from kernel
> module.
> For instance I have an dev pointer to struct
> net_device and I want to
> make SIOCSIFADDR on it from kernel module.
> Thank you



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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