struct ConnectionKey

Defined at line 75 of file ../../src/devices/misc/drivers/virtio-socket/socket.h

ConnectionKey is mostly a wrapper around vsock::wire::Addr that provides

an equality operation for use as the Key in a HashMap.

Public Members

Addr addr

Public Methods

void ConnectionKey (const vsock::wire::Addr & addr)

Defined at line 76 of file ../../src/devices/misc/drivers/virtio-socket/socket.h

void ConnectionKey (uint32_t local_port, uint32_t remote_cid, uint32_t remote_port)

Defined at line 77 of file ../../src/devices/misc/drivers/virtio-socket/socket.h

ConnectionKey FromHdr (virtio_vsock_hdr_t * hdr)

Defined at line 79 of file ../../src/devices/misc/drivers/virtio-socket/socket.h

bool operator== (const ConnectionKey & key)

Defined at line 83 of file ../../src/devices/misc/drivers/virtio-socket/socket.h