Re: [tcpdump-workers] Modular arithmetic

2012-09-10 Thread David Laight
> On Fri, Sep 07, 2012 at 07:49:10AM +, George Bakos wrote: > > Gents, > > Any fundamental reason why the following (, etc.) shouldn't be > > included in net/core/filter.c? > > > > case BPF_S_ALU_MOD_X: > > if (X == 0) > >

Re: [tcpdump-workers] Modular arithmetic

2012-09-10 Thread David Laight
> > What about the other OS - eg all the BSDs? > > I had a vague idea that BPF was supposed to be reasonable portable. > > Yes, does it mean BPF is frozen ? > > Or is BSD so hard to update these days ? Not really - but it some other places that need updating in order to make this useful for cros

Re: [tcpdump-workers] Modular arithmetic

2012-09-10 Thread Guy Harris
On Sep 10, 2012, at 3:41 AM, "David Laight" wrote: >>> What about the other OS - eg all the BSDs? >>> I had a vague idea that BPF was supposed to be reasonable portable. >> >> Yes, does it mean BPF is frozen ? >> >> Or is BSD so hard to update these days ? > > Not really - but it some other p