Searched refs:netconn_type (Results 1 - 5 of 5) sorted by relevance
/third_party/lwip/src/include/lwip/ |
H A D | api.h | 113 enum netconn_type { enum 220 enum netconn_type type; 309 * @param t @ref netconn_type */ 312 struct netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, 316 /** Get the type of a netconn (as enum netconn_type). */ 317 #define netconn_type(conn) (conn->type) macro
|
/third_party/lwip/src/api/ |
H A D | sockets.c | 142 (type) : (enum netconn_type)((type) | NETCONN_TYPE_IPV6)) 151 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) 160 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) 179 if (NETCONNTYPE_GROUP(netconn_type((sock)->conn)) != netconntype) { done_socket(sock); return ENOPROTOOPT; } }while(0) 650 if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { in lwip_accept() 805 is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; in lwip_close_internal() 930 if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { in lwip_listen() 957 LWIP_ASSERT("this should be checked internally", NETCONNTYPE_GROUP(netconn_type(soc in lwip_recv_tcp() [all...] |
H A D | api_lib.c | 142 * @param t the type of 'connection' to create (@see enum netconn_type) 149 netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, netconn_callback callback) in netconn_new_with_proto_and_callback() 680 NETCONNTYPE_GROUP(netconn_type(conn)) == NETCONN_TCP, return ERR_ARG;); in netconn_tcp_recvd_msg() 694 NETCONNTYPE_GROUP(netconn_type(conn)) == NETCONN_TCP, return ERR_ARG;); in netconn_tcp_recvd() 785 NETCONNTYPE_GROUP(netconn_type(conn)) == NETCONN_TCP, return ERR_ARG;); in netconn_recv_tcp_pbuf() 806 NETCONNTYPE_GROUP(netconn_type(conn)) == NETCONN_TCP, return ERR_ARG;); in netconn_recv_tcp_pbuf_flags() 825 NETCONNTYPE_GROUP(netconn_type(conn)) != NETCONN_TCP, return ERR_ARG;); in netconn_recv_udp_raw_netbuf() 845 NETCONNTYPE_GROUP(netconn_type(conn)) != NETCONN_TCP, return ERR_ARG;); in netconn_recv_udp_raw_netbuf_flags()
|
H A D | api_msg.c | 650 if (NETCONNTYPE_ISIPV6(netconn_type(msg->conn))) { 745 * @param t the type of 'connection' to create (@see enum netconn_type) 751 netconn_alloc(enum netconn_type t, netconn_callback callback) 790 LWIP_ASSERT("netconn_alloc: undefined netconn_type", 0); 1976 LWIP_ASSERT("invalid netconn_type", 0);
|
/third_party/lwip/src/include/lwip/priv/ |
H A D | api_msg.h | 224 struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);
|
Completed in 9 milliseconds