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

[IPV4]: ICMP header annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 734ab87f
...@@ -68,16 +68,16 @@ ...@@ -68,16 +68,16 @@
struct icmphdr { struct icmphdr {
__u8 type; __u8 type;
__u8 code; __u8 code;
__u16 checksum; __be16 checksum;
union { union {
struct { struct {
__u16 id; __be16 id;
__u16 sequence; __be16 sequence;
} echo; } echo;
__u32 gateway; __be32 gateway;
struct { struct {
__u16 __unused; __be16 __unused;
__u16 mtu; __be16 mtu;
} frag; } frag;
} un; } un;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册