]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[DCCP]: Fix struct sockaddr_dccp definition
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Wed, 10 Aug 2005 03:26:28 +0000 (20:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:54:23 +0000 (15:54 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dccp.h

index add4908b8e577b78c8bc6151eefad7092992f9ce..fd1412ddb3ff3de7a0f24c7b99a7083ecf8a68c1 100644 (file)
@@ -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;
 };
 
 /**