Home
last modified time | relevance | path

Searched refs:netconn_type (Results 1 – 5 of 5) sorted by relevance

/lib/liblwip/src/include/lwip/
Dapi.h83 enum netconn_type { enum
136 enum netconn_type type;
215 netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto,
219 #define netconn_type(conn) (conn->type) macro
Dapi_msg.h168 struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);
/lib/liblwip/src/api/
Dsockets.c339 if (netconn_type(sock->conn) != NETCONN_TCP) { in lwip_accept()
458 is_tcp = netconn_type(sock->conn) == NETCONN_TCP; in lwip_close()
544 if (netconn_type(sock->conn) != NETCONN_TCP) { in lwip_listen()
599 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
629 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
652 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
671 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
696 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
716 if ((netconn_type(sock->conn) == NETCONN_TCP) && (buflen - copylen > 0)) { in lwip_recvfrom()
724 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()
[all …]
Dapi_lib.c68 netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, netconn_callback callback) in netconn_new_with_proto_and_callback()
440 netconn_type(conn) == NETCONN_TCP, return ERR_ARG;); in netconn_recv_tcp_pbuf()
Dapi_msg.c572 netconn_alloc(enum netconn_type t, netconn_callback callback)