Question about BPF API (PCAP not like for me)

Lev Walkin vlm at netli.com
Wed Mar 26 09:38:13 PST 2003


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 at netli.com



More information about the freebsd-hackers mailing list