pub fn response_destination(
via: &Via,
source: SocketAddr,
transport: TransportKind,
) -> TargetExpand description
Where a response to this request must be sent (RFC 3261 §18.2.2).
The order is the RFC’s and each step exists for a reason: maddr is an explicit override,
received is where the request actually came from as opposed to where the sender believed
it was, and the sent-by is what the sender claims. Behind a NAT only received is true,
which is why the fallback order matters more than it looks.