netdev
[Top] [All Lists]

Re: skb->dst->output and ip_send()

To: "James R. Leu" <jleu@xxxxxxxxxxxxxx>
Subject: Re: skb->dst->output and ip_send()
From: jamal <hadi@xxxxxxxxxx>
Date: Sat, 26 Aug 2000 22:52:30 -0400 (EDT)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20000826200433.B32166@xxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Hi Jim,

On Sat, 26 Aug 2000, James R. Leu wrote:

> While figuring out how to get IP fragmentation to take into account the label
> stack on an outgoing LSP, I came across the code for ip_send() (in net/ip.h).
> I was disappointed to see that ip_send() doesn't use skb->dst->output.
> 

ip_send() is actually in the data path of dst->input() which would be part
of say an LERs path.

All outgoing packets use dst->output() i.e no deviation.
What are you trying to do? I think your code works fine (although its been
a while since i'd seen it)

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>