Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 25) sorted by relevance

/components/net/sal/src/
A Dsal_socket.c52 struct sal_socket **sockets; member
363 return st->sockets[socket]; in sal_get_socket()
408 if (socket_table.sockets[idx] && socket_table.sockets[idx]->netdev == netdev) in sal_netdev_cleanup()
506 struct sal_socket **sockets; in socket_alloc() local
512 sockets = rt_realloc(st->sockets, cnt * sizeof(struct sal_socket *)); in socket_alloc()
513 if (sockets == RT_NULL) in socket_alloc()
519 sockets[index] = RT_NULL; in socket_alloc()
522 st->sockets = sockets; in socket_alloc()
544 sock = st->sockets[idx]; in socket_free()
545 st->sockets[idx] = RT_NULL; in socket_free()
[all …]
/components/net/lwip/lwip-2.1.2/
A DCHANGELOG202 sockets: fix race conditions when closing full-duplex sockets
1382 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
1608 * api.h, api_lib.c, sockets.c: task #10167 (sockets: speed up TCP recv
1611 for tcp sockets.
1692 the sockets array.
1699 * api.h, sockets.h, err.h, api_lib.c, api_msg.c, sockets.c, err.c:
3090 * sockets.c, sockets.h: Implemented socket options SO_NO_CHECK for UDP sockets
3099 * sockets.c, sockets.h: Added UDP lite support for sockets
3267 * sockets.h, sockets.c: Move socket initialization to new
3686 * sockets.h: FD_SETSIZE needs to match number of sockets, which is
[all …]
A DUPGRADING139 * LWIP_NETCONN_FULLDUPLEX allows netconn/sockets to be used for reading/writing from separate
170 standardised way to set O_NONBLOCK for nonblocking sockets.
A DSConscript67 src/api/sockets.c
/components/net/lwip/lwip-2.0.3/
A DCHANGELOG1129 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
1355 * api.h, api_lib.c, sockets.c: task #10167 (sockets: speed up TCP recv
1358 for tcp sockets.
1439 the sockets array.
1446 * api.h, sockets.h, err.h, api_lib.c, api_msg.c, sockets.c, err.c:
2837 * sockets.c, sockets.h: Implemented socket options SO_NO_CHECK for UDP sockets
2846 * sockets.c, sockets.h: Added UDP lite support for sockets
3006 * api.h, api_lib.c, sockets.h, sockets.c, tcpip.c, sys.h, sys.c, err.h:
3014 * sockets.h, sockets.c: Move socket initialization to new
3433 * sockets.h: FD_SETSIZE needs to match number of sockets, which is
[all …]
A DREADME.md16 - sockets.c: custom 'select' function implementation in RT-Thread by the wait queue mode.
A DSConscript10 src/api/sockets.c
A DUPGRADING104 * LWIP_NETCONN_FULLDUPLEX allows netconn/sockets to be used for reading/writing from separate
135 standardised way to set O_NONBLOCK for nonblocking sockets.
/components/net/lwip/lwip-1.4.1/
A DCHANGELOG173 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
399 * api.h, api_lib.c, sockets.c: task #10167 (sockets: speed up TCP recv
402 for tcp sockets.
483 the sockets array.
490 * api.h, sockets.h, err.h, api_lib.c, api_msg.c, sockets.c, err.c:
1881 * sockets.c, sockets.h: Implemented socket options SO_NO_CHECK for UDP sockets
1890 * sockets.c, sockets.h: Added UDP lite support for sockets
2050 * api.h, api_lib.c, sockets.h, sockets.c, tcpip.c, sys.h, sys.c, err.h:
2058 * sockets.h, sockets.c: Move socket initialization to new
2477 * sockets.h: FD_SETSIZE needs to match number of sockets, which is
[all …]
A DREADME.md9 - sockets.c: custom 'select' function implementation in RT-Thread by the wait queue mode.
A DSConscript11 src/api/sockets.c
A DUPGRADING36 standardised way to set O_NONBLOCK for nonblocking sockets.
/components/net/lwip/lwip-1.4.1/src/api/
A Dsockets.c205 sock = &sockets[s]; in get_socket()
228 if (!sockets[s].conn) { in tryget_socket()
231 return &sockets[s]; in tryget_socket()
264 if (!sockets[i].conn) { in alloc_socket()
269 sockets[i].lastdata = NULL; in alloc_socket()
270 sockets[i].lastoffset = 0; in alloc_socket()
271 sockets[i].rcvevent = 0; in alloc_socket()
275 sockets[i].errevent = 0; in alloc_socket()
276 sockets[i].err = 0; in alloc_socket()
277 sockets[i].select_waiting = 0; in alloc_socket()
[all …]
/components/net/sal/
A DKconfig38 int "the maximum number of sockets"
/components/net/lwip/lwip-2.0.3/src/api/
A Dsockets.c371 sock = &sockets[s]; in get_socket()
395 if (!sockets[s].conn) { in tryget_socket()
398 return &sockets[s]; in tryget_socket()
431 if (!sockets[i].conn && (sockets[i].select_waiting == 0)) { in alloc_socket()
432 sockets[i].conn = newconn; in alloc_socket()
436 sockets[i].lastdata = NULL; in alloc_socket()
437 sockets[i].lastoffset = 0; in alloc_socket()
438 sockets[i].rcvevent = 0; in alloc_socket()
442 sockets[i].errevent = 0; in alloc_socket()
443 sockets[i].err = 0; in alloc_socket()
[all …]
/components/net/lwip/
A DKconfig222 int "Enable receive timeout for sockets/netconns and SO_RCVTIMEO processing."
226 int "Enable send timeout for sockets/netconns and SO_SNDTIMEO processing."
335 bool "Enable Debugging of sockets.c"
/components/net/lwip/lwip-2.1.2/src/api/
A Dsockets.c260 static struct lwip_sock sockets[NUM_SOCKETS]; variable
418 return &sockets[s]; in tryget_socket_unconn_nouse()
530 if (!sockets[i].conn) { in alloc_socket()
532 if (sockets[i].fd_used) { in alloc_socket()
536 sockets[i].fd_used = 1; in alloc_socket()
537 sockets[i].fd_free_pending = 0; in alloc_socket()
539 sockets[i].conn = newconn; in alloc_socket()
543 sockets[i].lastdata.pbuf = NULL; in alloc_socket()
546 sockets[i].rcvevent = 0; in alloc_socket()
550 sockets[i].errevent = 0; in alloc_socket()
[all …]
/components/net/lwip/lwip-2.0.3/src/
A DFilelists.mk77 $(LWIPDIR)/api/sockets.c \
/components/net/lwip/lwip-2.0.3/doc/
A Dmdns.txt44 This opens UDP sockets on port 5353 for IPv4 and IPv6.
A Drawapi.txt51 - sockets.h
93 Do not confuse the lwIP raw API with raw Ethernet or IP sockets.
/components/net/lwip/lwip-2.1.2/doc/
A Dmdns.txt44 This opens UDP sockets on port 5353 for IPv4 and IPv6.
/components/net/lwip/lwip-2.1.2/src/
A DFilelists.mk81 $(LWIPDIR)/api/sockets.c \
A DFilelists.cmake87 ${LWIP_DIR}/src/api/sockets.c
/components/net/at/at_socket/
A Dat_socket.c407 …for (idx = 0; idx < device->class->socket_num && device->sockets[idx].magic == AT_SOCKET_MAGIC; id… in alloc_socket_by_device()
417 sock = &(device->sockets[idx]); in alloc_socket_by_device()
/components/net/lwip/lwip-1.4.1/doc/
A Drawapi.txt41 - sockets.h

Completed in 53 milliseconds