On Tue, Jan 25, 2005 at 10:46:47AM +0100, DJF wrote:
> What's the advantage in using the rawsock bpf combination instead of
> bpf (or raw socket) only?

Raw IP sockets for write take care of the following for you:
1) Computing IP checksums.
2) Inserting IP options.

BPF does neither of those things. For a while BPF was read-only, but it
has been read-write capable for quite some time.

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

Reply via email to