Re: Mpd with a large number, 200+ , of bundles

2001-11-03 Thread Trond Davidsen
Archie Cobbs wrote: > > I think this error must be coming from the socket code. I wonder > if increasing the receive buffer size on the netgraph socket would > help.. try this patch for example: > > Index: main.c > === > RCS file:

Re: ng_pppoe accounting?

2001-11-03 Thread Brian Somers
I've just implemented a ``log'' command in ppp. You can now do something like ``log ${MACADDR} HISADDR USER UPTIME'' to your ppp.linkdown. The only missing bit is getting pppoed to put $MACADDR into ppp's environment > Julian Elischer wrote: > > > On Tue, 30 Oct 2001, QUEVEDO BUSTILLOS J

Re: softc, ifnet and arpcom overlay

2001-11-03 Thread 'Luigi Rizzo'
On Sat, Nov 03, 2001 at 02:32:18PM -0500, Jim McGrath wrote: > It makes the assumption that the ifnet/arpcom structure is at the beginning > of the softc structure. In needs to do this to maintain media independence. whoops, you are right... it is really bad that dev->softc is a void* and there

RE: softc, ifnet and arpcom overlay

2001-11-03 Thread Jim McGrath
It makes the assumption that the ifnet/arpcom structure is at the beginning of the softc structure. In needs to do this to maintain media independence. Also see http://www.freebsd.org/cgi/query-pr.cgi?pr=29249 Jim -Original Message- From: 'Luigi Rizzo' [mailto:[EMAIL PROTECTED]] Sent: S

Re: softc, ifnet and arpcom overlay

2001-11-03 Thread 'Luigi Rizzo'
On Sat, Nov 03, 2001 at 01:17:24PM -0500, Jim McGrath wrote: > Check mii.c, miibus_attach() I don't see anything strange there, the access is through device_get_softc(dev) which presumably does the right thing and makes no assumption on structure layout. cheers luigi

Re: Mpd with a large number, 200+ , of bundles

2001-11-03 Thread Archie Cobbs
Trond Davidsen writes: > When I try to make 240 bundles, from the log, it seems mpd is makeing > all the nodes ok, but when I try to establish a connection nothing > happens, no respons, nothing in the log, and mpd is frozen and needs to > be killed with kill -9. And then it leaves 720 nodes b

RE: softc, ifnet and arpcom overlay

2001-11-03 Thread Jim McGrath
Check mii.c, miibus_attach() Jim -Original Message- From: Luigi Rizzo [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 03, 2001 12:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: softc, ifnet and arpcom overlay Hi, i remember early in october this topic came out, but while i

Re: kern/11238, kern/14848, kern/21771, sppp patch's patch_id #1

2001-11-03 Thread Joerg Wunsch
As Roman Kurakin wrote: > >You've already got one from me. > > > I thought someone else maintains this part of kernel. Was I wrong? Probably. At least it was me who wrote larger parts of the current sppp implementation. As mentioned, it's very unfortunate that a number of offspring implementat

softc, ifnet and arpcom overlay

2001-11-03 Thread Luigi Rizzo
Hi, i remember early in october this topic came out, but while i can easily find out where the arpcom/ifnet overlay is used, i am not totally certain about the softc/ifnet overlay. For first, there is a reference from ifnet to the corresponding softc, so in principle the overlay is totally unnece

Re: Mpd with a large number, 200+ , of bundles

2001-11-03 Thread Trond Davidsen
Trond Davidsen wrote: > > When I create 240 bundles, mpd creates 720 netgraph nodes. > Is there a limit on how many nodes the netgraph system can handle? > Where is the netgraph system defined? i can find the modules under > /usr/src/sys/modules/netgraph, but I can't find the 'netgraph base sys

Re: Mpd with a large number, 200+ , of bundles

2001-11-03 Thread Trond Davidsen
Archie Cobbs wrote: > > One problem with netgraph is that node and hook names can only be about 15 > characters.. so when you get to 100 bundles, the hook names start > overflowing the buffers. > > If you're only running one version of mpd, for example, you can > try this patch to fix the '100

Re: kern/11238, kern/14848, kern/21771, sppp patch's patch_id #1

2001-11-03 Thread Roman Kurakin
Hi, Joerg Wunsch wrote: >As Roman Kurakin wrote: > >>This letter was sent last Saturday. When should I expect any >>reaction? >> > >You've already got one from me. > I thought someone else maintains this part of kernel. Was I wrong? Best regards, Kurakin Roman >

Re: SCTP and multiple default routes

2001-11-03 Thread Randall Stewart
Crist: Great point.. I guess with this in mind I will investagate getting this in place (after I do a bit of debugging of our stack) ... R "Crist J. Clark" wrote: > > On Fri, Nov 02, 2001 at 12:37:25PM -0800, Lars Eggert wrote: > > Randall Stewart wrote: > > > > > I am working on a SCTP implem