lkml.org 
[lkml]   [1997]   [Feb]   [23]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
 
Messages in this thread
/
DateSun, 23 Feb 1997 12:41:20 +0100
FromHarald Hoyer <>
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    [from the cache]
©2003-2008