Messages in this thread | | | Date | Sun, 23 Feb 1997 12:41:20 +0100 | From | Harald Hoyer <> | Subject | Re: 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
| |