diff options
author | Helge Deller <deller@gmx.de> | 2025-01-19 05:26:10 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2025-01-24 13:58:40 +0100 |
commit | f65464ce6d00fdec726dbd9f8c8c543c3feb2924 (patch) | |
tree | b7c4ff30f6c39ba6de03242eb83b5d75d7fd0dd5 /scripts/render_block_graph.py | |
parent | 017fc6620f2513c1d0217289c48be4c51e0167a7 (diff) | |
download | qemu-f65464ce6d00fdec726dbd9f8c8c543c3feb2924.zip qemu-f65464ce6d00fdec726dbd9f8c8c543c3feb2924.tar.gz qemu-f65464ce6d00fdec726dbd9f8c8c543c3feb2924.tar.bz2 |
linux-user: netlink: Add emulation of IP_MULTICAST_IF
Add IP_MULTICAST_IF and share the code with IP_ADD_MEMBERSHIP / IP_DROP_MEMBERSHIP.
Sharing the code makes sense, because the manpage of ip(7) says:
IP_MULTICAST_IF (since Linux 1.2)
Set the local device for a multicast socket. The argument
for setsockopt(2) is an ip_mreqn or (since Linux 3.5)
ip_mreq structure similar to IP_ADD_MEMBERSHIP, or an
in_addr structure. (The kernel determines which structure
is being passed based on the size passed in optlen.) For
getsockopt(2), the argument is an in_addr structure.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions