Re: BPF_MISC+BPF_COP and BPF_COPX

2013-08-06 Thread Alexander Nasonov
Mindaugas Rasiukevicius wrote: > Yes, I may want to keep the state in the memory store or pass the arguments > through it, since the accumulator might not be enough. You have access to a whole packet, why do you need to pass additional arguments through the store? I'm worried about introducing tig

how define network with mask 8 for dhcp server?

2013-08-06 Thread s m
hello all, i have a problem with dhcp server. i want to define network with mask 8 and use all network address which are possible. i know it is strange but for some experimental purpose, i want to do it. this is my dhcpd.conf file: subnet 192.0.0.0 netmask 255.0.0.0 { range 192.0.0.1 192.255.2

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Olivier Nicole
Sam, > subnet 192.0.0.0 netmask 255.0.0.0 I know it is not the answer to your question, but you are wrong in your guess that 192.0.0.0/8 is all private IPs. Only 192.168.0.0/16 is. I know that for certain because my own IP starts with 192. If you want a full /8 private, you can only use 10.0.0.

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread s m
thanks Olivier, my problem is to know how define a network with mask 8 and dhcp server works correctly with it! you know if i config my dhcpd.conf like below, i have core dump either: subnet 10.0.0.0 netmask 255.0.0.0 { range 10.0.0.1 10.255.255.254; } do you know how should i define my range

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Olivier Nicole
Sam, > my problem is to know how define a network with mask 8 and dhcp server > works correctly with it! you know if i config my dhcpd.conf like below, i > have core dump either: > subnet 10.0.0.0 netmask 255.0.0.0 > { > range 10.0.0.1 10.255.255.254; > } > > do you know how should i define my

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
On Tue, Aug 6, 2013 at 10:40 AM, Olivier Nicole wrote: > Sam, > > > my problem is to know how define a network with mask 8 and dhcp server > > works correctly with it! you know if i config my dhcpd.conf like below, i > > have core dump either: > > subnet 10.0.0.0 netmask 255.0.0.0 > > { > > r

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
On Tue, Aug 6, 2013 at 10:59 AM, Andreas Nilsson wrote: > > > > On Tue, Aug 6, 2013 at 10:40 AM, Olivier Nicole < > olivier.nic...@cs.ait.ac.th> wrote: > >> Sam, >> >> > my problem is to know how define a network with mask 8 and dhcp server >> > works correctly with it! you know if i config my dh

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread s m
thanks Andreas, that's it!!! you know i have user interface program for dhcp. users don't know how dhcp works and just enter desired range in text box. i should handle all entered ranges. in order to do that, i should know how dhcp works with all different ranges and return errors if some ranges is

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread Andreas Nilsson
On Tue, Aug 6, 2013 at 11:29 AM, s m wrote: > thanks Andreas, that's it!!! > you know i have user interface program for dhcp. users don't know how dhcp > works and just enter desired range in text box. i should handle all entered > ranges. in order to do that, i should know how dhcp works with al

Re: [net] protecting interfaces from races between control and data ?

2013-08-06 Thread Andre Oppermann
On 05.08.2013 23:53, Luigi Rizzo wrote: On Mon, Aug 05, 2013 at 11:04:44PM +0200, Andre Oppermann wrote: On 05.08.2013 19:36, Luigi Rizzo wrote: ... [picking a post at random to reply in this thread] tell whether or not we should bail out). Ideally we don't want to have any locks in the RX

Re: [net] protecting interfaces from races between control and data ?

2013-08-06 Thread Luigi Rizzo
thanks for the explanations and for experimenting with the various alternatives. I started this thread just to understand whether something was already in place, and to make sure that what I do with netmap is not worse than the situation we have now. I guess that while the best solution comes out

Re: kern/179975: [igb] igb(4) fails to do polling(4)

2013-08-06 Thread markj
Synopsis: [igb] igb(4) fails to do polling(4) State-Changed-From-To: patched->closed State-Changed-By: markj State-Changed-When: Wed Aug 7 01:42:49 UTC 2013 State-Changed-Why: Submitter reported that they haven't had any problems since applying the patch. http://www.freebsd.org/cgi/query-pr.cgi?

Re: how define network with mask 8 for dhcp server?

2013-08-06 Thread s m
yes, i solved my problem. thanks every body for your answers. it help me a lot. SAM On Tue, Aug 6, 2013 at 2:08 PM, Andreas Nilsson wrote: > > > > On Tue, Aug 6, 2013 at 11:29 AM, s m wrote: > >> thanks Andreas, that's it!!! >> you know i have user interface program for dhcp. users don't know