Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 16:52:40 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        shadows@whitefang.com
Cc:        questions@freebsd.org
Subject:   Re: SOCK_RAW & IPPROTO_TCP semantics 
Message-ID:  <96Oct2.165251pdt.177476@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Tue, 01 Oct 1996 22:00:05 PDT." <Pine.NEB.3.95.961002075730.6175B-100000@broken.whitefang.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
SOCK_RAW is only for packets that other protocols haven't claimed already.  
Since TCP is already implemented in the kernel, the raw interface doesn't get 
the packets at all.

The only way I know of to grab all TCP packets would be using BPF.

  Bill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Oct2.165251pdt.177476>