Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Dapi.h113 enum netconn_type { enum
220 enum netconn_type type;
312 struct netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto,
317 #define netconn_type(conn) (conn->type) macro
/third_party/lwip/src/api/
Dsockets.c138 (type) : (enum netconn_type)((type) | NETCONN_TYPE_IPV6))
147 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) argument
156 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) argument
175 …if (NETCONNTYPE_GROUP(netconn_type((sock)->conn)) != netconntype) { done_socket(sock); return ENOP…
646 if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { in lwip_accept()
801 is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; in lwip_close_internal()
926 if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { in lwip_listen()
953 …LWIP_ASSERT("this should be checked internally", NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NE… in lwip_recv_tcp()
1063 if (NETCONNTYPE_ISIPV6(netconn_type(conn)) && IP_IS_V4(fromaddr)) { in lwip_sock_make_addr()
1250 if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { in lwip_recvfrom_internal()
[all …]
Dapi_lib.c149 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()
Dapi_msg.c617 if (NETCONNTYPE_ISIPV6(netconn_type(msg->conn))) {
705 netconn_alloc(enum netconn_type t, netconn_callback callback)
/third_party/lwip/src/include/lwip/priv/
Dapi_msg.h219 struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);