Re: Ifconfig

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

 



On Tue, Aug 28, 2007 at 11:11:10AM +0530, Queenie de Melo wrote:
> Does anyone know how the application ifconfig interacts with the
> kernel through the ioctl.
> 
> i wanted to know deeper abt that function.
> 
> Can anyone help out!

Get the source and read it?

On a Debian based system

  apt-get source `dpkg -S /sbin/ifconfig | sed 's/:.*//'`

will get you the net-tools source.

Or just strace the application: strace -o blah /sbin/ifconfig eth0


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[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