aboutsummaryrefslogtreecommitdiffstats
path: root/net
AgeCommit message (Expand)AuthorFilesLines
2019-10-29COLO-compare: Fix incorrect `if` logicFan Yang1-3/+3
2019-10-17Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into stagingPeter Maydell1-0/+4
2019-10-05vhost-user: save features if the char dev is closedAdrian Moreno1-0/+4
2019-10-01slirp: Allow non-local DNS address when restrict is offSamuel Thibault1-2/+2
2019-09-18trace: Remove trailing newline in eventsPhilippe Mathieu-Daudé1-3/+3
2019-09-12migration: register_savevm_live doesn't need devDr. David Alan Gilbert1-1/+1
2019-08-16sysemu: Split sysemu/runstate.h off sysemu/sysemu.hMarkus Armbruster1-0/+2
2019-08-16Clean up inclusion of sysemu/sysemu.hMarkus Armbruster4-4/+0
2019-08-16Include hw/qdev-properties.h lessMarkus Armbruster1-1/+1
2019-08-16Include qemu/main-loop.h lessMarkus Armbruster4-0/+4
2019-07-29net/colo-compare.c: Fix memory leak and code style issue.Zhang Chen1-7/+20
2019-07-29net: tap: replace snprintf with g_strdup_printf callsPrasad J Pandit1-8/+11
2019-07-02COLO-compare: Add colo-compare remote notify supportZhang Chen1-10/+44
2019-07-02COLO-compare: Make the compare_chr_send() can send notification message.Zhang Chen1-8/+33
2019-07-02COLO-compare: Add remote notification chardev handler frameZhang Chen1-0/+39
2019-07-02COLO-compare: Add new parameter to communicate with remote colo-frameZhang Chen1-0/+21
2019-07-02net/announce: Add optional IDDr. David Alan Gilbert2-8/+47
2019-07-02net/announce: Allow optional list of interfacesDr. David Alan Gilbert2-8/+33
2019-07-02net: remove unused get_str_sep() functionStefano Garzarella1-20/+0
2019-07-02net: use g_strsplit() for parsing host address and portStefano Garzarella1-16/+27
2019-07-02net: avoid using variable length array in net_client_init()Stefano Garzarella1-12/+19
2019-07-02net: fix assertion failure when ipv6-prefixlen is not a numberStefano Garzarella1-4/+5
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster12-9/+4
2019-06-12Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster6-3/+9
2019-06-11qemu-common: Move qemu_isalnum() etc. to qemu/ctype.hMarkus Armbruster2-0/+2
2019-05-20do not call vhost_net_cleanup() on running net from char user eventDan Streetman1-1/+0
2019-05-17net/colo-compare.c: Fix a crash in COLO Primary.Lukas Straub1-2/+1
2019-05-17net/slirp: fix the IPv6 prefix length error messageStefano Garzarella1-1/+2
2019-05-13Clean up header guards that don't match their file nameMarkus Armbruster1-3/+3
2019-05-03net: Print output of "-net nic, model=help" to stdout instead of stderrThomas Huth1-3/+4
2019-03-29net: tap: use qemu_set_nonblockLi Qiang1-5/+5
2019-03-29net/socket: learn to talk with a unix dgram socketMarc-André Lureau1-4/+21
2019-03-22trace-events: Shorten file names in commentsMarkus Armbruster1-5/+5
2019-03-12vhost-user: simplify vhost_user_init/vhost_user_cleanupMarc-André Lureau1-9/+4
2019-03-07build-sys: link with slirp as an external projectMarc-André Lureau2-1/+3
2019-03-07slirp: move sources to src/ subdirectoryMarc-André Lureau1-1/+1
2019-03-07slirp: use libslirp migration codeMarc-André Lureau1-0/+55
2019-03-06slirp: Mark pieces missing IPv6 supportSamuel Thibault1-0/+1
2019-03-05qmp: Add announce-self commandDr. David Alan Gilbert1-0/+7
2019-03-05net: Add a network device specific self-announcement abilityDr. David Alan Gilbert1-0/+5
2019-03-05migration: Switch to using announce timerDr. David Alan Gilbert2-0/+71
2019-03-05net: Introduce announce timerDr. David Alan Gilbert2-0/+61
2019-03-05net: netmap: improve netmap_receive_iov()Vincenzo Maffione1-12/+17
2019-03-05net: netmap: simplify netmap_receive()Vincenzo Maffione1-39/+11
2019-03-05net: netmap: small improvements netmap_send()Vincenzo Maffione1-12/+19
2019-03-05net/colo-compare.c: Remove duplicated codeZhang Chen1-8/+0
2019-02-21vhost-user: support cross-endian vnet headersPaolo Bonzini1-0/+13
2019-02-21vhost-net-user: add stubs for when no virtio-net device is presentPaolo Bonzini3-2/+27
2019-02-13char: allow specifying a GMainContext at opening timePaolo Bonzini1-1/+1
2019-02-07slirp: pass opaque to all callbacksMarc-André Lureau1-9/+16
2019-02-07slirp: use polling callbacks, drop glib requirementMarc-André Lureau1-3/+69
2019-02-07slirp: replace global polling with per-instance & notifierMarc-André Lureau1-0/+24
2019-02-07slirp: improve send_packet() callbackMarc-André Lureau2-6/+7
2019-02-07slirp: replace qemu_notify_event() with a callbackMarc-André Lureau1-0/+1
2019-02-07slirp: add unregister_poll_fd() callbackMarc-André Lureau1-0/+6
2019-02-07slirp: replace qemu_set_nonblock()Marc-André Lureau1-0/+6
2019-02-07slirp: add callbacks for timerMarc-André Lureau1-0/+21
2019-02-07net/slirp: fix leaks on forwarding rule registration errorMarc-André Lureau1-0/+2
2019-02-07net/slirp: free forwarding rules on cleanupMarc-André Lureau1-7/+18
2019-02-07net/slirp: simplify checking for cmd: prefixMarc-André Lureau1-1/+1
2019-02-07slirp: generalize guestfwd with a callback based approachMarc-André Lureau1-4/+10
2019-01-14slirp: add clock_get_ns() callbackMarc-André Lureau1-0/+6
2019-01-14slirp: drop <Vista compatibilityMarc-André Lureau1-22/+0
2019-01-14net: do not depend on slirp internalsMarc-André Lureau6-14/+71
2019-01-14slirp: add a callback to log guest errorsMarc-André Lureau1-0/+7
2019-01-14slirp: use a callback structure to interface with qemuMarc-André Lureau1-1/+5
2019-01-14slirp: remove Monitor dependency, return a string for infoMarc-André Lureau1-3/+4
2019-01-14slirp: use a dedicated field for chardev pointerMarc-André Lureau1-4/+4
2019-01-14slirp: associate slirp_output callback with the Slirp contextMarc-André Lureau1-2/+3
2019-01-11avoid TABs in files that only contain a fewPaolo Bonzini1-1/+1
2019-01-11qemu/queue.h: simplify reverse access to QTAILQPaolo Bonzini2-2/+2
2019-01-11qemu/queue.h: leave head structs anonymous unless necessaryPaolo Bonzini2-2/+2
2018-12-12colo: check chardev can switch contextMarc-André Lureau1-0/+6
2018-12-04net: hub: suppress warnings of no host network for qtestJason Wang1-1/+2
2018-12-04net: drop too large packet earlyJason Wang1-11/+17
2018-11-16net/filter-rewriter.c: Fix coverity static analysis issueZhang Chen1-1/+2
2018-10-23Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-22' into...Peter Maydell2-15/+14
2018-10-21slirp: Implement RFC2132 TFTP server nameFam Zheng1-2/+10
2018-10-21slirp: Add sanity check for str option lengthFam Zheng1-0/+9
2018-10-19net/socket: Fix invalid socket type error handlingMarkus Armbruster1-2/+2
2018-10-19l2tpv3: Improve -netdev/netdev_add/-net/... error reportingMarkus Armbruster1-13/+12
2018-10-19net: ignore packet size greater than INT_MAXJason Wang1-1/+6
2018-10-19filter-rewriter: handle checkpoint and failover eventZhang Chen4-6/+73
2018-10-19filter: Add handle_event method for NetFilterClassZhang Chen2-0/+36
2018-10-19colo-compare: use notifier to notify packets comparing resultZhang Chen2-11/+28
2018-10-19colo-compare: implement the process of checkpointZhang Chen2-0/+100
2018-10-19filter-rewriter: Add TCP state machine and fix memory leak in connection_trac...Zhang Chen3-16/+104
2018-10-03chardev: mark the calls that allow an implicit mux monitorMarc-André Lureau1-1/+5
2018-09-25net/slirp: Deprecate the [hub_id name] parameter tupleThomas Huth1-0/+2
2018-09-25net: Deprecate the "name" parameter of -netThomas Huth1-0/+4
2018-08-31net: Remove the deprecated -tftp, -bootp, -redir and -smb optionsThomas Huth1-103/+29
2018-07-20tap: fix memory leak on success to create a tap deviceYunjian Wang1-6/+10
2018-06-15vhost-user: delete net client if necessarylinzhecheng1-0/+3
2018-06-15net: Fix a potential segfaultLin Ma1-1/+3
2018-06-15tap: set vhostfd passed from qemu cli to non-blockingBrijesh Singh1-0/+2
2018-06-12object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalenceMarc-André Lureau2-2/+2
2018-06-04Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into stagingPeter Maydell4-11/+39
2018-06-01colo: use local path for local headersMichael S. Tsirkin3-3/+3
2018-05-31net/slirp: Convert atoi to qemu_strtoi to allow error checkingNia Alarie1-1/+3
2018-05-31slirp: Add domainname option to slirp's DHCP serverBenjamin Drung1-3/+9
2018-05-24vhost-user: introduce shared vhost-user stateTiwei Bie1-8/+36
2018-05-23vhost-user: add Net prefix to internal state structureTiwei Bie1-19/+19
2018-05-14net: Get rid of 'vlan' terminology and use 'hub' instead in the source filesThomas Huth3-10/+9
2018-05-14net: Remove the deprecated "vlan" parameterThomas Huth1-9/+3
2018-05-14net: Fix memory leak in net_param_nic()Thomas Huth1-2/+4
2018-03-26net/vde: print error on vde_open() failureJulia Suvorova via Qemu-devel1-3/+4
2018-03-26virtio_net: flush uncompleted TX on resetGreg Kurz1-1/+0
2018-03-05Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into st...Peter Maydell3-228/+135
2018-03-05tap: setting error appropriately when calling net_init_tap_one()Jay Zhou1-5/+17
2018-03-05net: Add a new convenience option "--nic" to configure default/on-board NICsThomas Huth1-0/+78
2018-03-05net: Remove the deprecated 'host_net_add' and 'host_net_remove' HMP commandsThomas Huth1-94/+0
2018-03-05net: Remove the deprecated way of dumping network packetsThomas Huth2-108/+3
2018-03-05net: Make net_client_init() staticThomas Huth1-1/+1
2018-03-05net: List available netdevs with "-netdev help"Thomas Huth1-1/+36
2018-03-05net: Move error reporting from net_init_client/netdev to the calling siteThomas Huth1-24/+5
2018-03-02qapi: Move qapi-schema.json to qapi/, rename generated filesMarkus Armbruster1-1/+1
2018-03-02Include less of the generated modular QAPI headersMarkus Armbruster7-8/+5
2018-03-01vhost-user: fix memory leaklinzhecheng1-0/+1
2018-02-13net/can: support for connecting to Linux host SocketCAN interface.Pavel Pisa2-0/+287
2018-02-13net/can: simple messages transport implementation for QEMUPavel Pisa4-0/+253
2018-02-09Move include qemu/option.h from qemu-common.h to actual usersMarkus Armbruster2-1/+2
2018-02-09Include qapi/qmp/qdict.h exactly where neededMarkus Armbruster3-0/+4
2018-02-09Drop superfluous includes of qapi/qmp/qerror.hMarkus Armbruster3-3/+0
2018-02-09Include qapi/error.h exactly where neededMarkus Armbruster4-2/+3
2018-02-09Drop superfluous includes of qapi-types.h and test-qapi-types.hMarkus Armbruster2-2/+0
2018-01-29net: Allow netdevs to be used with 'hostfwd_add' and 'hostfwd_remove'Thomas Huth1-10/+23
2018-01-29net: Allow hubports to connect to other netdevsThomas Huth3-8/+24
2018-01-29colo: compare the packet based on the tcp sequence numberMao Zhongyi4-119/+250
2018-01-29colo: modified the payload compare functionMao Zhongyi1-44/+44
2017-12-22net: Remove the legacy "-net channel" parameterThomas Huth2-41/+0
2017-12-22net: remove unused compute_mcast_idx() functionMark Cave-Ayland1-5/+0
2017-12-22net: introduce net_crc32_le() functionMark Cave-Ayland1-0/+22
2017-12-22net: move CRC32 calculation from compute_mcast_idx() into its own net_crc32()...Mark Cave-Ayland1-5/+11
2017-12-18misc: remove headers implicitly includedPhilippe Mathieu-Daudé1-1/+0
2017-11-20colo-compare: fix the dangerous assignmentMao Zhongyi1-1/+1
2017-11-13net/socket: fix coverity issueJens Freimann1-1/+1
2017-11-13colo: Consolidate the duplicate code chunk into a routineMao Zhongyi2-8/+11
2017-11-13colo-compare: Fix commentsMao Zhongyi1-3/+5
2017-11-13colo-compare: compare the packet in a specified ConnectionMao Zhongyi1-5/+8
2017-11-13colo-compare: Insert packet into the suitable position of packet queue directlyMao Zhongyi1-18/+22
2017-11-13net: fix check for number of parameters to -netdev socketJens Freimann1-2/+2
2017-10-16filter-mirror: segfault when specifying non existent deviceEduardo Otubo1-0/+6
2017-09-24slirp: Add explanation for hostfwd parsing failureDr. David Alan Gilbert1-1/+12
2017-09-22buildsys: Move vde libs to per objectFam Zheng1-0/+2
2017-09-19General warn report fixupsAlistair Francis2-6/+5
2017-09-19Convert multi-line fprintf() to warn_report()Alistair Francis2-12/+11
2017-09-19Convert single line fprintf(.../n) to warn_report()Alistair Francis1-1/+2
2017-09-08colo-compare: Use IOThread to Check old packet regularly and Process pactkets...Wang Yong1-38/+45
2017-09-08net/colo-compare.c: Fix comments and schemeZhang Chen1-28/+31
2017-09-08net/colo-compare.c: Adjust net queue pop order for performanceZhang Chen1-2/+2
2017-09-08net/colo-compare.c: Optimize unpredictable tcp options comparisonZhang Chen1-12/+27
2017-09-08net/socket: Improve -net socket error reportingMao Zhongyi1-48/+44
2017-09-08net/net: Convert parse_host_port() to ErrorMao Zhongyi2-12/+32
2017-09-08net/socket: Convert several helper functions to ErrorMao Zhongyi1-32/+50
2017-09-08net/socket: Don't treat odd socket type as SOCK_STREAMMao Zhongyi1-3/+3
2017-09-08net/filter-rewriter.c: Fix rewirter checksum bug when use virtio-netZhang Chen1-2/+4
2017-09-04qapi: Change data type of the FOO_lookup generated for enum FOOMarc-André Lureau1-1/+1
2017-09-04qapi: Mechanically convert FOO_lookup[...] to FOO_str(...)Markus Armbruster1-2/+2
2017-08-09net: fix -netdev socket,fd= for UDP socketsJens Freimann1-19/+18
2017-08-03slirp: fill error when failing to initialize user networkHervé Poussineau1-40/+94
2017-08-02vhost-user: fix watcher need be removed when vhost-user hotplugYunjian Wang1-0/+4
2017-08-01trace-events: fix code style: print 0x before hex numbersVladimir Sementsov-Ogievskiy1-2/+2
2017-08-01trace: add trace_event_get_state_backends()Stefan Hajnoczi2-7/+8
2017-07-31docs: fix broken paths to docs/devel/tracing.txtPhilippe Mathieu-Daudé1-1/+1
2017-07-31net/eth: fix incorrect check of iov_to_buf() return valuePhilippe Mathieu-Daudé1-2/+2
2017-07-17net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_lenZhang Chen1-1/+36
2017-07-17net/colo-compare.c: Add vnet packet's tcp/udp/icmp compareZhang Chen1-2/+6
2017-07-17net/colo.c: Add vnet packet parse feature in colo-proxyZhang Chen1-3/+3
2017-07-17net/colo-compare.c: Make colo-compare support vnet_hdr_lenZhang Chen1-7/+53
2017-07-17net/colo-compare.c: Introduce parameter for compare_chr_send()Zhang Chen1-7/+7
2017-07-17net/colo.c: Make vnet_hdr_len as packet propertyZhang Chen4-5/+12
2017-07-17net/filter-mirror.c: Add new option to enable vnet support for filter-redirectorZhang Chen1-0/+23
2017-07-17net/filter-mirror.c: Make filter mirror support vnet support.Zhang Chen1-1/+41
2017-07-17net/filter-mirror.c: Introduce parameter for filter_send()Zhang Chen1-5/+5
2017-07-17net/net.c: Add vnet_hdr support in SocketReadStateZhang Chen4-11/+39
2017-07-17net: Add vnet_hdr_len arguments in NetClientStateZhang Chen1-0/+1
2017-07-14Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into stagingPeter Maydell4-12/+15
2017-07-14char: avoid chardevice direct accessAnton Nefedov1-1/+1
2017-07-14char: add backend hotswap handlerAnton Nefedov4-11/+14
2017-07-13Convert error_report() to warn_report()Alistair Francis1-1/+1
2017-06-20object: use more specific property type namesMarc-André Lureau2-2/+2
2017-06-07Revert "Change net/socket.c to use socket_*() functions" againDaniel P. Berrange1-71/+56
2017-06-02char: make chr_fe_deinit() optionaly delete backendMarc-André Lureau3-12/+7
2017-06-02char: move CharBackend handling in char-fe unitMarc-André Lureau4-4/+4
2017-06-02chardev: move headers to include/chardevMarc-André Lureau4-4/+4
2017-05-23net/filter-mirror.c: Rename filter_mirror_send() and fix codestyleZhang Chen1-13/+16
2017-05-23net/filter-mirror.c: Remove duplicate check code.Zhang Chen1-6/+0
2017-05-23hmp / net: Mark host_net_add/remove as deprecatedThomas Huth1-0/+13
2017-05-23COLO-compare: Improve tcp compare trace event readabilityZhang Chen2-13/+23
2017-05-23net/dump: Issue a warning for the deprecated "-net dump"Thomas Huth1-0/+3
2017-05-23net/tap: Replace tap-haiku.c and tap-aix.c by a generic tap-stub.cThomas Huth3-96/+9
2017-05-04char: add a /chardevs containerMarc-André Lureau1-1/+1
2017-04-29slirp/smb: Replace constant strings by glib stringDr. David Alan Gilbert1-13/+17
2017-04-29slirp: allow host port 0 for hostfwdVincent Bernat1-1/+1
2017-04-26Revert "COLO-compare: Optimize tcp compare trace event"Peter Maydell2-18/+14
2017-04-25Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into st...Peter Maydell2-18/+54
2017-04-25COLO-compare: Optimize tcp compare trace eventZhang Chen2-14/+18
2017-04-25COLO-compare: Optimize tcp compare for option fieldZhang Chen1-1/+26
2017-04-24socket: Make errp the last parameter of socket_connectFam Zheng1-1/+1
2017-04-24colo-compare: Fix old packet check bug.Zhang Chen1-4/+11