diff options
Diffstat (limited to 'src/user/app/netstack/proto.h')
-rw-r--r-- | src/user/app/netstack/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/app/netstack/proto.h b/src/user/app/netstack/proto.h index 0c4338b..eed5361 100644 --- a/src/user/app/netstack/proto.h +++ b/src/user/app/netstack/proto.h @@ -92,6 +92,8 @@ void tcp_parse(const uint8_t *buf, size_t len, struct ipv4 ip); void tcp_listen( uint16_t port, void (*on_conn)(struct tcp_conn *, void *carg), + void (*on_recv)(void *carg), void (*on_close)(void *carg), void *carg); +size_t tcpc_tryread(struct tcp_conn *, void *buf, size_t len); void tcpc_close(struct tcp_conn *); |