lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Problem about the loopback


From: Kieran Mansley
Subject: Re: [lwip-users] Problem about the loopback
Date: Tue, 06 Sep 2011 10:02:55 +0100

On Tue, 2011-09-06 at 10:47 +0800, Aimar wrote:
> Dear Kieran,
>          Thanks for your reply. Actually I think this compare should
> be used to confirm if the destination port in the UDP head of the
> incoming packet which is from the remote host is equal to the local
> port. In normal situation the remote host will pepare this, but when
> sending a packet to the address 127.0.0.1 and the netif receive this
> packet, it should swap the destination port and the source port in the
> UDP head, shouldn't it?

Why?  We wouldn't swap them if they were going out over the physical
network, and the loopback route is no different in this respect.

Kieran




reply via email to

[Prev in Thread] Current Thread [Next in Thread]