On 5/7/2011 6:41 PM, Erik Nørgaard wrote:
So the question is which behaviour is correct, recommended or accepted?
Stripping the link layer and reply according to the network layer, or
keeping the link layer?

This is the way it in every TCP/IP stack out there.

The routing decision for the reply IP packet of the ICMP message is made independently of the upper-OSI-layer TCP state.

In this instance, its a bit inconvenient for you, but having these layers abstracted makes for incredible flexibility in TCP/IP; the same thinking as small POSIX utilities work independently is more flexible.

--
Brian A. Seklecki <[email protected]>
CE-Pro Bikes, LLC
412-378-3823 (m)
PGP Key Available Upon Request
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to