Home
last modified time | relevance | path

Searched full:connection (Results 1 – 25 of 927) sorted by relevance

12345678910>>...38

/qemu/net/
H A Dfilter-rewriter.c35 /* hashtable to save connection */
72 Connection *conn, in handle_primary_tcp_pkt()
97 * run once in independent tcp connection in handle_primary_tcp_pkt()
135 * the connection. We will into CLOSE_WAIT status. in handle_primary_tcp_pkt()
146 * will be no packets in the connection, except that, some errors in handle_primary_tcp_pkt()
148 * case really happen, we can still create a new connection, in handle_primary_tcp_pkt()
149 * So it is safe to remove the connection from connection_track_table. in handle_primary_tcp_pkt()
178 Connection *conn, in handle_secondary_tcp_pkt()
237 * the connection. in handle_secondary_tcp_pkt()
260 Connection *conn; in colo_rewriter_receive_iov()
[all …]
H A Dcolo.c141 Connection *connection_new(ConnectionKey *key) in connection_new()
143 Connection *conn = g_slice_new0(Connection); in connection_new()
156 Connection *conn = opaque; in connection_destroy()
162 g_slice_free(Connection, conn); in connection_destroy()
216 /* if not found, create a new connection and add to hash table */
217 Connection *connection_get(GHashTable *connection_track_table, in connection_get()
221 Connection *conn = g_hash_table_lookup(connection_track_table, key); in connection_get()
229 trace_colo_proxy_main("colo proxy connection hashtable full," in connection_get()
249 Connection *conn = g_hash_table_lookup(connection_track_table, key); in connection_has_tracked()
H A Dcolo.h69 typedef struct Connection { struct
70 /* connection primary send queue: element type: Packet */
72 /* connection secondary send queue: element type: Packet */
88 } Connection; argument
96 Connection *connection_new(ConnectionKey *key);
98 Connection *connection_get(GHashTable *connection_track_table,
H A Dcolo-compare.c125 * Record the connection that through the NIC
126 * Element type: Connection
129 /* Record the connection without repetition */
244 static int packet_enqueue(CompareState *s, int mode, Connection **con) in packet_enqueue()
248 Connection *conn; in packet_enqueue()
399 static void colo_compare_tcp(CompareState *s, Connection *conn) in colo_compare_tcp()
515 * Because of ppkt and spkt are both in the same connection, in colo_packet_compare_udp()
554 * Because of ppkt and spkt are both in the same connection, in colo_packet_compare_icmp()
622 static int colo_old_packet_check_one_conn(Connection *conn, in colo_old_packet_check_one_conn()
664 static void colo_compare_packet(CompareState *s, Connection *conn, in colo_compare_packet()
[all …]
/qemu/python/qemu/qmp/
H A Dprotocol.py74 Raised when the initial connection process has failed.
200 will log to 'qemu.qmp.protocol', but each individual connection
206 #: Logger object for debugging messages from this connection.
217 #: The nickname for this connection, if any.
259 """The current `Runstate` of the connection."""
277 Accept a connection and begin processing message queues.
289 When a connection or session cannot be established.
305 Start listening for an incoming connection, but do not wait for a peer.
307 This method starts listening for an incoming connection, but
311 incoming connection.
[all …]
H A Dqmp_client.py7 accept an incoming connection from that server.
95 completed. This can occur because the connection itself was
160 Implements a QMP client connection.
162 QMP can be used to establish a connection as either the transport
165 :param name: Optional nickname for the connection, used for logging.
210 #: Whether or not to await a greeting after establishing a connection.
213 #: Whether or not to perform capabilities negotiation upon connection.
455 When the reply could not be retrieved because the connection
486 When the reply could not be retrieved because the connection
521 When the reply could not be retrieved because the connection
[all …]
H A Dlegacy.py72 in the form ( address, port ) for a TCP connection, or an
148 :raise ConnectError: on connection errors
160 Await connection from QMP Monitor and perform capabilities negotiation.
167 :raise ConnectError: on connection errors
280 """Close the connection."""
/qemu/python/qemu/machine/
H A Dqtest.py5 offer a connection to QEMU's qtest protocol socket, and a qtest-enabled
37 QEMUQtestProtocol implements a connection to a qtest socket.
41 connection
48 :raise socket.error: on socket connection errors
51 No connection is established by __init__(), this is done
87 @raise socket.error on socket connection errors
95 Await connection from QEMU.
97 @raise socket.error on socket connection errors
/qemu/tests/qemu-iotests/
H A D233.out72 …0': Failed to read option reply: Cannot read from TLS channel: The TLS connection was non-properly…
73 …0': Failed to read option reply: Cannot read from TLS channel: The TLS connection was non-properly…
102 …=SOCK_DIR/qemu-nbd.sock,tls-creds=tls0': TLS handshake failed: The TLS connection was non-properly…
103 qemu-nbd: TLS handshake failed: The TLS connection was non-properly terminated.
106 …iled: Failed to read opts magic: Cannot read from TLS channel: The TLS connection was non-properly…
107 …iled: Failed to read opts magic: Cannot read from TLS channel: The TLS connection was non-properly…
112 …iled: Failed to read opts magic: Cannot read from TLS channel: The TLS connection was non-properly…
113 …iled: Failed to read opts magic: Cannot read from TLS channel: The TLS connection was non-properly…
H A D277.out3 NBD server: Closing connection on rule match inject-error
6 NBD server: Closing connection on rule match inject-error
H A D162.out9 … "localhost", "port": "0", "path": "/foo"}': Failed to connect to 'localhost:0': Connection refused
10 …driver=ssh,host=localhost,port=0,path=/foo': Failed to connect to 'localhost:0': Connection refused
/qemu/nbd/
H A Dclient-connection.c21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
74 * connection attempt has not yet started.
279 * Get a new connection in context of @conn:
288 * If @info is not NULL, also do nbd-negotiation after successful connection.
339 error_setg(errp, "No connection at the moment"); in nbd_co_establish_connection()
357 * The connection attempt was canceled and the coroutine resumed in nbd_co_establish_connection()
358 * before the connection thread finished its job. Report the in nbd_co_establish_connection()
359 * attempt as failed, but leave the connection thread running, in nbd_co_establish_connection()
360 * to reuse it for the next connection attempt. in nbd_co_establish_connection()
373 error_setg(errp, "Connection attempt cancelled by timeout"); in nbd_co_establish_connection()
/qemu/include/hw/hyperv/
H A Dhyperv.h21 * becomes known, before unblocking the connection for further messages
50 * Associate @handler with the message connection @conn_id, such that @handler
56 * Associate @notifier with the event connection @conn_id, such that @notifier
65 * connection on the message contained therein.
70 * the connection as specified in @param.
/qemu/include/hw/virtio/
H A Dvhost-user.h97 * vhost_user_async_close() - cleanup vhost-user post connection drop
99 * @chardev: the CharBackend associated with the connection
104 * connection to a backend. We handle this centrally to make sure we
106 * Once the connection is disabled we call a backhalf to ensure
/qemu/util/
H A Ddbus.c17 * @connection: A GDBusConnection
23 qemu_dbus_get_queued_owners(GDBusConnection *connection, const char *name, in qemu_dbus_get_queued_owners() argument
31 proxy = g_dbus_proxy_new_sync(connection, G_DBUS_PROXY_FLAGS_NONE, NULL, in qemu_dbus_get_queued_owners()
/qemu/include/io/
H A Dchannel-socket.h59 * connection, that is initially closed. After
61 * connection or server.
74 * connection represented by the file descriptor @fd.
91 * execution control until the connection is established or
132 * execution control until the connection is established or
255 * a new client connection. The returned channel will
/qemu/python/tests/
H A Dprotocol.py19 that bypasses the actual connection logic, but still allows the
318 "Failed to establish connection"
338 Test what happens when a connection attempt is aborted.
348 # This is insider baseball, but the connection attempt has
349 # yielded *just* before the actual connection attempt, so kick
359 Test what happens when a connection attempt times out.
365 # guaranteeing that the connection even gets a chance to start,
366 # verify that the connection hangs *first*, then await the
379 Test what happens when a connection attempt is made while CONNECTING.
404 AFTER a connection is made, i.e., connect()/accept() themselves
/qemu/io/
H A Dchannel-websock.c42 #define QIO_CHANNEL_WEBSOCK_HEADER_CONNECTION "connection"
56 "Connection: Upgrade\r\n" \
64 "Connection: Upgrade\r\n" \
70 "Connection: close\r\n" \
75 "Connection: close\r\n" \
82 "Connection: close\r\n" \
87 "Connection: close\r\n" \
386 *host = NULL, *connection = NULL, *upgrade = NULL; in qio_channel_websock_handshake_process() local
420 connection = qio_channel_websock_find_header( in qio_channel_websock_handshake_process()
422 if (!connection) { in qio_channel_websock_handshake_process()
[all …]
/qemu/linux-user/sparc/
H A Dtarget_errno_defs.h45 #define TARGET_ENETRESET 52 /* Net dropped connection because of reset */
47 #define TARGET_ECONNABORTED 53 /* Software caused connection abort */
49 #define TARGET_ECONNRESET 54 /* Connection reset by peer */
61 #define TARGET_ETIMEDOUT 60 /* Connection timed out */
63 #define TARGET_ECONNREFUSED 61 /* Connection refused */
/qemu/linux-user/mips/
H A Dtarget_errno_defs.h146 #define TARGET_ENETRESET 129 /* Network dropped connection because of reset */
148 #define TARGET_ECONNABORTED 130 /* Software caused connection abort */
150 #define TARGET_ECONNRESET 131 /* Connection reset by peer */
176 #define TARGET_ETIMEDOUT 145 /* Connection timed out */
178 #define TARGET_ECONNREFUSED 146 /* Connection refused */
/qemu/docs/specs/
H A Divshmem-spec.rst179 The connection is one-way: the server sends messages to the client.
182 client and server close the connection on error.
184 Note: QEMU currently doesn't close the connection right on error, but
190 close the connection on receipt of versions it can't handle.
216 6. Connection / disconnection notification. This is a peer ID.
218 - If the number comes with a file descriptor, it's a connection
/qemu/linux-user/generic/
H A Dtarget_errno_defs.h113 #define TARGET_ENETRESET 102 /* Network dropped connection because of reset */
114 #define TARGET_ECONNABORTED 103 /* Software caused connection abort */
115 #define TARGET_ECONNRESET 104 /* Connection reset by peer */
121 #define TARGET_ETIMEDOUT 110 /* Connection timed out */
122 #define TARGET_ECONNREFUSED 111 /* Connection refused */
/qemu/include/chardev/
H A Dchar.h22 CHR_EVENT_OPENED, /* new connection established */
25 CHR_EVENT_CLOSED /* connection closed. NOTE: currently this event
43 * valid connection */
293 /* wait for a connection */
296 /* disconnect a connection */
/qemu/include/hw/xen/interface/io/
H A Dxenbus.h16 * the state of the connection between the driver and the kernel's device
31 * Initialised: Waiting for a connection from the peer.
/qemu/bsd-user/
H A Derrno_defs.h101 #define TARGET_ENETRESET 52 /* Network dropped connection on reset */
102 #define TARGET_ECONNABORTED 53 /* Software caused connection abort */
103 #define TARGET_ECONNRESET 54 /* Connection reset by peer */
110 #define TARGET_ECONNREFUSED 61 /* Connection refused */

12345678910>>...38