Skip to content

Commit

Permalink
[DCCP]: Fix struct sockaddr_dccp definition
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Aug 29, 2005
1 parent 5a47a47 commit e2e2686
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions include/linux/dccp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

/**
Expand Down

0 comments on commit e2e2686

Please sign in to comment.