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 0 change of getting
 committed to FreeBSD due to the GPL poison pill.

 Pedro.

Follow up to my last message.

Try taking a look at
ftp://ftp.ucsd.edu/hamradio/packet/tcpip/bsd/

There are a couple of programs you could start with real easy.

Also check out the sun directory.

GB


-- 
GB Clark II | Roaming FreeBSD Admin
[EMAIL PROTECTED] | General Geek 
   CTHULU for President - Why choose the lesser of two evils?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 0 change of getting
 committed to FreeBSD due to the GPL poison pill.

 Pedro.


Hi,

You might look into modifing the userland PPP to do ax.25 instead.
There is plenty of non-GPL code out there showing how to do ax.25.

GB

-- 
GB Clark II  - N5VMF| Roaming FreeBSD Admin
[EMAIL PROTECTED] | General Geek 
   CTHULU for President - Why choose the lesser of two evils?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 you look for the relevant
  code in NetBSD. The linux code has 0 change of getting
  committed to FreeBSD due to the GPL poison pill.
 
  Pedro.

 Hi,

 You might look into modifing the userland PPP to do ax.25 instead.
 There is plenty of non-GPL code out there showing how to do ax.25.

 GB

I've been using Phil Karnes' 'net' stuff for about 10 years now. It 
is the predecessor to the JNOS and TNOS code. It does ax25, net/rom 
and IP over a tnc with a kiss rom and runs in userland.  I also 
hacked it to run with a BBS using IPC. The code is unencumbered and 
if you're interested, I'll put it out for download. I haven't 
compiled it since 2.x days, and I think it may need some tweeking to 
compile on 4.x. (I seem to recall getting some error messages the 
last time I tried). The BBS is available also. If you want it, I'll 
have to get it together to make a tarball.

-Jim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 things are
done is quite different (as is the structure). So if someone can help, I
would be very thankful...

Andy


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 giving some explanation 
for why it was this way. For more info you can search 
in google.For info on mbuf refer rich stevens TCP/IP 
vol 2
Quoting Aleksander Rozman [EMAIL PROTECTED]:

 
 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 things are
 done is quite different (as is the structure). So if 
someone can help, I
 would be very thankful...

 Andy


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the 
message
 



The fastest way to change is to laugh at your own 
folly - Who moved my cheese

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 pill.

Pedro.


=
---
 Pedro F. Giffuni
 MSIE University of Pittsburgh
 BSME Universidad Nacional de Colombia
---
Yahoo is powered by FreeBSDhttp://www.FreeBSD.org/

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message