Re: LSF and SOCK_PACKET

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 18 Oct 1998 03:48:42 +0100 (BST)


> If one is trying to implement user level networking (TCP/IP stack in
> user space) on top of packet sockets then there is a need to ensure that
> a TCP port assigned (by the user level library) does not conflict and
> will not be used by another application using the kernel's TCP stack.

You are doing horrible horrible things then

> BPF is useful for the demultiplexing but will not help "reserve" a TCP port.

Good

If you read the rfc and think about the interactions of routing/arp/icmp
path mtu and other global information fields you'll see the right model
for such experimenting is to use a different IP address for your experimental
user space stack

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