Date: Tue, 25 Jan 2005 14:33:50 +0000 From: Bruce M Simpson <bms@spc.org> To: DJF <deiif@yahoo.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Rawsock bpf mambo jambo? Message-ID: <20050125143350.GI47638@dhcp120.icir.org> In-Reply-To: <20050125094646.GA969@nexus.hta.fhz.ch> References: <20050125094646.GA969@nexus.hta.fhz.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050125143350.GI47638>