netgraph and kqueue together - socket problems

2004-01-06 Thread Jonas Bulow
Hi, I'm trying to use netgraph and kqueue together and ran into some problems. I hope someone can enligthen me what I'm missing. I register EVFILT_READ and EVFILT_WRITE on a netgraph-socket connected to a netgraph echo-node. The EVFILT_WRITE-filter returns immediately from the kevent call sayi

Re: netgraph and kqueue together - socket problems

2004-01-07 Thread Jonas Bulow
Hi, Julian Elischer wrote: On Wed, 7 Jan 2004, Jonas Bulow wrote: Hi, I'm trying to use netgraph and kqueue together and ran into some problems. I hope someone can enligthen me what I'm missing. I'm not sure that anyone has ever looked at netgraph and kqueue as a pair.

netgraph: ng_eiface and bpf gives duplicate packets

2004-01-21 Thread Jonas Bulow
Hi, Using bpf with ng_eiface results in duplication of all incoming packets. The duplicated packet is only "visible" on the bpf tap and the ngeth interface works as expected besides this behaviour with bpf. The following examplifies the problem: (pasted from my memory) ngctl -f- < tcpdump-n -i

ifconfig rl0 does not report status on FreeBSD-4.9

2004-02-13 Thread Jonas Bulow
Hi, The rl driver does not report it's link status on FreeBSD 4.9, at least not when using ifconfig. The chip is a Realtek 8139C+. I could not find anything about it in the archives. Any hints? # ifconfig rl0 rl0: flags=8843 mtu 1500 inet 192.168.2.2 netmask 0xff00 broadcast 192.168

Re: netgraph....help

2004-02-13 Thread Jonas Bulow
Hi, manish gautam wrote: i want to make my own node with my own specifications. how can i do that and load it and pass data through it. A good start is to do it as a userland process and use ng_socket to communicate with the netgraph subsystem. reply as soon as possible... I'm sorry if I kept yo