mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 14:31:52 -06:00
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 <lionel.landwerlin@openwide.fr> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
This commit is contained in:
parent
6f932f9172
commit
b975b83bec
2 changed files with 45 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue