Re: network configuration from C++



Giampiero Gabbiani wrote:

Hi all,
I need to retrieve the network configuration on the (linux)
machine in which my c++ application has to run.
From an strace of ifconfig, it seems like I need to:

Instead of strace-ing ifconfig you could just read its source
code.

Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@xxxxxxxxxx, ICQ: 134682867

.



Relevant Pages

  • Busy-wait delay in qmail 1.03 after upgrading to Linux 2.6
    ... When I first upgraded to Linux 2.6.0, ... I investigated this further using the following strace command ... and this is what causes the delay. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • RE: ATHCTRL for ATH
    ... No, ifconfig doesn´t support. ... roztyly# sysctl dev.ath.0.ctstimeout=180 ... Setting distance on interface aht0 to 1000 meters ... My friend use Linux Debian and he use atheros ...
    (freebsd-current)
  • Re: [opensuse] ipconfrig--where?
    ... out what's going on with my network configuration, ... ...at least for wireless connections ip + iwconfig with give the same info. ... But then again if iwconfig is related to ifconfig, ... widgets to superkaramba themes to just about every network related package ...
    (SuSE)
  • Re: Finding the external IP on a DSL router?
    ... >technology is in place. ... That feeds into a Linux box which ... >hardware router, well then that is a different story, I guess I always ... IP is not visible to ifconfig. ...
    (RedHat)
  • Re: Adding Flow Director sysctls to ixgbe(4)
    ... Linux also has a generic interface to RX filtering and hashing ... Linux implement it on ethtool command, ... Maybe a new option for ifconfig, or provide new command for it? ... I for one would love to see this functionality built into ifconfig. ...
    (freebsd-net)