Home
last modified time | relevance | path

Searched refs:skt_num (Results 1 – 6 of 6) sorted by relevance

/device/soc/winnermicro/wm800/board/include/net/
Dwm_socket2.0.3.h84 typedef void (*socket_err_fn)(u8 skt_num, err_t err);
102 typedef err_t (*socket_recv_fn)(u8 skt_num, struct pbuf *p, err_t err);
124 typedef err_t (*socket_recv_ip_rpt_fn)(u8 skt_num, u16 datalen, u8 *ipsrc, u16 port, err_t err);
138 typedef err_t (*socket_connected_fn)(u8 skt_num, err_t err);
149 typedef err_t (*socket_poll_fn)(u8 skt_num);
163 typedef err_t (*socket_accept_fn)(u8 skt_num, err_t err);
175 typedef void(*socket_state_changed_fn)(u8 skt_num, u8 event, u8 state);
265 int tls_socket_close(u8 skt_num);
292 int tls_socket_get_status(u8 skt_num, u8 *buf, u32 bufsize);
/device/soc/winnermicro/wm800/board/src/network/api2.0.3/
Dtls_netconn.c100 conn_t->skt_num = sock + 1; /* TLS_MAX_NETCONN_NUM + */ in net_alloc_socket()
106 net_free_socket(conn_t->skt_num); in net_alloc_socket()
111 net_free_socket(conn_t->skt_num); in net_alloc_socket()
143 index = conn->skt_num - 1; /* TLS_MAX_NETCONN_NUM */ in net_free_socket()
160 skt_desc->state_changed(conn->skt_num, event, conn->state); in net_send_event_to_hostif()
206 conn->skd->errf(conn->skt_num, err); in net_tcp_err_cb()
279 err_ret = conn->skd->connf(conn->skt_num, err); in net_tcp_connect_cb()
397 …FO("conn ptr = 0x%x, conn->skt_num=%d, conn->client=%d\n", (u32)conn, conn->skt_num, conn->client); in do_create_connect()
462 sktNums[i++] = client_conn->skt_num; in do_close_connect()
535 int tls_socket_send(u8 skt_num, void *pdata, u16 len) in tls_socket_send() argument
Dtls_netconn.h36 u8 skt_num; member
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_cmdp_hostif.c1015 static s8 hostif_socket_rpt(u8 skt_num, u16 datalen, u8 *ipaddr, u16 port, s8 err) in hostif_socket_rpt() argument
1027 skt_num, datalen, ipaddr[0], ipaddr[1], ipaddr[TWO], in hostif_socket_rpt()
1037 static s8 hostif_socket_recv(u8 skt_num, struct pbuf *p, s8 err) in hostif_socket_recv() argument
1044 err = tls_cmd_get_socket_state(skt_num, &state, &skt_ext); in hostif_socket_recv()
1051 tx_msg->u.msg_tcp.sock = skt_num; in hostif_socket_recv()
1055 tx_msg->u.msg_udp.sock = skt_num; in hostif_socket_recv()
1069 static void hostif_default_socket_state_changed(u8 skt_num, u8 event, u8 state) in hostif_default_socket_state_changed() argument
1074 alloc_recvmit(skt_num); in hostif_default_socket_state_changed()
1077 free_recvmit(skt_num); in hostif_default_socket_state_changed()
1080 alloc_recvmit(skt_num); in hostif_default_socket_state_changed()
[all …]
Dwm_cmdp_hostif.h1262 int tls_cmd_close_socket(u8 skt_num);
Dwm_cmdp_hostif_gcc.h1465 int tls_cmd_close_socket(u8 skt_num);