mirror_qemu/net
Mike Ryan 3a75e74c76 net/sock: option to specify local address
Add an option to specify the host IP to send multicast packets from,
when using a multicast socket for networking. The option takes an IP
address and sets the IP_MULTICAST_IF socket option, which causes the
packets to use that IP's interface as an egress.

This is useful if the host machine has several interfaces with several
virtual networks across disparate interfaces.

Signed-off-by: Mike Ryan <mikeryan@ISI.EDU>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2010-12-09 12:45:50 +02:00
..
checksum.c net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
dump.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
dump.h net: move dump backend code from net.c to net/dump.c 2009-12-03 09:41:28 -06:00
queue.c net/queue: queue packets even if sender doesn't supply a callback 2009-11-09 08:43:02 -06:00
queue.h net: move net-queue.[ch] under net/ 2009-10-30 08:39:26 -05:00
slirp.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
slirp.h net: move slirp code from net.c to net/slirp.c 2009-12-03 09:41:27 -06:00
socket.c net/sock: option to specify local address 2010-12-09 12:45:50 +02:00
socket.h net: move socket backend code from net.c to net/socket.c 2009-12-03 09:41:28 -06:00
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c tap: Remove double include of util.h 2010-09-29 16:15:37 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-win32.c Delete write only variables 2010-10-13 18:41:29 +00:00
tap.c tap: make set_offload a nop after netdev cleanup 2010-11-16 08:40:07 -06:00
tap.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
vde.h net: move vde code from net.c to net/vde.c 2009-12-03 09:41:28 -06:00