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

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

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 I

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 short

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 was my

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

2003-07-28 Thread Paolo Pisati
As the subject says, i developed a netgraph node (it's classifier node) using a 5.x box but tonight, i had a bad surprise: it seems the netgraph implemntation in 4.x and 5.x are different, so now. Could someone shed some light on the differences, please? Thanks. -- Paolo GUFI:

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