Home
last modified time | relevance | path

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

12345678910

/Zephyr-latest/samples/net/sockets/echo_server/
Dsample.yaml9 description: Test network sockets using a client/server sample
12 sample.net.sockets.echo_server:
24 sample.net.sockets.echo_server.802154:
29 sample.net.sockets.echo_server.802154.rf2xx.xplained:
34 sample.net.sockets.echo_server.802154.rf2xx.xpro:
43 sample.net.sockets.echo_server.802154.rf2xx.legacy:
52 sample.net.sockets.echo_server.802154.rf2xx.arduino:
62 sample.net.sockets.echo_server.802154.rf2xx.mikrobus:
67 sample.net.sockets.echo_server.mcr20a:
72 sample.net.sockets.echo_server.nrf_802154:
[all …]
/Zephyr-latest/samples/net/sockets/echo_client/
Dsample.yaml9 description: Test network sockets using a client/server sample
12 sample.net.sockets.echo_client:
21 sample.net.sockets.echo_client.802154:
24 sample.net.sockets.echo_client.802154.rf2xx:
27 sample.net.sockets.echo_client.802154.rf2xx.xplained:
32 sample.net.sockets.echo_client.802154.rf2xx.xpro:
41 sample.net.sockets.echo_client.802154.rf2xx.legacy:
50 sample.net.sockets.echo_client.802154.rf2xx.arduino:
60 sample.net.sockets.echo_client.802154.rf2xx.mikrobus:
65 sample.net.sockets.echo_client.mcr20a:
[all …]
/Zephyr-latest/samples/net/sockets/echo_service/
DREADME.rst1 .. zephyr:code-sample:: sockets-service-echo
5 Implements a simple IPv4/IPv6 TCP echo server using BSD sockets and socket service API.
10 The sockets/echo_service sample application for Zephyr implements a TCP echo
11 server supporting both IPv4 and IPv6 and using a BSD Sockets compatible API.
14 The socket service is a concept where many blocking sockets can be listened by
16 of sockets. This saves memory as only one thread needs to be created in the
21 :zephyr_file:`samples/net/sockets/echo_service`.
32 Build the Zephyr version of the sockets/echo_service application like this:
35 :zephyr-app: samples/net/sockets/echo_service
50 sockets, and currently is only implemented to serve only one client connection
/Zephyr-latest/samples/net/sockets/echo_async_select/
DREADME.rst1 .. zephyr:code-sample:: async-sockets-echo-select
5 Implement an asynchronous IPv4/IPv6 TCP echo server using BSD sockets and select()
10 The sockets/echo_async_select sample application for Zephyr implements an
11 asynchronous IPv4/IPv6 TCP echo server using a BSD Sockets compatible API
12 with non-blocking sockets and a ``select()`` call. This is a variant of
13 the :zephyr:code-sample:`async-sockets-echo` sample.
16 :zephyr_file:`samples/net/sockets/echo_async_select`.
27 Build the Zephyr version of the sockets/echo_async application like this:
30 :zephyr-app: samples/net/sockets/echo_async_select
44 it. Unlike the :zephyr:code-sample:`sockets-echo` sample, this application
Dsample.yaml2 description: BSD Sockets API TCP echo server sample using non-blocking sockets
12 sample.net.sockets.echo_async_select:
/Zephyr-latest/samples/net/sockets/socketpair/
DREADME.rst1 .. zephyr:code-sample:: sockets-socketpair
10 The sockets/socketpair sample application for Zephyr demonstrates a
12 connected UNIX-domain sockets. The pairs of sockets are created with
13 socketpair(2), as you might have guessed. Such sockets are compatible
14 with the BSD Sockets API, and therefore the purpose of this sample
15 is also to reinforce that it is possible to develop a sockets
19 :zephyr_file:`samples/net/sockets/socketpair`.
29 Build the Zephyr version of the sockets/echo application like this:
32 :zephyr-app: samples/net/sockets/socketpair
/Zephyr-latest/subsys/net/lib/sockets/
DKconfig1 # BSD Sockets compatible API
7 bool "BSD Sockets compatible API"
12 Provide BSD Sockets like API on top of native Zephyr networking API.
17 int "Default processing priority for sockets"
83 The socket service can monitor multiple sockets and save memory
87 so that enough sockets entries can be serviced. This depends on
97 polls the sockets and calls the user supplied callback directly.
112 Set the internal stack size for the thread that polls sockets.
128 int "Default processing priority for TLS sockets"
131 Processing priority for TLS sockets. Should be lower than
[all …]
/Zephyr-latest/samples/net/sockets/echo_async/
DREADME.rst1 .. zephyr:code-sample:: async-sockets-echo
5 Implement an asynchronous IPv4/IPv6 TCP echo server using BSD sockets and poll()
10 The sockets/echo-async sample application for Zephyr implements an
11 asynchronous IPv4/IPv6 TCP echo server using a BSD Sockets compatible API
12 with non-blocking sockets and a ``poll()`` call. This is an extension of
13 the :zephyr:code-sample:`sockets-echo` sample. It's a more involved application,
18 :zephyr_file:`samples/net/sockets/echo_async`.
29 Build the Zephyr version of the sockets/echo_async application like this:
32 :zephyr-app: samples/net/sockets/echo_async
46 it. Unlike the above-mentioned :zephyr:code-sample:`sockets-echo` sample, this application
Dsample.yaml2 description: BSD Sockets API TCP echo server sample using non-blocking sockets
12 sample.net.sockets.echo_async:
15 sample.net.sockets.echo_async.wifi.nrf70dk:
/Zephyr-latest/samples/net/sockets/echo/
DREADME.rst1 .. zephyr:code-sample:: sockets-echo
5 Implements a simple IPv4/IPv6 TCP echo server using BSD sockets.
10 The sockets/echo sample application for Zephyr implements a TCP echo
11 server supporting both IPv4 and IPv6 and using a BSD Sockets compatible API.
12 The purpose of this sample is to show how it's possible to develop a sockets
17 :zephyr_file:`samples/net/sockets/echo`.
28 Build the Zephyr version of the sockets/echo application like this:
31 :zephyr-app: samples/net/sockets/echo
45 sockets, and thus can serve only one client connection at time. After the
Dsample.yaml2 description: BSD Sockets API TCP echo server sample
9 sample.net.sockets.echo:
13 sample.net.sockets.echo.offload.simplelink:
/Zephyr-latest/samples/net/sockets/http_get/
Dsample.yaml2 description: BSD Sockets API HTTP GET example
16 sample.net.sockets.http_get:
24 sample.net.sockets.http_get.offload.simplelink:
32 sample.net.sockets.http_get.nsos.http:
45 sample.net.sockets.http_get.nsos.https:
58 sample.net.sockets.http_get.wifi.nrf70dk:
DREADME.rst1 .. zephyr:code-sample:: sockets-http-get
2 :name: HTTP GET using plain sockets
5 Implement an HTTP(S) client using plain BSD sockets.
10 The sockets/http_get sample application for Zephyr implements a simple
11 HTTP GET client using a BSD Sockets compatible API. The purpose of this
12 sample is to show how it's possible to develop a sockets application
17 :zephyr_file:`samples/net/sockets/http_get`.
33 :zephyr-app: samples/net/sockets/http_get
51 :zephyr-app: samples/net/sockets/http_get
/Zephyr-latest/doc/connectivity/networking/api/
Dsockets.rst3 BSD Sockets
13 Zephyr offers an implementation of a subset of the BSD Sockets API (a part
17 Here are the key requirements and concepts which governed BSD Sockets
28 BSD Sockets compatible API is enabled using :kconfig:option:`CONFIG_NET_SOCKETS`
49 sockets). For example, a call ``recv(sock, 1000, 0)`` may return 100,
53 The BSD Sockets API uses file descriptors to represent sockets. File
55 among sockets, files, special devices (like stdin/stdout), etc. Internally,
57 The file descriptor table is used by the BSD Sockets API even if the rest
60 See :zephyr:code-sample:`sockets-echo-server` and :zephyr:code-sample:`sockets-echo-client`
66 Secure Sockets
[all …]
/Zephyr-latest/tests/net/socket/tls_ext/
DCMakeLists.txt12 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/ca.der
18 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server.der
24 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server_privkey.der
32 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server.der
38 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server_privkey.der
/Zephyr-latest/drivers/modem/
Dmodem_socket.c148 * POSIX_FDS_MAX Kconfig option to support at minimum the required amount of sockets
157 if (cfg->sockets[i].id < cfg->base_socket_id) { in modem_socket_get()
167 cfg->sockets[i].sock_fd = zvfs_reserve_fd(); in modem_socket_get()
168 if (cfg->sockets[i].sock_fd < 0) { in modem_socket_get()
173 cfg->sockets[i].family = family; in modem_socket_get()
174 cfg->sockets[i].type = type; in modem_socket_get()
175 cfg->sockets[i].ip_proto = proto; in modem_socket_get()
176 cfg->sockets[i].id = (cfg->assign_id) ? (i + cfg->base_socket_id) : in modem_socket_get()
178 zvfs_finalize_typed_fd(cfg->sockets[i].sock_fd, &cfg->sockets[i], in modem_socket_get()
182 return cfg->sockets[i].sock_fd; in modem_socket_get()
[all …]
/Zephyr-latest/tests/bsim/net/
Dcompile.sh14 app=samples/net/sockets/echo_server conf_overlay=overlay-802154.conf compile
15 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-802154.conf compile
17 app=samples/net/sockets/echo_server conf_overlay=overlay-ot.conf compile
18 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-ot.conf compile
/Zephyr-latest/samples/net/sockets/dumb_http_server/
Dsample.yaml2 description: BSD Sockets API dumb HTTP server example
14 sample.net.sockets.dumb_http_server:
17 sample.net.sockets.dumb_http_server.netusb:
28 sample.net.sockets.dumb_http_server.netusb_zeroconf:
DREADME.rst5 Implement a simple, portable, HTTP server using BSD sockets.
10 The sockets/dumb_http_server sample application for Zephyr implements a
11 skeleton HTTP server using a BSD Sockets compatible API. The purpose of
12 this sample is to show how it's possible to develop a sockets application
22 :zephyr_file:`samples/net/sockets/dumb_http_server`.
33 Build the Zephyr version of the sockets/echo application like this:
36 :zephyr-app: samples/net/sockets/dumb_http_server
/Zephyr-latest/tests/net/socket/tls_configurations/
Dtestcase.yaml11 net.sockets.tls12.rsa_kex:
19 net.sockets.tls12.ec_kex:
27 net.sockets.tls13.ephemeral_kex:
35 net.sockets.tls13.ephemeral_kex.tickets:
44 net.sockets.tls13.psk_kex.tickets:
/Zephyr-latest/samples/net/sockets/coap_server/
Dsample.yaml8 description: BSD Sockets API CoAP server example
11 sample.net.sockets.coap_server:
15 sample.net.sockets.coap_server.wifi.nrf70dk:
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/
DREADME.rst5 Implement a simple HTTP server supporting simultaneous connections using BSD sockets.
10 The ``sockets/dumb_http_server_mt`` sample application for Zephyr implements a
11 skeleton HTTP server using a BSD Sockets compatible API.
20 :zephyr_file:`samples/net/sockets/dumb_http_server_mt`.
31 Build the Zephyr version of the sockets/dumb_http_server_mt application like
35 :zephyr-app: samples/net/sockets/dumb_http_server_mt
/Zephyr-latest/samples/net/sockets/big_http_download/
Dsample.yaml2 description: BSD Sockets big HTTP download example
17 sample.net.sockets.big_http_download:
20 sample.net.sockets.big_http_download.ci:
/Zephyr-latest/tests/net/lib/http_server/tls/
DCMakeLists.txt15 ${ZEPHYR_BASE}/samples/net/sockets/http_server/src/certs/ca_cert.der
21 ${ZEPHYR_BASE}/samples/net/sockets/http_server/src/certs/server_cert.der
27 ${ZEPHYR_BASE}/samples/net/sockets/http_server/src/certs/server_privkey.der
35 ${ZEPHYR_BASE}/samples/net/sockets/http_server/src/certs/server_cert.der
41 ${ZEPHYR_BASE}/samples/net/sockets/http_server/src/certs/server_privkey.der
/Zephyr-latest/samples/net/sockets/net_mgmt/
DREADME.rst1 .. zephyr:code-sample:: sockets-net-mgmt
14 :zephyr_file:`samples/net/sockets/net_mgmt`.
31 :zephyr-app: samples/net/sockets/net_mgmt
40 :zephyr-app: samples/net/sockets/net_mgmt

12345678910