1. 10 2月, 2012 1 次提交
  2. 13 1月, 2012 1 次提交
  3. 06 1月, 2012 1 次提交
  4. 13 12月, 2011 2 次提交
  5. 06 12月, 2011 1 次提交
  6. 21 8月, 2011 1 次提交
  7. 07 8月, 2011 1 次提交
    • B
      Fix forcing multicast msgs to loopback on OpenBSD. · 23ddf2bb
      Brad 提交于
      Fix forcing multicast msgs to loopback on OpenBSD.
      e.g.
      $ sudo qemu -m 128 -no-fd-bootchk \
              -hda virtual.img -boot n -nographic \
              -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:34:03 \
              -net user -tftp /usr/src/sys/arch/i386/compile/TEST -bootp pxeboot \
              -net nic,vlan=1,model=rtl8139,macaddr=52:54:00:23:03:01 \
              -net tap,vlan=1,script=no \
              -net nic,vlan=3,model=rtl8139,macaddr=52:54:00:23:03:03 \
              -net socket,vlan=3,mcast=230.0.0.1:10003
      setsockopt(SOL_IP, IP_MULTICAST_LOOP): Invalid argument
      qemu: -net socket,vlan=3,mcast=230.0.0.1:10003: Device 'socket' could not be initialized
      Signed-off-by: NBrad Smith <brad@comstyle.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      23ddf2bb
  8. 25 7月, 2011 1 次提交
    • B
      Wrap recv to avoid warnings · 00aa0040
      Blue Swirl 提交于
      Avoid warnings like these by wrapping recv():
        CC    slirp/ip_icmp.o
      /src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
      /src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
      /usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'
      
      Remove also casts used to avoid warnings.
      Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      00aa0040
  9. 24 6月, 2011 1 次提交
  10. 25 2月, 2011 1 次提交
  11. 18 12月, 2010 1 次提交
    • B
      Fix warning on mingw32 · 4d22c6c2
      Blue Swirl 提交于
      Avoid this warning like other uses of setsockopt:
      /src/qemu/net/socket.c: In function 'net_socket_mcast_create':
      /src/qemu/net/socket.c:210: warning: passing argument 4 of 'setsockopt' from incompatible pointer type
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      4d22c6c2
  12. 09 12月, 2010 1 次提交
    • M
      net/sock: option to specify local address · 3a75e74c
      Mike Ryan 提交于
      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: NMike Ryan <mikeryan@ISI.EDU>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      3a75e74c
  13. 16 3月, 2010 2 次提交
  14. 20 2月, 2010 1 次提交
  15. 04 12月, 2009 1 次提交
  16. 03 12月, 2009 2 次提交