40 #ifndef LWIP_HDR_ALTCP_H 
   41 #define LWIP_HDR_ALTCP_H 
   57 struct altcp_functions;
 
   66 typedef struct altcp_pcb* (*altcp_new_fn)(
void *arg, 
u8_t ip_type);
 
   69   const struct altcp_functions *fns;
 
   84 typedef struct altcp_allocator_s {
 
  108 #define altcp_listen_with_backlog(conn, backlog) altcp_listen_with_backlog_and_err(conn, backlog, NULL) 
  110 #define altcp_listen(conn) altcp_listen_with_backlog_and_err(conn, TCP_DEFAULT_LISTEN_BACKLOG, NULL) 
  133 enum tcp_state altcp_dbg_get_tcp_state(
struct altcp_pcb *conn);
 
  146 #define altcp_accept_fn tcp_accept_fn 
  147 #define altcp_connected_fn tcp_connected_fn 
  148 #define altcp_recv_fn tcp_recv_fn 
  149 #define altcp_sent_fn tcp_sent_fn 
  150 #define altcp_poll_fn tcp_poll_fn 
  151 #define altcp_err_fn tcp_err_fn 
  153 #define altcp_pcb tcp_pcb 
  154 #define altcp_tcp_new_ip_type tcp_new_ip_type 
  155 #define altcp_tcp_new tcp_new 
  156 #define altcp_tcp_new_ip6 tcp_new_ip6 
  158 #define altcp_new(allocator) tcp_new() 
  159 #define altcp_new_ip6(allocator) tcp_new_ip6() 
  160 #define altcp_new_ip_type(allocator, ip_type) tcp_new_ip_type(ip_type) 
  162 #define altcp_arg tcp_arg 
  163 #define altcp_accept tcp_accept 
  164 #define altcp_recv tcp_recv 
  165 #define altcp_sent tcp_sent 
  166 #define altcp_poll tcp_poll 
  167 #define altcp_err tcp_err 
  169 #define altcp_recved tcp_recved 
  170 #define altcp_bind tcp_bind 
  171 #define altcp_connect tcp_connect 
  173 #define altcp_listen_with_backlog_and_err tcp_listen_with_backlog_and_err 
  174 #define altcp_listen_with_backlog tcp_listen_with_backlog 
  175 #define altcp_listen tcp_listen 
  177 #define altcp_abort tcp_abort 
  178 #define altcp_close tcp_close 
  179 #define altcp_shutdown tcp_shutdown 
  181 #define altcp_write tcp_write 
  182 #define altcp_output tcp_output 
  184 #define altcp_mss tcp_mss 
  185 #define altcp_sndbuf tcp_sndbuf 
  186 #define altcp_sndqueuelen tcp_sndqueuelen 
  187 #define altcp_nagle_disable tcp_nagle_disable 
  188 #define altcp_nagle_enable tcp_nagle_enable 
  189 #define altcp_nagle_disabled tcp_nagle_disabled 
  190 #define altcp_setprio tcp_setprio 
  192 #define altcp_get_tcp_addrinfo tcp_get_tcp_addrinfo 
  193 #define altcp_get_ip(pcb, local) ((local) ? (&(pcb)->local_ip) : (&(pcb)->remote_ip)) 
  196 #define altcp_dbg_get_tcp_state tcp_dbg_get_tcp_state 
#define altcp_accept
Definition: altcp.h:163
#define altcp_new_ip_type(allocator, ip_type)
Definition: altcp.h:160
#define altcp_write
Definition: altcp.h:181
#define altcp_output
Definition: altcp.h:182
#define altcp_poll_fn
Definition: altcp.h:150
#define altcp_get_ip(pcb, local)
Definition: altcp.h:193
#define altcp_sndqueuelen
Definition: altcp.h:186
#define altcp_mss
Definition: altcp.h:184
#define altcp_recv_fn
Definition: altcp.h:148
#define altcp_arg
Definition: altcp.h:162
#define altcp_accept_fn
Definition: altcp.h:146
#define altcp_connect
Definition: altcp.h:171
#define altcp_sndbuf
Definition: altcp.h:185
#define altcp_shutdown
Definition: altcp.h:179
#define altcp_poll
Definition: altcp.h:166
#define altcp_err_fn
Definition: altcp.h:151
#define altcp_sent
Definition: altcp.h:165
#define altcp_nagle_enable
Definition: altcp.h:188
#define altcp_listen_with_backlog_and_err
Definition: altcp.h:173
#define altcp_nagle_disabled
Definition: altcp.h:189
#define altcp_setprio
Definition: altcp.h:190
#define altcp_nagle_disable
Definition: altcp.h:187
#define altcp_get_tcp_addrinfo
Definition: altcp.h:192
#define altcp_err
Definition: altcp.h:167
#define altcp_recv
Definition: altcp.h:164
#define altcp_pcb
Definition: altcp.h:153
#define altcp_sent_fn
Definition: altcp.h:149
#define altcp_close
Definition: altcp.h:178
#define altcp_abort
Definition: altcp.h:177
#define altcp_connected_fn
Definition: altcp.h:147
#define altcp_new(allocator)
Definition: altcp.h:158
#define altcp_recved
Definition: altcp.h:169
#define altcp_new_ip6(allocator)
Definition: altcp.h:159
#define altcp_bind
Definition: altcp.h:170
uint8_t u8_t
Definition: arch.h:125
uint16_t u16_t
Definition: arch.h:127
s8_t err_t
Definition: err.h:96
ip6_addr_t ip_addr_t
Definition: ip_addr.h:318