mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
linux-user/syscall: Introduce target_sockaddr_nl
Tested-By: Guido Günther <agx@sigxcpu.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20191021114857.20538-5-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
0d2187c4e0
commit
a47401bca7
2 changed files with 11 additions and 2 deletions
|
@ -153,6 +153,13 @@ struct target_sockaddr_un {
|
|||
uint8_t sun_path[108];
|
||||
};
|
||||
|
||||
struct target_sockaddr_nl {
|
||||
abi_ushort nl_family; /* AF_NETLINK */
|
||||
abi_ushort __pad;
|
||||
abi_uint nl_pid;
|
||||
abi_uint nl_groups;
|
||||
};
|
||||
|
||||
struct target_in_addr {
|
||||
uint32_t s_addr; /* big endian */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue