From 6e3cb58fa21727929b4b983522ba3b9b0ba66f9d Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 25 Apr 2009 23:31:18 +0200 Subject: linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt Signed-off-by: Lionel Landwerlin Signed-off-by: Riku Voipio --- linux-user/syscall_defs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linux-user/syscall_defs.h') diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 6e68c91ca6..89b73b8ed1 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -126,6 +126,13 @@ struct target_ip_mreqn { abi_long imr_ifindex; }; +struct target_ip_mreq_source { + /* big endian */ + uint32_t imr_multiaddr; + uint32_t imr_interface; + uint32_t imr_sourceaddr; +}; + struct target_timeval { abi_long tv_sec; abi_long tv_usec; -- cgit v1.2.3