Re: LSF and SOCK_PACKET

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 17 Oct 1998 14:56:39 +0100 (BST)


> Has anyone given any thought to having a BIND_TO_TCP_PORT type option
> for SOCK_PACKET?

Why ?

>
> traffic monitoring (ie. user level networking) this would be a very
> useful feature (although it could be argued it breaks all kind of layer
> abstractions).
>
> I would be interested in hearing the best ways of going about this.

Use the attach/detach filter stuff and write yourself a BPF filter that
checks the port

-
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/