Date: Wed, 26 Mar 2003 01:31:47 -0800 From: Lev Walkin <vlm@netli.com> To: vys@renet.ru Cc: freebsd-hackers@freebsd.org Subject: Re: Question about BPF API (PCAP not like for me) Message-ID: <3E817383.6010405@netli.com> In-Reply-To: <3585.195.161.130.250.1048598218.squirrel@mail.renet.ru> References: <3585.195.161.130.250.1048598218.squirrel@mail.renet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Yu. Stepanov wrote: > Hello ! > > I have a little question about BPF: how to determine incoming or outgoing > packet given into the user level mode. Current API do not supported this > or I are wrong ? Unfortunately, there is no way of determining this fact. However, there is a flag names BIOCSSEESENT that enables you to skip over locally generated packets on the interface in question. See ports/net/ipcad. -- Lev Walkin vlm@netli.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E817383.6010405>