netdev
[Top] [All Lists]

Re: Do you know the linux TCP stack?

To: Zdenek Radouch <zdenek@xxxxxxx>
Subject: Re: Do you know the linux TCP stack?
From: Andi Kleen <ak@xxxxxx>
Date: Sat, 05 Mar 2005 19:34:22 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <E1D7aML-0007Wp-00@xxxxxxxxxxxxxxxxxxxxxxx> (Zdenek Radouch's message of "Sat, 05 Mar 2005 09:31:32 -0500")
References: <E1D7aML-0007Wp-00@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)
Zdenek Radouch <zdenek@xxxxxxx> writes:
>
> If you can do it, and are interested in helping me,  please send me
> a note, with your hourly consulting rate, or a suggestion of how
> you'd like to be compensated for the work.  Of course, if you'd
> like to just send me an answer, that would be fine, too. :-)

((struct rtentry *)(skb->dst))->rt_spec_dst

You would need to make sure the packet is IP first, and even then
it may fail (e.g. injected IP packet from a packet socket)

-Andi

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