Re: Changing Interface IP address

1999-07-30 Thread Mike Smith
> 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 w

Re: Changing Interface IP address

1999-07-30 Thread eT
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 wa

Re: Changing Interface IP address

1999-07-30 Thread Mike Smith
> 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

Re: Changing Interface IP address

1999-07-30 Thread Mike Smith
> 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 ker

Re: Changing Interface IP address

1999-07-30 Thread eT
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 un

Re: Changing Interface IP address

1999-07-30 Thread Mike Smith
> 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 shoul

Changing Interface IP address

1999-07-29 Thread eT
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

Changing Interface IP address

1999-07-29 Thread eT
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