|
static struct netbuf * | netbuf_new () |
|
static void | netbuf_delete (struct netbuf *) |
|
static void | netbuf_copypartial (struct netbuf *, void *, u32, u32) |
|
static void | netbuf_ref (struct netbuf *, const void *, u32) |
|
static struct netconn * | netconn_new_with_callback (enum netconn_type, void(*)(struct netconn *, enum netconn_evt, u32)) |
|
static struct netconn * | netconn_new_with_proto_and_callback (enum netconn_type, u16, void(*)(struct netconn *, enum netconn_evt, u32)) |
|
static err_t | netconn_delete (struct netconn *) |
|
static struct netconn * | netconn_accept (struct netconn *) |
|
static err_t | netconn_peer (struct netconn *, struct ip_addr *, u16 *) |
|
static err_t | netconn_bind (struct netconn *, struct ip_addr *, u16) |
|
static err_t | netconn_listen (struct netconn *) |
|
static struct netbuf * | netconn_recv (struct netconn *) |
|
static err_t | netconn_send (struct netconn *, struct netbuf *) |
|
static err_t | netconn_write (struct netconn *, const void *, u32, u8) |
|
static err_t | netconn_connect (struct netconn *, struct ip_addr *, u16) |
|
static err_t | netconn_disconnect (struct netconn *) |
|
static void | do_newconn (struct apimsg_msg *) |
|
static void | do_delconn (struct apimsg_msg *) |
|
static void | do_bind (struct apimsg_msg *) |
|
static void | do_listen (struct apimsg_msg *) |
|
static void | do_connect (struct apimsg_msg *) |
|
static void | do_disconnect (struct apimsg_msg *) |
|
static void | do_accept (struct apimsg_msg *) |
|
static void | do_send (struct apimsg_msg *) |
|
static void | do_recv (struct apimsg_msg *) |
|
static void | do_write (struct apimsg_msg *) |
|
static void | do_close (struct apimsg_msg *) |
|
static void | apimsg_post (struct api_msg *) |
|
static err_t | net_input (struct pbuf *, struct netif *) |
|
static void | net_apimsg (struct api_msg *) |
|
static err_t | net_callback (void(*)(void *), void *) |
|
static void * | net_thread (void *) |
|
static void | tmr_callback (void *arg) |
|
static void | __dhcpcoarse_timer (void *arg) |
|
static void | __dhcpfine_timer (void *arg) |
|
static void | __tcp_timer (void *arg) |
|
static void | __arp_timer (void *arg) |
|
void | tcp_timer_needed (void) |
|
static __inline__ u16 | netbuf_len (struct netbuf *buf) |
|
static __inline__ struct ip_addr * | netbuf_fromaddr (struct netbuf *buf) |
|
static __inline__ u16 | netbuf_fromport (struct netbuf *buf) |
|
static enum netconn_type | netconn_type (struct netconn *conn) |
|
static u8_t | recv_raw (void *arg, struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *addr) |
|
static void | recv_udp (void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, u16 port) |
|
static err_t | recv_tcp (void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) |
|
static void | err_tcp (void *arg, err_t err) |
|
static err_t | poll_tcp (void *arg, struct tcp_pcb *pcb) |
|
static err_t | sent_tcp (void *arg, struct tcp_pcb *pcb, u16 len) |
|
static void | setuptcp (struct netconn *conn) |
|
static err_t | accept_func (void *arg, struct tcp_pcb *newpcb, err_t err) |
|
static err_t | do_connected (void *arg, struct tcp_pcb *pcb, err_t err) |
|
static void | apimsg_input (struct api_msg *msg) |
|
static s32 | alloc_socket (struct netconn *conn) |
|
static struct netsocket * | get_socket (s32 s) |
|
static void | evt_callback (struct netconn *conn, enum netconn_evt evt, u32 len) |
|
s32 | if_configex (struct in_addr *local_ip, struct in_addr *netmask, struct in_addr *gateway, bool use_dhcp, int max_retries) |
|
s32 | if_config (char *local_ip, char *netmask, char *gateway, bool use_dhcp, int max_retries) |
|
s32 | net_init () |
|
s32 | net_shutdown (s32 s, u32 how) |
|
s32 | net_fcntl (s32 s, u32 cmd, u32 flags) |
|
s32 | net_socket (u32 domain, u32 type, u32 protocol) |
|
s32 | net_accept (s32 s, struct sockaddr *addr, socklen_t *addrlen) |
|
s32 | net_bind (s32 s, struct sockaddr *name, socklen_t namelen) |
|
s32 | net_listen (s32 s, u32 backlog) |
|
s32 | net_recvfrom (s32 s, void *mem, s32 len, u32 flags, struct sockaddr *from, socklen_t *fromlen) |
|
s32 | net_read (s32 s, void *mem, s32 len) |
|
s32 | net_recv (s32 s, void *mem, s32 len, u32 flags) |
|
s32 | net_sendto (s32 s, const void *data, s32 len, u32 flags, struct sockaddr *to, socklen_t tolen) |
|
s32 | net_send (s32 s, const void *data, s32 len, u32 flags) |
|
s32 | net_write (s32 s, const void *data, s32 size) |
|
s32 | net_connect (s32 s, struct sockaddr *name, socklen_t namelen) |
|
s32 | net_close (s32 s) |
|
static s32 | net_selscan (s32 maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset) |
|
s32 | net_select (s32 maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset, struct timeval *timeout) |
|
s32 | net_setsockopt (s32 s, u32 level, u32 optname, const void *optval, socklen_t optlen) |
|
s32 | net_ioctl (s32 s, u32 cmd, void *argp) |
|