Polling objectives (was Re: Giant-free polling [PATCH])

2005-03-04 Thread Luigi Rizzo
On Fri, Mar 04, 2005 at 12:24:58AM +0100, Pawel Jakub Dawidek wrote: ... (luigi) > +> this said, if the lock requests are blocking, you basically end > +> up with the polling loops always contending for the locks, with only one > +> doing actual work and the other one always busy-waiting. ... (paw

ng_one2many.c

2005-03-04 Thread Richard Kojedzinszky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! I was happy to configure ng_one2many on my fbsd box, but when I tried to collect statistics about the many* links of such a node, I've got an EINVAL. I've looked for it iun the sources, and i found that there may be a typo, where queries only

Re: Polling objectives (was Re: Giant-free polling [PATCH])

2005-03-04 Thread dima
-Original Message- From: Luigi Rizzo <[EMAIL PROTECTED]> To: Pawel Jakub Dawidek <[EMAIL PROTECTED]> Date: Fri, 4 Mar 2005 02:59:42 -0800 Subject: Polling objectives (was Re: Giant-free polling [PATCH]) > > On Fri, Mar 04, 2005 at 12:24:58AM +0100, Pawel Jakub Dawidek wrote: > > (lu

TCP window scale option setting?

2005-03-04 Thread lbland
hi- In section 2.5 of the Stevens book it says "we wil see how to effect this [window scale] option with SO_RCVBUF socket option (Section 7.5)". But, when I get to Section 7.5 it doesn't say anything about it that I can find. I searched the whole book, and then googled and then grep'd the heade

xsocket unique id

2005-03-04 Thread bachi
hi! i would like to develop a gui app, based on gtk+, to monitor all socket states like tcpview (http://www.sysinternals.com/ntw2k/source/tcpview.shtml) on ms window. my kernel experience is small, so my template is sockstat. my question is: which variable in the xsocket or socket structure, is t

Re: TCP window scale option setting?

2005-03-04 Thread Maxim Konovalov
On Fri, 4 Mar 2005, 08:47-0500, lbland wrote: > hi- > > In section 2.5 of the Stevens book it says "we wil see how to effect this > [window scale] option with SO_RCVBUF socket option (Section 7.5)". > > But, when I get to Section 7.5 it doesn't say anything about it that I can > find. I searched t

Re: Polling objectives (was Re: Giant-free polling [PATCH])

2005-03-04 Thread Luigi Rizzo
On Fri, Mar 04, 2005 at 04:32:43PM +0300, dima wrote: ... > PS: my question about locking in ether_poll_register() is still actual. I > think pr[] should be protected by sx while adding a new handler. ether_poll_register() was called by *foo_intr() so in 4.x it was protected by splimp() or Giant.

generic network protocols parser ?

2005-03-04 Thread Aziz KEZZOU
Hi all, I am wondering if any one knows about a generic parser which takes a packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates some data structre representing the packet ? I've been searching for a while and found that ethereal and tcpdump for example use specific data struct

Re: generic network protocols parser ?

2005-03-04 Thread Bosko Milekic
On Fri, Mar 04, 2005 at 11:07:34AM -0500, Aziz KEZZOU wrote: > Hi all, > I am wondering if any one knows about a generic parser which takes a > packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates > some data structre representing the packet ? > > I've been searching for a whil

Re: generic network protocols parser ?

2005-03-04 Thread bachi
i'm not an expert, but you can attach to bpf (berkeley packet filter) greets Andreas Bachmann > Hi all, > I am wondering if any one knows about a generic parser which takes a > packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates > some data structre representing the packet ?

Re: generic network protocols parser ?

2005-03-04 Thread Jeremie Le Hen
Hi, please, avoid top-posting :-). > i'm not an expert, but you can attach to bpf (berkeley packet filter) With a correct filter, bpf(4) will help him to get only RSVP packets. But Aziz is more likely looking for accessing RSVP header fields individually, a task bpf(4) can't help for. A manuall

Re: generic network protocols parser ?

2005-03-04 Thread gnn
At Fri, 4 Mar 2005 11:07:34 -0500, Aziz KEZZOU wrote: > > Hi all, > I am wondering if any one knows about a generic parser which takes a > packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates > some data structre representing the packet ? > > I've been searching for a while and

DNS question ???

2005-03-04 Thread Sheh, Peter
Hi all, Hope someone can help me with this question: "What does DNS do when the same hostname is reported from multiple systems with different IP addresses? " Thx...Peter ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: DNS question ???

2005-03-04 Thread Charles Swiger
On Mar 4, 2005, at 2:02 PM, Sheh, Peter wrote: [ ...crossposting trimmed... ] Hope someone can help me with this question: "What does DNS do when the same hostname is reported from multiple systems with different IP addresses? " The DNS returns the same hostname for each of the IPs which have

Re: xsocket unique id

2005-03-04 Thread Andreas Bachmann
> > my question is: which variable in the xsocket or socket structure, is the > > unique id of a socket? > > xso_so hmmm... i think, it's not a number, but a socket structure. is this effectively the unique id? greets Andreas Bachmann ___ freebsd-net@

Re: generic network protocols parser ?

2005-03-04 Thread Julian Elischer
Aziz KEZZOU wrote: Hi all, I am wondering if any one knows about a generic parser which takes a packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates some data structre representing the packet ? you might look at DPF (a packet filter/classifier).. it has an interesting filter

Re: generic network protocols parser ?

2005-03-04 Thread Brian Fundakowski Feldman
On Fri, Mar 04, 2005 at 11:07:34AM -0500, Aziz KEZZOU wrote: > Hi all, > I am wondering if any one knows about a generic parser which takes a > packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates > some data structre representing the packet ? > > I've been searching for a while

quagga and OSPFD and point-to-point tunnels.

2005-03-04 Thread David Gilbert
Here is an odd situation. If I start quagga ospfd after creating gre, tun, or gif devices, ospfd recognises them as point-to-point interfaces and everything works. However, if I start quagga and then create interfaces afterwards, the interfaces are not recognised as point-to-point interfaces and

FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Charles Sprickman
Howdy, Sorry to bring what seems like a simple issue up here. I had been blaming slow afp filesharing between my OS-X (10.3.8 and previous) and FreeBSD 4.x boxes on netatalk's afp implementation for some time. Not too long ago I got frustrated with this and tried smb and then ftp. On a simple

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Darcy Buskermolen
On Friday 04 March 2005 14:34, Charles Sprickman wrote: > Howdy, > > Sorry to bring what seems like a simple issue up here. I had been blaming > slow afp filesharing between my OS-X (10.3.8 and previous) and FreeBSD 4.x > boxes on netatalk's afp implementation for some time. Not too long ago I >

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Charles Sprickman
On Fri, 4 Mar 2005, Darcy Buskermolen wrote: On Friday 04 March 2005 14:34, Charles Sprickman wrote: Howdy, Sorry to bring what seems like a simple issue up here. I had been blaming slow afp filesharing between my OS-X (10.3.8 and previous) and FreeBSD 4.x boxes on netatalk's afp implementation fo

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Dustin Wilhoit
On Mar 4, 2005, at 5:43 PM, Charles Sprickman wrote: Yep, I wouldn't have come here without checking all the basics. I should also add that given three machines in my standard config I get the following results which will also help rule out cabling/speed/duplex issues: os-x <-> obsd - good os-x

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Bill Vermillion
"Ang utong ko ay sasabog sa sarap!" exclaimed Charles Sprickman while reading this message on Fri, Mar 04, 2005 at 18:43 and then responded with: > On Fri, 4 Mar 2005, Darcy Buskermolen wrote: > >On Friday 04 March 2005 14:34, Charles Sprickman wrote: > >>Howdy, > >>Sorry to bring what seems l