aboutsummaryrefslogtreecommitdiffstats
path: root/net.c
AgeCommit message (Expand)AuthorFilesLines
2012-09-14net: add receive_disabled logic to iov delivery pathStefan Hajnoczi1-2/+13
2012-09-14net: notify iothread after flushing queuePaolo Bonzini1-1/+6
2012-09-07monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_paramNicholas Bellinger1-18/+0
2012-08-03Merge remote-tracking branch 'stefanha/net' into stagingAnthony Liguori1-433/+183
2012-08-02Support 'help' as a synonym for '?' in command line optionsPeter Maydell1-1/+2
2012-08-01net: cleanup deliver/deliver_iov func pointersZhi Yong Wu1-24/+11
2012-08-01net: Make "info network" output more readable infoZhi Yong Wu1-5/+10
2012-08-01net: Rename qemu_del_vlan_client() to qemu_del_net_client()Stefan Hajnoczi1-10/+10
2012-08-01net: Rename vc local variables to ncStefan Hajnoczi1-110/+110
2012-08-01net: Rename VLANClientState to NetClientStateStefan Hajnoczi1-44/+43
2012-08-01net: Rename non_vlan_clients to net_clientsStefan Hajnoczi1-11/+11
2012-08-01net: Remove VLANStateStefan Hajnoczi1-104/+21
2012-08-01net: Remove vlan code from net.cStefan Hajnoczi1-108/+0
2012-08-01net: Drop vlan argument to qemu_new_net_client()Stefan Hajnoczi1-17/+10
2012-08-01hub: Check that hubs are configured correctlyStefan Hajnoczi1-24/+1
2012-08-01net: Look up 'vlan' net clients using hubsStefan Hajnoczi1-27/+1
2012-08-01net: Use hubs for the vlan featureStefan Hajnoczi1-17/+20
2012-08-01net: Add a hub net clientStefan Hajnoczi1-7/+10
2012-07-23remove unused QemuOpts parameter from net init functionsLaszlo Ersek1-8/+6
2012-07-23convert net_init_nic() to NetClientOptionsLaszlo Ersek1-17/+22
2012-07-23convert net_client_init() to OptsVisitorLaszlo Ersek1-333/+96
2012-07-23hw, net: "net_client_type" -> "NetClientOptionsKind" (qapi-generated)Laszlo Ersek1-25/+25
2012-06-07change iov_* function prototypes to be more appropriateMichael Tokarev1-1/+1
2012-06-04qapi: convert netdev_delLuiz Capitulino1-6/+5
2012-06-04qapi: convert netdev_addLuiz Capitulino1-12/+24
2012-06-04net: net_client_init(): use error_set()Luiz Capitulino1-16/+38
2012-06-04net: purge the monitor object from all init functionsLuiz Capitulino1-11/+7
2012-06-04qemu-option: qemu_opts_from_qdict(): use error_set()Luiz Capitulino1-1/+4
2012-06-04qemu-option: qemu_opts_validate(): use error_set()Luiz Capitulino1-1/+5
2012-03-16net: move compute_mcast_idx() to net.hJason Wang1-0/+23
2012-02-04w32: Fix build with new net bridge codeStefan Weil1-3/+16
2012-02-01Add support for net bridgeCorey Bryant1-1/+24
2012-01-12Support for UDP unicast network backendBenjamin1-1/+5
2011-12-06qapi: Convert set_linkLuiz Capitulino1-6/+4
2011-11-01Move filedescriptor parsing code from net.c into qemu_parse_fd()Stefan Berger1-6/+1
2011-08-20Use glib memory allocation and free functionsAnthony Liguori1-12/+12
2011-08-04Merge remote-tracking branch 'mst/for_anthony' into stagingAnthony Liguori1-4/+15
2011-07-23net: Consistently use qemu_macaddr_default_if_unsetJan Kiszka1-8/+2
2011-07-23net: Dump client type 'info network'Jan Kiszka1-3/+12
2011-07-23net: Refactor net_client_typesJan Kiszka1-12/+18
2011-07-23net: Improve layout of 'info network'Jan Kiszka1-5/+9
2011-07-19Fix netdev name lookup in -device, device_add, netdev_delMarkus Armbruster1-2/+8
2011-07-19Fix automatically assigned network names for netdevMarkus Armbruster1-2/+7
2011-06-24Strip trailing '\n' from error_report()'s first argumentMarkus Armbruster1-1/+1
2011-06-22net: Warn about "-net nic" options which were ignoredPeter Maydell1-0/+15
2011-06-22net: Don't warn about the default network setupPeter Maydell1-0/+12
2011-06-22Revert "net: Improve the warnings for dubious command line option combinations"Peter Maydell1-31/+0
2011-04-15Remove unused sysemu.h include directivesBlue Swirl1-1/+0
2011-04-01net: Improve the warnings for dubious command line option combinationsPeter Maydell1-0/+31
2011-04-01Fix net_check_clients warnings: make it per vlan.Tristan Gingold1-1/+2
2011-03-06net: Add the missing option declaration of "vhostforce"Jason Wang1-1/+5
2011-03-06net: remove parse_host_src_port() functionJuan Quintela1-41/+0
2011-03-06net: Use iov helper functionsBenjamin Poirier1-22/+6
2011-03-05net: fix qemu_can_send_packet logicVincent Palatin1-3/+3
2011-02-20net: notify peer about link status changeMichael S. Tsirkin1-0/+11
2010-12-09net/sock: option to specify local addressMike Ryan1-0/+4
2010-10-27net: properly handle illegal fd/vhostfd from command lineJason Wang1-5/+11
2010-10-06net: delay freeing peer host deviceMichael S. Tsirkin1-7/+42
2010-08-22QemuOpts: make most qemu_*_opts staticGerd Hoffmann1-7/+9
2010-07-01net: delete QemuOpts when net_client_init() fails.Yoshiaki Tamura1-0/+4
2010-06-30net: Fix VM start with '-net none'Amit Shah1-1/+1
2010-06-14Make netdev_del delete the netdev even when it's in useMarkus Armbruster1-4/+0
2010-06-10Merge remote branch 'mst/for_anthony' into stagingAnthony Liguori1-2/+5
2010-06-09net: Fix hotplug with pci_addAmit Shah1-2/+5
2010-06-01Monitor: Drop QMP documentation from codeLuiz Capitulino1-22/+0
2010-04-18monitor: Convert do_set_link() to QObject, QErrorMarkus Armbruster1-3/+4
2010-04-18monitor: Use argument type 'b' for set_linkMarkus Armbruster1-8/+2
2010-04-18monitor: New commands netdev_add, netdev_delMarkus Armbruster1-0/+55
2010-04-18error: Convert net_client_init() to QErrorMarkus Armbruster1-20/+18
2010-04-18error: Drop extra messages after qemu_opts_set() and qemu_opts_parse()Markus Armbruster1-2/+0
2010-04-10net: remove broken net_set_boot_mask() boot device validationEduardo Habkost1-19/+0
2010-04-10net: remove NICInfo.bootable fieldEduardo Habkost1-1/+0
2010-04-01tap: add vhost/vhostfd optionsMichael S. Tsirkin1-0/+8
2010-03-16qemu-option: Move the implied first name into QemuOptsListMarkus Armbruster1-2/+2
2010-03-16error: Replace qemu_error() by error_report()Markus Armbruster1-14/+14
2010-03-09qdev: Catch attempt to attach more than one device to a netdevMarkus Armbruster1-0/+1
2010-03-08qdev: Add a DEV_NVECTORS_UNSPECIFIED enum for unspecified nr of MSI vectorsAmit Shah1-2/+4
2010-02-21Allow const QemuOptDescBlue Swirl1-1/+1
2010-02-20Fix warning on OpenBSDBlue Swirl1-1/+1
2010-02-19net: Monitor command set_link finds only VLAN clients, fixMarkus Armbruster1-0/+1
2010-02-19net: info network shows only VLAN clients, fixMarkus Armbruster1-2/+9
2010-02-19net: net_check_clients() checks only VLAN clients, fixMarkus Armbruster1-0/+7
2010-02-19net: Fix bogus "Warning: vlan 0 with no nics" with -deviceMarkus Armbruster1-7/+18
2010-02-19net: net_check_clients() runs too early to see -device, fixMarkus Armbruster1-3/+1
2010-02-19net: Remove unused net_client_uninit()Markus Armbruster1-14/+0
2010-02-10don't dereference NULL after failed strdupJim Meyering1-1/+1
2009-12-12default devices: networkGerd Hoffmann1-1/+4
2009-12-03net: print correct error for '-netdev ""'Mark McLoughlin1-5/+11
2009-12-03net: add qemu_foreach_nic()Mark McLoughlin1-0/+20
2009-12-03net: remove VLANClientState members now in NetClientInfoMark McLoughlin1-25/+20
2009-12-03net: remove qemu_new_vlan_client()Mark McLoughlin1-44/+0
2009-12-03net: move parse_macaddr() to net/util.[ch]Mark McLoughlin1-33/+2
2009-12-03net: introduce NICState and qemu_new_nic()Mark McLoughlin1-0/+21
2009-12-03net: introduce qemu_new_net_client()Mark McLoughlin1-21/+49
2009-12-03net: clean up includes in net.cMark McLoughlin1-70/+3
2009-12-03net: move dump backend code from net.c to net/dump.cMark McLoughlin1-126/+1
2009-12-03net: move socket backend code from net.c to net/socket.cMark McLoughlin1-529/+1
2009-12-03net: move vde code from net.c to net/vde.cMark McLoughlin1-101/+1
2009-12-03net: move slirp code from net.c to net/slirp.cMark McLoughlin1-712/+6
2009-11-29Add support for GNU/kFreeBSDAurelien Jarno1-4/+1
2009-11-09net: disable receiving if client returns zeroMark McLoughlin1-11/+38
2009-10-30net: move AIX code into net/tap-aix.cMark McLoughlin1-2/+0
2009-10-30net: split all the tap code out into net/tap.cMark McLoughlin1-691/+1
2009-10-30net: move tap-linux.h under net/Mark McLoughlin1-1/+1
2009-10-30net: move more stuff into net/tap-win32.c, add net/tap.hMark McLoughlin1-64/+11
2009-10-27Enable UFO on virtio-net and tap devicesSridhar Samudrala1-4/+32
2009-10-27net: add tap_set_offload()Mark McLoughlin1-0/+24
2009-10-27net: implement tap support for receive_raw()Mark McLoughlin1-4/+19
2009-10-27net: add receive_raw parameter to qemu_new_vlan_client()Mark McLoughlin1-6/+8
2009-10-27net: add an API for 'raw' packetsMark McLoughlin1-8/+29
2009-10-27net: add flags parameter to packet queue interfaceMark McLoughlin1-2/+12
2009-10-27net: add tap_has_vnet_hdr() and tap_using_vnet_hdr() APIsMark McLoughlin1-4/+35
2009-10-27net: add a client type codeMark McLoughlin1-7/+15
2009-10-27net: add a vnet_hdr=on|off parameterMark McLoughlin1-10/+32
2009-10-27net: refactor tap initializationMark McLoughlin1-45/+52
2009-10-27net: enable IFF_VNET_HDR on tap fds if availableMark McLoughlin1-13/+70
2009-10-27net: make tap_receive() re-use tap_receive_iov() codeMark McLoughlin1-8/+15
2009-10-27net: import linux tap ioctl definitionsMark McLoughlin1-10/+1
2009-10-27qdev: add netdev propertyGerd Hoffmann1-1/+1
2009-10-27net: add macaddr type.Gerd Hoffmann1-0/+15
2009-10-15net: fix multiple NICs causing net opts process to stopMark McLoughlin1-1/+3
2009-10-15net: add queue for peer-to-peer packet forwardingMark McLoughlin1-13/+98
2009-10-15net: refactor packet queueing codeMark McLoughlin1-115/+23
2009-10-15net: allow NICs to be connected to netdevsMark McLoughlin1-10/+25
2009-10-15net: add -net nic,netdev= optionMark McLoughlin1-5/+36
2009-10-15net: maintain a list of vlan-less clientsMark McLoughlin1-2/+11
2009-10-15net: handle -netdevice optionsMark McLoughlin1-36/+92
2009-10-15net: add QemuOptsList arg to net_client_parse()Mark McLoughlin1-3/+4
2009-10-15net: allow clients not associated with a vlanMark McLoughlin1-7/+23
2009-10-15net: use qtailq for vlan and client listsMark McLoughlin1-58/+58
2009-10-15net: remove id field from NICInfoMark McLoughlin1-4/+0
2009-10-15net: handle id= parameter for -netMark McLoughlin1-28/+20
2009-10-15net: pass monitor handle to client init functionsMark McLoughlin1-1/+1
2009-10-12slirp: fix !CONFIG_SLIRP compilationJuan Quintela1-1/+4
2009-10-06Final net cleanup after conversion to QemuOptsMark McLoughlin1-58/+58
2009-10-06Port usb net to QemuOptsMark McLoughlin1-1/+1
2009-10-06Port host_net_add monitor command to QemuOptsMark McLoughlin1-2/+13
2009-10-06Clean up legacy code in net_client_init()Mark McLoughlin1-44/+14
2009-10-06Port -net dump to QemuOptsMark McLoughlin1-12/+42
2009-10-06Port -net vde to QemuOptsMark McLoughlin1-36/+58
2009-10-06Port -net socket to QemuOptsMark McLoughlin1-59/+109
2009-10-06Port -net tap to QemuOptsMark McLoughlin1-90/+140
2009-10-06Port -net user to QemuOptsMark McLoughlin1-106/+161
2009-10-06Port -net none and -net nic to QemuOptsMark McLoughlin1-77/+160
2009-10-06Drop config_error(), use qemu_error() insteadMarkus Armbruster1-72/+55
2009-10-06Don't exit() in config_error()Markus Armbruster1-36/+47
2009-10-06Make net_client_init() consume slirp_configs even on errorMarkus Armbruster1-5/+7
2009-10-06Use qemu_strdup() for VLANClientState string fieldsMark McLoughlin1-7/+7
2009-10-06Move memset() from net_client_uninit() to net_client_init()Mark McLoughlin1-1/+2
2009-10-06Make NICInfo string fields non-constMark McLoughlin1-4/+4
2009-10-06Use qemu_strdup() for NICInfo string fieldsMark McLoughlin1-4/+4
2009-10-05Fix pci_add nic not to exit on bad modelMarkus Armbruster1-16/+25
2009-10-05Make it obvious that pci_nic_init() can't failMarkus Armbruster1-3/+3
2009-10-05Correctly free nd structureGlauber Costa1-2/+7
2009-09-30net: fix coding style nitMichael S. Tsirkin1-1/+1
2009-09-12Fix sys-queue.h conflict for goodBlue Swirl1-26/+25
2009-09-11Unexport ticks_per_sec variable. Create get_ticks_per_sec() functionJuan Quintela1-1/+1
2009-09-04Include sys-queue.h early to override system queue definitions on BSDBlue Swirl1-0/+2
2009-09-04monitor: Port handler_3 to use QDictLuiz Capitulino1-4/+8
2009-09-04monitor: Port handler_2 to use QDictLuiz Capitulino1-3/+10
2009-09-04net: Fix send queue orderingJan Kiszka1-17/+12
2009-08-24Add missing linefeed in error messageStefan Weil1-1/+1
2009-08-10net: Fix do_set_link() return typeLuiz Capitulino1-4/+2
2009-07-27rename HOST_BSD to CONFIG_BSDJuan Quintela1-3/+3
2009-07-27Remove useless Win32 include files and unused function in net.c.Filip Navara1-29/+0
2009-07-27slirp: Fix guestfwd for incoming dataJan Kiszka1-5/+6
2009-07-27Add support for fd=name to tap and socket networkingMark McLoughlin1-7/+35
2009-07-16qdev: add id= support for pci nics.Gerd Hoffmann1-1/+4
2009-07-16slirp: Fix default netmask to 255.255.255.0Anthony Liguori1-2/+2
2009-07-09Don't abort if TUNSETSNDBUF fails where no sndbuf= arg is suppliedMark McLoughlin1-1/+1
2009-07-09net: set a default value for sndbuf=Mark McLoughlin1-5/+29
2009-07-01Use pstrcpy and pstrcat to avoid OpenBSD linker warningBlue Swirl1-3/+4
2009-06-29slirp: Basic VLAN client info_strJan Kiszka1-1/+2
2009-06-29slirp: Make hostfwd_add/remove multi-instance-awareJan Kiszka1-10/+52
2009-06-29net: Provide VLAN client lookup helperJan Kiszka1-12/+32
2009-06-29slirp: Enable multi-instance support for the smb serviceJan Kiszka1-20/+30
2009-06-29slirp: Improve error handling in slirp_smbJan Kiszka1-10/+12
2009-06-29slirp: Use shell to erase smb directoryJan Kiszka1-26/+4
2009-06-29slirp: Enable multiple instancesJan Kiszka1-18/+19
2009-06-29slirp: Allocate/free stack instance dynamicallyJan Kiszka1-109/+103
2009-06-29slirp: Use internal state in interfaceJan Kiszka1-41/+64
2009-06-29slirp: Drop redundant checks from slirp_outputJan Kiszka1-3/+1
2009-06-29slirp: Kill slirp_is_initedJan Kiszka1-8/+1
2009-06-29slirp: Drop statistic codeJan Kiszka1-5/+0
2009-06-29slirp: Add info usernet for dumping connection statesJan Kiszka1-0/+6
2009-06-29slirp: Do not allow to remove non-hostfwd socketsJan Kiszka1-4/+4
2009-06-29slirp: Bind support for host forwarding rulesJan Kiszka1-14/+36
2009-06-29slirp: Rework monitor commands for host forwardingJan Kiszka1-17/+20
2009-06-29slirp: Rework external configuration interfaceJan Kiszka1-77/+239
2009-06-29slirp: Move smb, redir, tftp and bootp parameters and -net channelJan Kiszka1-46/+129
2009-06-29Revert "User networking: Show active connections"Jan Kiszka1-44/+0
2009-06-24qemu/net: flag to control the number of vectors a nic hasMichael S. Tsirkin1-1/+17
2009-06-22net: add packet length to NetPacketSent callbackMark McLoughlin1-2/+2
2009-06-22net: add '-net tap,sndbuf=nbytes'Mark McLoughlin1-4/+22
2009-06-22net: return TAPState from net_tap_init()Mark McLoughlin1-11/+16
2009-06-22net: handle EAGAIN from tapfd write()Mark McLoughlin1-2/+25
2009-06-22net: add tap_read_poll() helperMark McLoughlin1-7/+23
2009-06-22net: purge queued packets in tap_cleanup()Mark McLoughlin1-0/+2
2009-06-22net: add qemu_purge_queued_packets()Mark McLoughlin1-0/+16
2009-06-22Support addr=... in option argument of -net nicMarkus Armbruster1-1/+4