Re: problems with udp46 sockets

2002-03-26 Thread Keiichi SHIMA / 島慶一
Hi, From: Markus Stumpf <[EMAIL PROTECTED]> > I am trying to get dnscache running with IPv6 patches. > dnscache binds to the IPv6 unqualified address "::". This works fine > and I get (from netstat) > udp46 0 0 *.53 *.* > As the sending address the IPv6 unqualifi

Re: ip_output and ENOBUFS

2002-03-26 Thread Luigi Rizzo
On Tue, Mar 26, 2002 at 10:48:33PM -0800, Archie Cobbs wrote: > Luigi Rizzo writes: > > As a matter of fact, i even implemented a similar thing in dummynet, > > and if device drivers call if_tx_rdy() when they complete a > > transmission, then the tx interrupt can be used to clock > > packets out

Re: ip_output and ENOBUFS

2002-03-26 Thread Archie Cobbs
Luigi Rizzo writes: > > Along those lines, this might be a handy thing to add... > > > > int if_get_next(struct ifnet *ifp); /* runs at splimp() */ > > > > This function tries to "get" the next packet scheduled to go > > out interface 'ifp' and, if successful, puts it on &ifp->if

Re: ip_output and ENOBUFS

2002-03-26 Thread Archie Cobbs
Luigi Rizzo writes: > As a matter of fact, i even implemented a similar thing in dummynet, > and if device drivers call if_tx_rdy() when they complete a > transmission, then the tx interrupt can be used to clock > packets out of the dummynet pipes. A patch for if_tun.c is below, So if_tx_rdy() so

Re: ip_output and ENOBUFS

2002-03-26 Thread Luigi Rizzo
the ENOBUFS is very typical with UDP applications that try to send as fast as possible (e.g. the various network test utilities in ports), and as i said in a previous message, putting up a mechanism to pass around queue full/queue not full events is expensive because it might trigger on every sing

Re: ip_output and ENOBUFS

2002-03-26 Thread Luigi Rizzo
On Tue, Mar 26, 2002 at 10:10:05PM -0800, Archie Cobbs wrote: > Luigi Rizzo writes: ... > Along those lines, this might be a handy thing to add... > > int if_get_next(struct ifnet *ifp); /* runs at splimp() */ > > This function tries to "get" the next packet scheduled to go > o

Re: ip_output and ENOBUFS

2002-03-26 Thread Archie Cobbs
Luigi Rizzo writes: > > >if you could suggest a few modifications that would be required, i'd like > > >to pursue this further. > > > > Look at tsleep/wakeup on ifnet of if_snd. > > I am under the impression that implementing this mechanism would > not be so trivial. It is not immediate to tell

RE: Unnumbered IP Interface

2002-03-26 Thread Julian Elischer
[looks at website] will read.. h. hm I'm sure I've seen this somewhere before.. ah it's in -current... in /usr/src/sys/dev/lmc the version there DOES support netgraph but I don;t know if it's well maintained.. I'll have to look at it sometime. On Tue, 26 Mar 2002, Cambria, Mike wrote:

Re: routeing problems with 4.4

2002-03-26 Thread Crist J. Clark
On Tue, Mar 26, 2002 at 03:46:40PM -0600, Matthew wrote: > I have a machine that was in service for a month when it ceased to have a default >gateway. I have one listed in the rc.conf file. but when you do a netstat -r it does >not show up. the machine can see anything on the local network inclu

network monitoring tools for streaming video

2002-03-26 Thread Vinod
Can anyone tell me what network monitoring tools are available on freebsd suitable for monitoring things like frame size,frames per second,frame no. e.t.c when streaming videos are received though the network. Thanks, Vinod __ Do You Yahoo!? Yahoo!

Re: routeing problems with 4.4

2002-03-26 Thread Julian Elischer
are you running dhclient or routed? On Tue, 26 Mar 2002, Matthew wrote: > I have a machine that was in service for a month when it ceased to have a default >gateway. I have one listed in the rc.conf file. but when you do a netstat -r it does >not show up. the machine can see anything on the

problems with udp46 sockets

2002-03-26 Thread Markus Stumpf
I am trying to get dnscache running with IPv6 patches. dnscache binds to the IPv6 unqualified address "::". This works fine and I get (from netstat) udp46 0 0 *.53 *.* As the sending address the IPv6 unqualified address "::" is used, also. As long as I only send q

routeing problems with 4.4

2002-03-26 Thread Matthew
I have a machine that was in service for a month when it ceased to have a default gateway. I have one listed in the rc.conf file. but when you do a netstat -r it does not show up. the machine can see anything on the local network includeing the gateway ip which does snow up when you do a netsta

RE: Unnumbered IP Interface

2002-03-26 Thread Julian Elischer
You only need to use unnumbered interfaces on one local link, so you are ok.. you can use static routes to get to and from that site.. and leave BGP to handle the double homed links to the Internet. On Tue, 26 Mar 2002, Cambria, Mike wrote: > > The driver is lmc. The version from the SBEI (f

Re: Unnumbered IP Interface

2002-03-26 Thread Archie Cobbs
Cambria, Mike writes: > example, Archie's answer for unnumbered interfaces isn't in the route > manpage. I'm glad I asked. Quoting route(8): "If the destination is directly reachable via an interface requiring no intermediary system to act as a gateway, the -interface modifier should

should tcp_reass() update tcps_rcvpartduppack, tcps_rcvpartdupbyte?

2002-03-26 Thread G. Paul Ziemba
This is just a nit, but it seems to me that although the code in tcp_reass() counts completely overlapping packets via the statistics tcps_rcvduppack and tcps_rcvdupbyte, it does NOT count partially overlapping packets as it should with tcps_rcvpartduppack and tcps_rcvpartdupbyte. I'm thinking th

Re: ip_output and ENOBUFS

2002-03-26 Thread Lars Eggert
Matthew Luckie wrote: > hmm, we looked at how other protocols handled the ENOBUFS case from > ip_output. > > tcp_output calls tcp_quench on this error. > > while the interface may not be able to send any more packets than it > does currently, closing the congestion window back to 1 segment

Re: ip_output and ENOBUFS

2002-03-26 Thread Matthew Luckie
> I am under the impression that implementing this mechanism would > not be so trivial. hmm, we looked at how other protocols handled the ENOBUFS case from ip_output. tcp_output calls tcp_quench on this error. while the interface may not be able to send any more packets than it does currently,

RE: Unnumbered IP Interface

2002-03-26 Thread Cambria, Mike
The driver is lmc. The version from the SBEI (formally LanMedia) web site does not support netgraph. Their support claims to have one (or will have one I forget). I want to hold off on NG at the moment. As for what I'm doing. In this case, I have 4 of these PCI cards. I eventually, I want t