38 #include <sys/types.h> 40 #define FLEXTCP_MAX_CONTEXTS 32 41 #define FLEXTCP_MAX_FTCPCORES 16 71 } queues[FLEXTCP_MAX_FTCPCORES];
86 uint64_t last_inev_ts;
125 uint16_t remote_port;
137 uint8_t bump_pending;
180 uint16_t remote_port;
226 #define FLEXTCP_LISTEN_REUSEPORT 0x1 315 void **buf_1,
size_t *len_1,
void **buf_2);
int flextcp_connection_tx_send(struct flextcp_context *ctx, struct flextcp_connection *conn, size_t len)
int flextcp_context_wait(struct flextcp_context *ctx, int timeout_ms)
int flextcp_context_waitfd(struct flextcp_context *ctx)
int flextcp_context_poll(struct flextcp_context *ctx, int num, struct flextcp_event *events)
int flextcp_context_create(struct flextcp_context *ctx)
int flextcp_listen_open(struct flextcp_context *ctx, struct flextcp_listener *lst, uint16_t port, uint32_t backlog, uint32_t flags)
int flextcp_connection_rx_done(struct flextcp_context *ctx, struct flextcp_connection *conn, size_t len)
int flextcp_connection_tx_close(struct flextcp_context *ctx, struct flextcp_connection *conn)
int flextcp_connection_close(struct flextcp_context *ctx, struct flextcp_connection *conn)
int flextcp_connection_move(struct flextcp_context *ctx, struct flextcp_connection *conn)
int flextcp_context_canwait(struct flextcp_context *ctx)
ssize_t flextcp_connection_tx_alloc2(struct flextcp_connection *conn, size_t len, void **buf_1, size_t *len_1, void **buf_2)
int flextcp_connection_tx_possible(struct flextcp_context *ctx, struct flextcp_connection *conn)
int flextcp_connection_open(struct flextcp_context *ctx, struct flextcp_connection *conn, uint32_t dst_ip, uint16_t dst_port)
ssize_t flextcp_connection_tx_alloc(struct flextcp_connection *conn, size_t len, void **buf)
void flextcp_context_waitclear(struct flextcp_context *ctx)
int flextcp_listen_accept(struct flextcp_context *ctx, struct flextcp_listener *lst, struct flextcp_connection *conn)