[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ifconfig and some minor fixes.
From: |
Alain Magloire |
Subject: |
Re: ifconfig and some minor fixes. |
Date: |
Fri, 22 Jun 2001 11:36:40 -0400 (EDT) |
>
> > It's just a thought, but since they
> > are not standard(?) maybe we could always fall back
> > to ifr_addr? or provide/check the macro?
>
> I suppose we'd better check for ifr_netmask in configure.in:
>
> IU_CHECK_STRUCT_FIELD(ifreq,
> ifr_netmask,
> [#include <sys/socket.h>
> #include <net/if.h>])
>
> and then just do
>
> #ifndef HAVE_IFREC_IFR_NETMASK
> # define ifr_netmask ifr_addr
> #endif
>
> in appropriate header.
Sure. I think you did the same for ifr_index.
>
> By the way, did the if_index patch work on Neutrino?
Niet.
- Walking ifreq to discover the interface was off, neutrino
provided sa_len but did not have an SA_LEN() macro 8)
- We do not deal with aliases
- We do not deal with family i.e. should we
accept only AF_INET family?
etc ..
I was going to provide a patch but got distracted by soccer 8)
we kicked Alcatel/Newbridge arss(or was it Nortel or Cisco ?)
--
alain
- Re: ifconfig and some minor fixes., (continued)
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/04
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/20
- Re: ifconfig and some minor fixes., Marcus Brinkmann, 2001/06/20
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/20
- Re: ifconfig and some minor fixes., Marcus Brinkmann, 2001/06/20
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/21
- Re: ifconfig and some minor fixes., Marcus Brinkmann, 2001/06/21
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/22
- Re: ifconfig and some minor fixes., Sergey Poznyakoff, 2001/06/22
- Re: ifconfig and some minor fixes.,
Alain Magloire <=
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/22
- Re: ifconfig and some minor fixes., Marcus Brinkmann, 2001/06/23
- Re: ifconfig and some minor fixes., Sergey Poznyakoff, 2001/06/23
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/25
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/25
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/25
- Re: ifconfig and some minor fixes., Sergey Poznyakoff, 2001/06/20
- Re: ifconfig and some minor fixes., Alain Magloire, 2001/06/20
Re: ifconfig and some minor fixes., Marcus Brinkmann, 2001/06/04
Re: ifconfig and some minor fixes., Sergey Poznyakoff, 2001/06/05