Re: locking & iovecs

2004-09-23 Thread Waldemar Kornewald
Brooks Davis wrote: Oh, now that we talk about alternatives: did you consider using iovecs instead of mbufs? Be Inc. said that BONE, the new netstack of BeOS (now Zeta), can handle huge amounts of data much better than mbufs because iovecs reduce the number of copies made when fragmenting...thou

Re: creating default route in kernel

2004-09-23 Thread George V. Neville-Neil
At Thu, 23 Sep 2004 12:12:20 +0200, Waldemar Kornewald wrote: > > Hi, > could you please tell me how I can create a default route from within > the kernel? I am a member of the Haiku (OS) networking team and > maintainer of the PPP stack and for dial-on-demand support there must be > a default

Re: IPv6 route mutex recursion (crash) and fix

2004-09-23 Thread Brian Fundakowski Feldman
On Fri, Sep 24, 2004 at 03:47:22AM +0900, JINMEI Tatuya / [EMAIL PROTECTED]@C#:H wrote: > > On Tue, 21 Sep 2004 22:09:57 -0400, > > Brian Fundakowski Feldman <[EMAIL PROTECTED]> said: > > > I've already made noise about this before, so I'll be brief. I plan on > > committing the followin

Re: IPv6 route mutex recursion (crash) and fix

2004-09-23 Thread JINMEI Tatuya / 神明達哉
> On Tue, 21 Sep 2004 22:09:57 -0400, > Brian Fundakowski Feldman <[EMAIL PROTECTED]> said: > I've already made noise about this before, so I'll be brief. I plan on > committing the following fix that prevents the routing code from being > recursed upon such that RTM_RESOLVE causes the e

Re: locking

2004-09-23 Thread Brooks Davis
On Thu, Sep 23, 2004 at 12:22:33PM +0200, Waldemar Kornewald wrote: > Hi again, > we at the Haiku networking team are considering a port of your 5.3 > netstack because it is thread-safe and making the old one (4.x, I think) > thread-safe is probably a much bigger task. It depends on the model yo

Re: (KAME-snap 8789) Weird memory exhaustion with FreeBSD 4.10-STABLE

2004-09-23 Thread JINMEI Tatuya / $B?@L@C#:H(B
> On Thu, 23 Sep 2004 15:03:47 +0300 (EEST), > Pekka Savola <[EMAIL PROTECTED]> said: > After the system has been up for a while (a couple of weeks) and/or > the ethernet link has gone up/down for some time (I suspect this is > related to the Neighbor Discovery cache contents), I get dme

Re: question on tunnels (VPN)

2004-09-23 Thread Paul Schenkeveld
On Wed, Sep 22, 2004 at 04:17:59PM +, Mikhail P. wrote: > Dear users, > > I have been experimenting with simple gif tunnels (no IPSec) in local network > (192.168.0.0/24). I have used the following scenario between two hosts (both > running FreeBSD-5.2.1): > > HOST_A [192.168.0.1]: > ifconf

Weird memory exhaustion with FreeBSD 4.10-STABLE

2004-09-23 Thread Pekka Savola
Hi, I've been suffering from a weird memory exhaustion problem (or so it looks?!) on FreeBSD 4.10 -STABLE for a year or two now (obviously, then it was something like 4.5 or the like :). After the system has been up for a while (a couple of weeks) and/or the ethernet link has gone up/down for so

locking

2004-09-23 Thread Waldemar Kornewald
Hi again, we at the Haiku networking team are considering a port of your 5.3 netstack because it is thread-safe and making the old one (4.x, I think) thread-safe is probably a much bigger task. Now, I saw that the routing code seems to use macros for the locking code. Do you use macros everywhe

creating default route in kernel

2004-09-23 Thread Waldemar Kornewald
Hi, could you please tell me how I can create a default route from within the kernel? I am a member of the Haiku (OS) networking team and maintainer of the PPP stack and for dial-on-demand support there must be a default route which does not work. BTW, we use a port of your netstack (from the 4

How to insert ip option?

2004-09-23 Thread Ilmar S. Habibulin
I'm trying to use TrustedBSD MAC network subsytem hooks to implement MLS packet labeling. These hooks are mac_update_mbuf_from_cipso() and mac_create_inpcb_from_socket(). The first one is called in ip_dooptions() in order to label mbuf with packets' label. The second fills inp->inp_options. As i u