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 [EMAIL PROTECTED]

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to