> 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).
Make the call from within the kernel. > 2. Which structure and which member should I write the new information to > (ifaddr?)? Call the ioctl, which will do whatever needs to be done. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msm...@freebsd.org \\ -- Joseph Merrick \\ msm...@cdrom.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message