]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/igmp.h
serial: define FIXED_PORT flag for serial_core
[linux-2.6-omap-h63xx.git] / include / linux / igmp.h
index ca285527b879af4faf9ea4bbac3233f5441fca95..f510e7e382a89f59c68ddc4e306bb32d8749d2ad 100644 (file)
@@ -85,19 +85,19 @@ struct igmpv3_query {
 
 static inline struct igmphdr *igmp_hdr(const struct sk_buff *skb)
 {
-       return (struct igmphdr *)skb->h.raw;
+       return (struct igmphdr *)skb_transport_header(skb);
 }
 
 static inline struct igmpv3_report *
                        igmpv3_report_hdr(const struct sk_buff *skb)
 {
-       return (struct igmpv3_report *)skb->h.raw;
+       return (struct igmpv3_report *)skb_transport_header(skb);
 }
 
 static inline struct igmpv3_query *
                        igmpv3_query_hdr(const struct sk_buff *skb)
 {
-       return (struct igmpv3_query *)skb->h.raw;
+       return (struct igmpv3_query *)skb_transport_header(skb);
 }
 #endif