On 21/09/05, wei shuxi <shuxi_w@xxxxxxxxxx> wrote: > Hi, > > try my_ipheader = (struct iphdr *)((*skb)->nh->iph); > both my_ipheader = (struct iphdr *)((*skb)->nh->iph); and my_ipheader = (struct iphdr *)((*skb).nh->iph); don't work either... J
On 21/09/05, wei shuxi <shuxi_w@xxxxxxxxxx> wrote: > Hi, > > try my_ipheader = (struct iphdr *)((*skb)->nh->iph); > both my_ipheader = (struct iphdr *)((*skb)->nh->iph); and my_ipheader = (struct iphdr *)((*skb).nh->iph); don't work either... J