Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2e26866 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by David S. Miller
Browse files

[DCCP]: Fix struct sockaddr_dccp definition

parent 5a47a470
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -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;
};

/**