Re: ia_netbroadcast

2004-05-20 Thread Bruce M Simpson
On Thu, May 20, 2004 at 10:55:21PM +0200, Andre Oppermann wrote: > However I'm not yet sure we (better I) understand all implications of > removing the things you do in your patch. Please hold off for a moment > until I've finished thinking and looking through the implications. I say can it. It a

Re: ia_netbroadcast

2004-05-20 Thread Pawel Jakub Dawidek
On Thu, May 20, 2004 at 10:55:21PM +0200, Andre Oppermann wrote: +> > Ok, this patch: +> > +> > http://people.freebsd.org/~pjd/patches/no_old_style_nets.patch +> > +> > removes ia_netbroadcast, ia_net, ia_netmask field from structure +> > in_ifaddr and removes sysctl net.inet.ip.subnets_a

Re: ia_netbroadcast

2004-05-20 Thread Andre Oppermann
Pawel Jakub Dawidek wrote: > > On Tue, May 18, 2004 at 03:47:56AM -0700, Luigi Rizzo wrote: > +> On Tue, May 18, 2004 at 12:05:03PM +0200, Pawel Jakub Dawidek wrote: > +> ... > +> > +> > Do we still need ia_netboradcast field? It is calculated depending on > +> > +> > old-fashion classes (A, B, C)

Re: ia_netbroadcast

2004-05-20 Thread Pawel Jakub Dawidek
On Tue, May 18, 2004 at 03:47:56AM -0700, Luigi Rizzo wrote: +> On Tue, May 18, 2004 at 12:05:03PM +0200, Pawel Jakub Dawidek wrote: +> ... +> > +> > Do we still need ia_netboradcast field? It is calculated depending on +> > +> > old-fashion classes (A, B, C). Is it used still? +> > +> > I wonder i

Re: ia_netbroadcast

2004-05-18 Thread Barney Wolff
On Tue, May 18, 2004 at 08:20:26PM +0200, Vincent Jardin wrote: > > +> This said, how do you plan to handle the alias search, by > > +> implementing a per-interface hash table containing the > > +> addresses and broadcast addresses ? > > > > First I want to find all places that need fast processing

Re: ia_netbroadcast

2004-05-18 Thread Vincent Jardin
> +> This said, how do you plan to handle the alias search, by > +> implementing a per-interface hash table containing the > +> addresses and broadcast addresses ? > > First I want to find all places that need fast processing and it probably > needs hash tables for IPs and broadcasts, but I'm not s

Re: ia_netbroadcast

2004-05-18 Thread Pawel Jakub Dawidek
On Tue, May 18, 2004 at 03:47:56AM -0700, Luigi Rizzo wrote: +> On Tue, May 18, 2004 at 12:05:03PM +0200, Pawel Jakub Dawidek wrote: +> ... +> > +> > Do we still need ia_netboradcast field? It is calculated depending on +> > +> > old-fashion classes (A, B, C). Is it used still? +> > +> > I wonder i

Re: ia_netbroadcast

2004-05-18 Thread Luigi Rizzo
On Tue, May 18, 2004 at 12:05:03PM +0200, Pawel Jakub Dawidek wrote: ... > +> > Do we still need ia_netboradcast field? It is calculated depending on > +> > old-fashion classes (A, B, C). Is it used still? > +> > I wonder if ia_broadaddr isn't sufficient today. > +> > +> not just that, it seems th

Re: ia_netbroadcast

2004-05-18 Thread Andre Oppermann
Pawel Jakub Dawidek wrote: > > Hi. > > Do we still need ia_netboradcast field? It is calculated depending on > old-fashion classes (A, B, C). Is it used still? > I wonder if ia_broadaddr isn't sufficient today. Yes, it should be sufficient and the ia_netbroadcast field doesn't serve any special

Re: ia_netbroadcast

2004-05-18 Thread Pawel Jakub Dawidek
On Tue, May 18, 2004 at 02:43:46AM -0700, Luigi Rizzo wrote: +> On Tue, May 18, 2004 at 11:24:39AM +0200, Pawel Jakub Dawidek wrote: +> > Hi. +> > +> > Do we still need ia_netboradcast field? It is calculated depending on +> > old-fashion classes (A, B, C). Is it used still? +> > I wonder if ia_br

Re: ia_netbroadcast

2004-05-18 Thread Luigi Rizzo
On Tue, May 18, 2004 at 11:24:39AM +0200, Pawel Jakub Dawidek wrote: > Hi. > > Do we still need ia_netboradcast field? It is calculated depending on > old-fashion classes (A, B, C). Is it used still? > I wonder if ia_broadaddr isn't sufficient today. not just that, it seems that ia_netboradcast c