Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-29 Thread Paolo Pisati
On Tue, Jul 29, 2003 at 09:59:14AM -0700, Julian Elischer wrote: > > The fix in this case would be for the ether node to not allow this ti > happen.. > this requires a few small changes.. > The error codes must exist in sys/errno.h > I try select one that is closest in spirit :-) maybe: #define

Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-29 Thread Julian Elischer
On Tue, 29 Jul 2003, Paolo Pisati wrote: > On Tue, Jul 29, 2003 at 04:16:41PM +0200, Paolo Pisati wrote: > > > > well, i answer to myself: > > > > it seems it's not my mistake, cause you can trigger it with a > > plain original tee node too. =P > > Ok, i promise this is the last msg: > > it

Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-29 Thread Paolo Pisati
On Tue, Jul 29, 2003 at 04:16:41PM +0200, Paolo Pisati wrote: > > well, i answer to myself: > > it seems it's not my mistake, cause you can trigger it with a > plain original tee node too. =P Ok, i promise this is the last msg: it was my mistake, whe i deleted the tee node, the ether node sho

Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-29 Thread Paolo Pisati
On Tue, Jul 29, 2003 at 12:30:42PM +0200, Paolo Pisati wrote: > > btw, i think i did the converion and it was quite straightforward, > but i've still a little problem that i didn't have in 5.x: > > if i try to unload my module, change the internals, compile > and use it again, it fails! =P > >

Re: Differences between netgraph nodes in 4.x and 5.x'

2003-07-29 Thread Max Khon
hi, there! On Tue, Jul 29, 2003 at 12:30:42PM +0200, Paolo Pisati wrote: > And while you are listening, i can show u something else... =) > > I have NETGRAPH in my kernel, and this is what i get when i > try to load ng_ether the first time: > > [EMAIL PROTECTED] root]# kldload ng_ether > module

Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-29 Thread Paolo Pisati
On Mon, Jul 28, 2003 at 07:13:04PM -0700, Julian Elischer wrote: > > If you want to send me the node you have writen I can > make the diffs and send it back :-) thanks Julian, but i prefer to do it myself, cause i want to understand how the hell netgraph works... =) btw, i think i did the conv

Re: Differences between netgraph nodes in 4.x and 5.x

2003-07-28 Thread Julian Elischer
Netgraph in 5.0 had to be alterred to support SMP locking. at teh same time some 'simplificatiosn were made, however changing a driver from one, to work witht he orther is relatively simple.. Major changes: Instead of passing separate message and o-o-band data, both are attached to a single 'item