提交 e2e26866 编写于 作者: A Arnaldo Carvalho de Melo 提交者: David S. Miller

[DCCP]: Fix struct sockaddr_dccp definition

Signed-off-by: NArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5a47a470
......@@ -4,10 +4,14 @@
#include <linux/types.h>
#include <asm/byteorder.h>
/* FIXME: this is utterly wrong */
/* Structure describing an Internet (DCCP) socket address. */
struct sockaddr_dccp {
struct sockaddr_in in;
unsigned int service;
__u16 sdccp_family; /* Address family */
__u16 sdccp_port; /* Port number */
__u32 sdccp_addr; /* Internet address */
__u32 sdccp_service; /* Service */
/* Pad to size of `struct sockaddr': 16 bytes . */
__u32 sdccp_pad;
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册