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

[IPV4]: UDP header annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6b72977b
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#include <linux/types.h> #include <linux/types.h>
struct udphdr { struct udphdr {
__u16 source; __be16 source;
__u16 dest; __be16 dest;
__u16 len; __be16 len;
__u16 check; __be16 check;
}; };
/* UDP socket options */ /* UDP socket options */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册