28#ifndef PROTOCORE_TCP_LOWER_H
29#define PROTOCORE_TCP_LOWER_H
45#ifndef PROTOCORE_TCP_TTL
46#define PROTOCORE_TCP_TTL 64
50EMBED_ENUM_BYTE(protocore_tcp_op, PROTOCORE_OP_SEND, PROTOCORE_OP_OUTPUT, PROTOCORE_OP_CLOSE, PROTOCORE_OP_ABORT,
53 PROTOCORE_OP_CLOSE_CHECK,
57static_assert(
sizeof(protocore_tcp_op) == 1,
"protocore_tcp_op must stay one byte (EMBED_ENUM_BYTE)");
117static const TcpLowerNs TcpLower __attribute__((unused)) = {
void protocore_tcp_lower_abort(uint8_t *work)
uint8_t * protocore_tcp_lower_span(void)
The PROTOCORE_TCP_LOWER_BORROW bytes this module's state lives in.
TcpLowerVars TcpLowerV
The operands and the outcome.
void protocore_tcp_lower_detach(uint8_t *work)
void protocore_tcp_lower_marshal(uint8_t *work)
void protocore_tcp_lower_set_ttl(uint8_t *work)
void protocore_tcp_lower_apply_ttl(uint8_t *work)
EMBED_ENUM_BYTE(protocore_tcp_op, PROTOCORE_OP_SEND, PROTOCORE_OP_OUTPUT, PROTOCORE_OP_CLOSE, PROTOCORE_OP_ABORT, PROTOCORE_OP_DETACH, PROTOCORE_OP_RAWSEND, PROTOCORE_OP_CLOSE_CHECK, PROTOCORE_OP_RECVED, PROTOCORE_OP_SET_TTL,)
Which call into the lower-level module a marshaled op performs.
EMBED_BEGIN_DECLS typedef int8_t protocore_net_err
The result of a call of the stack, as lwIP numbers it.
void(*const abort)(uint8_t *work)
void(*const apply_ttl)(uint8_t *work)
void(*const set_ttl)(uint8_t *work)
void(*const marshal)(uint8_t *work)
void(*const detach)(uint8_t *work)
Layer 4 (Transport) - the connection state every half of TCP reads.