Home
last modified time | relevance | path

Searched refs:netconn (Results 1 – 12 of 12) sorted by relevance

/third_party/lwip/src/include/lwip/
Dapi.h211 struct netconn;
215 typedef void (* netconn_callback)(struct netconn *, enum netconn_evt, u16_t len);
218 struct netconn { struct
312 struct netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto,
314 err_t netconn_prepare_delete(struct netconn *conn);
315 err_t netconn_delete(struct netconn *conn);
319 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr,
326 err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port);
327 err_t netconn_bind_if(struct netconn *conn, u8_t if_idx);
328 err_t netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port);
[all …]
/third_party/lwip/src/api/
Dapi_lib.c106 static err_t netconn_close_shutdown(struct netconn *conn, u8_t how);
148 struct netconn *
151 struct netconn *conn; in netconn_new_with_proto_and_callback()
192 netconn_prepare_delete(struct netconn *conn) in netconn_prepare_delete()
233 netconn_delete(struct netconn *conn) in netconn_delete()
269 netconn_getaddr(struct netconn *conn, ip_addr_t *addr, u16_t *port, u8_t local) in netconn_getaddr()
307 netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port) in netconn_bind()
351 netconn_bind_if(struct netconn *conn, u8_t if_idx) in netconn_bind_if()
377 netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port) in netconn_connect()
409 netconn_disconnect(struct netconn *conn) in netconn_disconnect()
[all …]
Dapi_msg.c83 static err_t lwip_netconn_do_writemore(struct netconn *conn WRITE_DELAYED_PARAM);
84 static err_t lwip_netconn_do_close_internal(struct netconn *conn WRITE_DELAYED_PARAM);
87 static void netconn_drain(struct netconn *conn);
164 struct netconn *conn; in recv_raw()
167 conn = (struct netconn *)arg; in recv_raw()
222 struct netconn *conn;
231 conn = (struct netconn *)arg;
295 struct netconn *conn;
304 conn = (struct netconn *)arg;
359 struct netconn *conn = (struct netconn *)arg;
[all …]
Dsockets.c292 static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len);
304 static int free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn,
306 static void free_socket_free_elements(int is_tcp, struct netconn *conn, union lwip_sock_lastdata *l…
385 struct netconn *conn = NULL; in done_socket()
505 alloc_socket(struct netconn *newconn, int accepted) in alloc_socket()
553 free_socket_locked(struct lwip_sock *sock, int is_tcp, struct netconn **conn, in free_socket_locked()
577 free_socket_free_elements(int is_tcp, struct netconn *conn, union lwip_sock_lastdata *lastdata) in free_socket_free_elements()
602 struct netconn *conn; in free_socket()
628 struct netconn *newconn; in lwip_accept()
1049 lwip_sock_make_addr(struct netconn *conn, ip_addr_t *fromaddr, u16_t port, in lwip_sock_make_addr()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_netconn.c51 struct netconn *conn; in snmp_netconn_thread()
89 result = netconn_sendto((struct netconn *)handle, &buf, dst, port); in snmp_sendto()
97 struct netconn *conn = (struct netconn *)handle; in snmp_get_local_ip_for_dst()
/third_party/lwip/src/include/lwip/priv/
Dapi_msg.h82 struct netconn *conn;
219 struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);
220 void netconn_free(struct netconn *conn);
Dsockets_priv.h69 struct netconn *conn;
Dmemp_std.h68 LWIP_MEMPOOL(NETCONN, MEMP_NUM_NETCONN, sizeof(struct netconn), "NETCONN")
/third_party/lwip/src/include/lwip/apps/
Dsnmp_opts.h79 #error SNMP stack can use only one of the APIs {raw, netconn}
83 #error SNMP stack needs a receive API and UDP {raw, netconn}
/third_party/lwip/
DUPGRADING97 instead of using one per netconn (these semaphores are used even with core locking
139 * LWIP_NETCONN_FULLDUPLEX allows netconn/sockets to be used for reading/writing from separate
163 err_t, not a pointer to new data/netconn.
261 * Implemented shutdown() at socket- and netconn-level
266 * Implemented many nonblocking socket/netconn functions
DCHANGELOG108 * netconn: add LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE to use external DNS resolver (patch #9427)
140 * netconn/netdb: added core locking support to netconn_gethostbyname (task #14523)
152 * netconn/sockets: remove fatal error handling, fix asynchronous error handling,
163 * netconn/sockets: vectorize netconn_write for TCP, treating a vectored I/O write
167 * netconn: added nonblocking accept/recv to netconn API (task #14396)
173 * Implement UDP and RAW multicast support for IPv6 (core API, not netconn/sockets)
350 * sockets/netconn: fix broken default ICMPv6 handling of checksums
407 (and therefore on a UDP socket/netconn) when the PCB is bound to IP_ADDR_ANY
449 decouple netconn, netif, ppp and 6LoWPAN from LWIP core.
454 automatically supported when an IPv6 netconn/socket is created.
[all …]
/third_party/lwip/test/unit/api/
Dtest_sockets.c775 struct netconn *sact_conn = sact_sock->conn; in START_TEST()