diff options
Diffstat (limited to 'include/linux')
-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 | /** |