[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>
This commit is contained in:
committed by
David S. Miller
parent
5a47a470e6
commit
e2e268665f
@@ -4,10 +4,14 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
/* FIXME: this is utterly wrong */
|
/* Structure describing an Internet (DCCP) socket address. */
|
||||||
struct sockaddr_dccp {
|
struct sockaddr_dccp {
|
||||||
struct sockaddr_in in;
|
__u16 sdccp_family; /* Address family */
|
||||||
unsigned int service;
|
__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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user