Module portus::ipc[][src]

A library wrapping various IPC mechanisms with a datagram-oriented messaging layer. This is how CCP communicates with the datapath.

Modules

kp

Character device implementation

netlink

Netlink socket implementation

unix

Unix domain socket implementation

Structs

Backend

Backend will yield incoming IPC messages forever via next(). It owns the socket; BackendSender holds weak references. The atomic bool is a way to stop iterating.

BackendBuilder

Backend builder contains the objects needed to build a new backend.

BackendSender

A send-only handle to the underlying IPC socket.

Blocking

Marker type specifying that the IPC socket should make blocking calls to the underlying socket

Nonblocking

Marker type specifying that the IPC socket should make nonblocking calls to the underlying socket

Traits

Ipc

IPC mechanisms must implement this trait.