ioLibrary for Cortex M series
|
Socket Utility Header File. More...
Go to the source code of this file.
Macros | |
#define | WATCH_SOCK_UDP_SEND 0x01 |
#define | WATCH_SOCK_TCP_SEND 0x02 |
#define | WATCH_SOCK_CONN_TRY 0x04 |
#define | WATCH_SOCK_CLS_TRY 0x08 |
#define | WATCH_SOCK_CONN_EVT 0x10 |
#define | WATCH_SOCK_CLS_EVT 0x20 |
#define | WATCH_SOCK_RECV 0x40 |
#define | WATCH_SOCK_MASK_LOW 0x0F |
#define | WATCH_SOCK_MASK_HIGH 0x70 |
#define | WATCH_SOCK_ALL_MASK 0x7F |
#define | WIZCHIP_INIT_WITH_MEMCHK(tx_size_v, rx_size_v) |
Typedefs | |
typedef void(* | watch_cbfunc )(uint8_t id, uint8_t item, int32_t ret) |
Functions | |
int8_t | sockwatch_open (uint8_t sock, watch_cbfunc cb) |
int8_t | sockwatch_close (uint8_t sock) |
int8_t | sockwatch_set (uint8_t sock, uint8_t item) |
int8_t | sockwatch_clr (uint8_t sock, uint8_t item) |
int8_t | sockwatch_chk (uint8_t sock, uint8_t item) |
void | sockwatch_run (void) |
int8_t | network_init (uint8_t dhcp_sock, void_func ip_update, void_func ip_conflict) |
void | network_disp (wiz_NetInfo *netinfo) |
int8_t | ip_check (int8_t *str, uint8_t *ip) |
int8_t | port_check (int8_t *str, uint16_t *port) |
int8_t | mac_check (int8_t *str, uint8_t *mac) |
int8_t * | inet_ntoa (uint32_t addr) |
int8_t * | inet_ntoa_pad (uint32_t addr) |
uint32_t | inet_addr (uint8_t *addr) |
uint16_t | htons (uint16_t hostshort) |
uint32_t | htonl (uint32_t hostlong) |
uint32_t | ntohs (uint16_t netshort) |
uint32_t | ntohl (uint32_t netlong) |
Socket Utility Header File.
Definition in file sockutil.h.
#define WIZCHIP_INIT_WITH_MEMCHK | ( | tx_size_v, | |
rx_size_v | |||
) |
Call wizchip_init after array param check
Definition at line 61 of file sockutil.h.