Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 18:07:53 +0200
From:      eT <eT@KryptoKom.DE>
To:        Hackers FreeBSD <hackers@freebsd.org>
Subject:   Changing Interface IP address
Message-ID:  <37A07C58.D7E97962@kryptokom.de>

next in thread | raw e-mail | index | archive | help
I would like to change the IP address (netmask, gateway etc.) of an Interface
(eg. fxp0) from within my C source code.

1. Is this possible to do without the SIOC ioctl call? (i am already in the
kernel).
2. Which structure and which member should I write the new information to
(ifaddr?)?

Thanks



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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