lkml.org 
[lkml]   [1997]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Quake Masquerading Module
William Sowerbutts wrote:
> > [snip]
> >
> >masq_quake_in (struct ip_masq_app *mapp, struct ip_masq *ms, struct
> sk_buff **skb_p, struct device *dev)
> >{
> > struct sk_buff *skb;
> > struct iphdr *iph;
> > __u16 *portptr, s_port;
> >
> > if(!(ms->flags & IP_MASQ_F_NO_DPORT))
> > return 0;
> >
> > skb = *skb_p;
> > iph = skb->nh.iph;
>
> Shouldn't this read "iph = skb->h.iph;" ?
[snip]
> At least, that's the way it works for my 2.0.29 kernel.

And the other way round it works for the 2.1.xx-Series

--
Harald Hoyer
saturn@studbox.uni-stuttgart.de
http://saturnnet.wh.uni-stuttgart.de/~saturn
-------------------------------------------------------------------------
> Someone:
> Asking Linus to add such things in the kernel is as pertinent as asking
> to still support 80286 CPU (IMHO).
We are working on it.
Alan Cox

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.058 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site