Re: Question about the "dst" field in sk_buff

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

 



Hi Jan,

How about in general...? What is required to make code compile that
has "skb->dst" in it?

Greetings,
Dominik


On Wed, Feb 3, 2010 at 7:35 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
> On Wednesday 2010-02-03 19:15, Dominik Kaspar wrote:
>>
>>I'm trying to compile various xt_*.c files that try to access
>>skb->dst. However, the sk_buff structure has no "dst" field in the
>>kernel version I am using (2.6.31), only a "_skb_dst" field. So when I
>>run "make", for example to compile the xt_ECHO.c example from the
>>netfilter tutorial, I always encounter errors like this:
>>
>>error: ‘struct sk_buff’ has no member named ‘dst’
>>
>>What do I have to do to solve this? I guess it has something to do
>>with those "compat" files, but I don't how they are used... Any hint
>>would be highly appreciated.
>
> xt_ECHO is not normally built and thus has fallen behind in porting.
> This has now been rectified.
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux