]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/netfilter/nf_conntrack_proto_sctp.c
sctp: remove the typedef sctp_sctphdr_t
[linux.git] / net / netfilter / nf_conntrack_proto_sctp.c
index 1c5b14a6cab369591bd13e22b284a0737ad75c2e..db87af41c342a74ce151088df1be4a4a0ea024a8 100644 (file)
@@ -190,7 +190,7 @@ static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct)
 }
 
 #define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count)    \
-for ((offset) = (dataoff) + sizeof(sctp_sctphdr_t), (count) = 0;       \
+for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0;       \
        (offset) < (skb)->len &&                                        \
        ((sch) = skb_header_pointer((skb), (offset), sizeof(_sch), &(_sch)));   \
        (offset) += (ntohs((sch)->length) + 3) & ~3, (count)++)