41#ifndef LWIP_HDR_ALTCP_PRIV_H
42#define LWIP_HDR_ALTCP_PRIV_H
68typedef err_t (*altcp_shutdown_fn)(
struct altcp_pcb *conn,
int shut_rx,
int shut_tx);
76typedef void (*altcp_nagle_disable_fn)(
struct altcp_pcb *conn);
78typedef int (*altcp_nagle_disabled_fn)(
struct altcp_pcb *conn);
89typedef void (*altcp_keepalive_disable_fn)(
struct altcp_pcb *conn);
94typedef enum tcp_state (*altcp_dbg_get_tcp_state_fn)(
struct altcp_pcb *conn);
97struct altcp_functions {
98 altcp_set_poll_fn set_poll;
99 altcp_recved_fn recved;
103 altcp_abort_fn
abort;
104 altcp_close_fn
close;
106 altcp_write_fn
write;
107 altcp_output_fn output;
109 altcp_sndbuf_fn sndbuf;
110 altcp_sndqueuelen_fn sndqueuelen;
111 altcp_nagle_disable_fn nagle_disable;
112 altcp_nagle_enable_fn nagle_enable;
113 altcp_nagle_disabled_fn nagle_disabled;
114 altcp_setprio_fn setprio;
117 altcp_get_ip_fn getip;
118 altcp_get_port_fn getport;
119#if LWIP_TCP_KEEPALIVE
120 altcp_keepalive_disable_fn keepalive_disable;
121 altcp_keepalive_enable_fn keepalive_enable;
124 altcp_dbg_get_tcp_state_fn dbg_get_tcp_state;
131err_t altcp_default_shutdown(
struct altcp_pcb *conn,
int shut_rx,
int shut_tx);
137void altcp_default_nagle_disable(
struct altcp_pcb *conn);
138void altcp_default_nagle_enable(
struct altcp_pcb *conn);
139int altcp_default_nagle_disabled(
struct altcp_pcb *conn);
140void altcp_default_setprio(
struct altcp_pcb *conn,
u8_t prio);
141void altcp_default_dealloc(
struct altcp_pcb *conn);
145#if LWIP_TCP_KEEPALIVE
146void altcp_default_keepalive_disable(
struct altcp_pcb *conn);
150enum tcp_state altcp_default_dbg_get_tcp_state(
struct altcp_pcb *conn);
#define altcp_connected_fn
void idle(int argc, const char *argv[])
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
void dealloc(int i, int no_throw)
GLuint GLuint GLsizei count
GLenum const GLvoid * addr
int const JOCTET * dataptr
INT WSAAPI listen(IN SOCKET s, IN INT backlog)
INT WSAAPI shutdown(IN SOCKET s, IN INT how)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)