FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Typedefs | |
typedef int() | memif_control_fd_update_t(int fd, uint8_t events, void *private_ctx) |
Memif control file descriptor update (callback function) More... | |
typedef int() | memif_connection_update_t(memif_conn_handle_t conn, void *private_ctx) |
Memif connection status update (callback function) More... | |
typedef int() | memif_interrupt_t(memif_conn_handle_t conn, void *private_ctx, uint16_t qid) |
Memif interrupt occured (callback function) More... | |
typedef int() memif_connection_update_t(memif_conn_handle_t conn, void *private_ctx) |
#include <extras/libmemif/src/libmemif.h>
Memif connection status update (callback function)
conn | - memif connection handle |
private_ctx | - private context |
Informs user about connection status connected/disconnected. On connected -> start watching for events on interrupt fd (optional).
Definition at line 162 of file libmemif.h.
typedef int() memif_control_fd_update_t(int fd, uint8_t events, void *private_ctx) |
#include <extras/libmemif/src/libmemif.h>
Memif control file descriptor update (callback function)
fd | - new file descriptor to watch |
events | - event type(s) to watch for |
This callback is called when there is new fd to watch for events on or if fd is about to be closed (user mey want to stop watching for events on this fd).
Definition at line 152 of file libmemif.h.
typedef int() memif_interrupt_t(memif_conn_handle_t conn, void *private_ctx, uint16_t qid) |
#include <extras/libmemif/src/libmemif.h>
Memif interrupt occured (callback function)
conn | - memif connection handle |
private_ctx | - private context |
qid | - queue id on which interrupt occured |
Called when event is received on interrupt fd.
Definition at line 172 of file libmemif.h.