Re: SOCK_PACKET still obsolete in 2.x with x >= 2?

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Mon, 22 Nov 1999 10:45:56 +0100


On Mon, Nov 22, 1999 at 12:20:13AM +0100, Torsten Landschoff wrote:
> Hi *,
>
> I am the new maintainer of the tcpdump package for Debian and in the
> progress of going through the bug reports. One of them is
>
> #21356: tcpdump: on 2.1.96, tcpdump uses obsolete (AF_INET,SOCK_PACKET)
>
> > I get these message "tcpdump uses obsolete (AF_INET,SOCK_PACKET)" from
> > my 2.1.96 kernel when starting tcpdump. It still works fine, so
> > I'm classing this as a "wishlist" bug.
>
> I remember seeing these messages as well but they disappeared with 2.2.x
> Is SOCK_PACKET still considered obsolete?

You should be using PF_PACKET, see packet(7).

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/