提交 962c8372 编写于 作者: A Al Viro 提交者: David S. Miller

[SCTP]: Netfilter sctp annotations.

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3dbe8656
...@@ -20,7 +20,7 @@ struct ip_ct_sctp ...@@ -20,7 +20,7 @@ struct ip_ct_sctp
{ {
enum sctp_conntrack state; enum sctp_conntrack state;
u_int32_t vtag[IP_CT_DIR_MAX]; __be32 vtag[IP_CT_DIR_MAX];
u_int32_t ttag[IP_CT_DIR_MAX]; u_int32_t ttag[IP_CT_DIR_MAX];
}; };
......
...@@ -71,7 +71,7 @@ match_packet(const struct sk_buff *skb, ...@@ -71,7 +71,7 @@ match_packet(const struct sk_buff *skb,
duprintf("Chunk num: %d\toffset: %d\ttype: %d\tlength: %d\tflags: %x\n", duprintf("Chunk num: %d\toffset: %d\ttype: %d\tlength: %d\tflags: %x\n",
++i, offset, sch->type, htons(sch->length), sch->flags); ++i, offset, sch->type, htons(sch->length), sch->flags);
offset += (htons(sch->length) + 3) & ~3; offset += (ntohs(sch->length) + 3) & ~3;
duprintf("skb->len: %d\toffset: %d\n", skb->len, offset); duprintf("skb->len: %d\toffset: %d\n", skb->len, offset);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册