Searched refs:netconn_type (Results 1 – 5 of 5) sorted by relevance
83 enum netconn_type { enum136 enum netconn_type type;210 netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto,214 #define netconn_type(conn) (conn->type) macro
165 struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);
454 is_tcp = netconn_type(sock->conn) == NETCONN_TCP; in lwip_close()591 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()621 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()644 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()663 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()688 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()708 if ((netconn_type(sock->conn) == NETCONN_TCP) && (buflen - copylen > 0)) { in lwip_recvfrom()716 if (netconn_type(sock->conn) == NETCONN_TCP) { in lwip_recvfrom()1368 if (netconn_type(sock->conn) != NETCONN_TCP) {2284 if (netconn_type(sock->conn) != NETCONN_TCP) {
68 netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, netconn_callback callback) in netconn_new_with_proto_and_callback()437 netconn_type(conn) == NETCONN_TCP, return ERR_ARG;); in netconn_recv_tcp_pbuf()
564 netconn_alloc(enum netconn_type t, netconn_callback callback)