Re: LSF and SOCK_PACKET

Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
Sat, 17 Oct 1998 20:02:21 +0400 (MSK DST)


Hello!

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

Proper bpflet on socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))
will allow you to bind to anything, which can be expressed in bpf.

Alexey

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