From b975b83becfc0d17b490e64a40f5c9c3e69f574f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 25 Apr 2009 23:30:19 +0200 Subject: linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt Signed-off-by: Lionel Landwerlin Signed-off-by: Riku Voipio --- linux-user/syscall_defs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'linux-user/syscall_defs.h') diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index b79d2dfb59..6e68c91ca6 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -111,6 +111,21 @@ struct target_sockaddr { uint8_t sa_data[14]; }; +struct target_in_addr { + uint32_t s_addr; /* big endian */ +}; + +struct target_ip_mreq { + struct target_in_addr imr_multiaddr; + struct target_in_addr imr_address; +}; + +struct target_ip_mreqn { + struct target_in_addr imr_multiaddr; + struct target_in_addr imr_address; + abi_long imr_ifindex; +}; + struct target_timeval { abi_long tv_sec; abi_long tv_usec; -- cgit v1.2.3