Hi, On Tue, Nov 9, 2010 at 9:20 PM, Arnaud Lacombe <lacombar@xxxxxxxxx> wrote: > Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx> > --- > include/linux/compat-2.6.22.h | 20 ++++++++++++++++++++ > 1 files changed, 20 insertions(+), 0 deletions(-) > > diff --git a/include/linux/compat-2.6.22.h b/include/linux/compat-2.6.22.h > index e0cdab2..73dbbb6 100644 > --- a/include/linux/compat-2.6.22.h > +++ b/include/linux/compat-2.6.22.h > @@ -80,6 +80,26 @@ static inline void skb_copy_from_linear_data_offset(const struct sk_buff *skb, > memcpy(to, skb->data + offset, len); > } > > +static inline struct iphdr *ip_hdr(const struct sk_buff *skb) > +{ > + return (struct iphdr *)skb_network_header(skb); > +} > + Actually, this one is already defined a few lines above, but lost in the middle of skb accessor inlines :/ I'll remove this part. - Arnaud -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html