diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:26:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:54:23 -0400 |
commit | e2e268665f6c01686b477a6b0cc5a70bab689d54 (patch) | |
tree | 1e0ea532c344e09c0747f488088bf7f85feed3ec /include | |
parent | 5a47a470e602eecb168ddd3b78841b84ceddd319 (diff) |
[DCCP]: Fix struct sockaddr_dccp definition
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dccp.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index add4908b8e57..fd1412ddb3ff 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -4,10 +4,14 @@ | |||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <asm/byteorder.h> | 5 | #include <asm/byteorder.h> |
6 | 6 | ||
7 | /* FIXME: this is utterly wrong */ | 7 | /* Structure describing an Internet (DCCP) socket address. */ |
8 | struct sockaddr_dccp { | 8 | struct sockaddr_dccp { |
9 | struct sockaddr_in in; | 9 | __u16 sdccp_family; /* Address family */ |
10 | unsigned int service; | 10 | __u16 sdccp_port; /* Port number */ |
11 | __u32 sdccp_addr; /* Internet address */ | ||
12 | __u32 sdccp_service; /* Service */ | ||
13 | /* Pad to size of `struct sockaddr': 16 bytes . */ | ||
14 | __u32 sdccp_pad; | ||
11 | }; | 15 | }; |
12 | 16 | ||
13 | /** | 17 | /** |