Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 10:30:18 +0200
From:      eT <eT@post.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        Hackers FreeBSD <hackers@freebsd.org>
Subject:   Re: Changing Interface IP address
Message-ID:  <37A1629A.7C7AF32F@post.com>
References:  <199907300749.AAA01140@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:

> > 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.

But I was under the impression that I can't do ioctl calls in the kernel?  Which call
should I then make from within the kernel?

Thanks for the Help




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?37A1629A.7C7AF32F>