Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 14:40:27 -0300 (GRNLNDST)
From:      ormonde@trem.cnt.org.br (Rodrigo Ormonde)
To:        hackers@freebsd.org
Subject:   Discovering network interfaces
Message-ID:  <9612111740.AA13674@trem.cnt.org.br>

next in thread | raw e-mail | index | archive | help
  Helo.

  I have to write a program to show the user the names of the currently 
configured network interfaces. (something like netstat -in)
  The problem is that I have no idea how this could be done inside a C program
(I don't want to execute a external program like netstat to do this. It'd be
nice if I could do it inside my C program).  

  Does anybody know a function/system call which can be used to list the
network interfaces ? 

  Any help will be apreciated.

  Please send answers to me, I'm not on the list.

  Thanks in advance. 

-- 
Rodrigo de La Rocque Ormonde
e-mail: ormonde@cnt.org.br
PGP Public key: finger ormonde@cnt.org.br 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9612111740.AA13674>