[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Changing Interface IP address
From:       eT <eT () post ! com>
Date:       1999-07-30 8:30:18
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic