Re: sk_buff on FreeBSD

2001-12-21 Thread GB Clark II
On Thursday 20 December 2001 23:31, Pedro F. Giffuni wrote: I have started proting some network protocols (ax.25 for ham) from linux,... Hmm..I recall we had code for that but it was removed ages ago (in the 2.x era). I suggest you look for the relevant code in NetBSD. The linux code has

Re: sk_buff on FreeBSD

2001-12-21 Thread GB Clark II
On Thursday 20 December 2001 23:31, Pedro F. Giffuni wrote: I have started proting some network protocols (ax.25 for ham) from linux,... Hmm..I recall we had code for that but it was removed ages ago (in the 2.x era). I suggest you look for the relevant code in NetBSD. The linux code has

Re: sk_buff on FreeBSD

2001-12-21 Thread Jim Durham
On Friday 21 December 2001 01:06 am, GB Clark II wrote: On Thursday 20 December 2001 23:31, Pedro F. Giffuni wrote: I have started proting some network protocols (ax.25 for ham) from linux,... Hmm..I recall we had code for that but it was removed ages ago (in the 2.x era). I suggest

sk_buff on FreeBSD

2001-12-20 Thread Aleksander Rozman
Hi ! I have started proting some network protocols (ax.25 for ham) from linux, and I have come acrros structure called sk_buff. I was just wondering if someone tried to implement this on FreeBSD? It's seems that FreeBSD has mbuf structure which does the same thing as sk_buff on linux, but way

Re: sk_buff on FreeBSD

2001-12-20 Thread sridharv
you are right. mbufs are used for buffer management in the BSD stack. sk_buff as the linux equivalent . basically they are chains with control information and data. but i think linux assuming more memory allocated a large sk_buff and hence data and headers are contiguous. I remember Alan Cox

sk_buff on FreeBSD

2001-12-20 Thread Pedro F. Giffuni
I have started proting some network protocols (ax.25 for ham) from linux,... Hmm..I recall we had code for that but it was removed ages ago (in the 2.x era). I suggest you look for the relevant code in NetBSD. The linux code has 0 change of getting committed to FreeBSD due to the GPL poison