Skip to content

Commit 94713ef

Browse files
committed
openthread: Kconfig: Add config for number of socket services
This commit adds support to define number of platform socket services using Kconfig. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
1 parent 6c83b9b commit 94713ef

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

modules/openthread/Kconfig

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,42 @@ config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MODEL_NAME
394394
This value represents Border Agent's product model.
395395

396396
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MAX_UDP_SERVICES
397-
int "The maximum number of pollable UDP sockets to be registered in platform UDP."
398-
depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER
397+
int "The maximum number of pollable UDP sockets to be registered in platform code."
399398
default 5
400399
help
401400
This configuration defines the maximum number of pollable UDP sockets
402401
to be used within platform UDP module.
403402

403+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MAX_MDNS_SERVICES
404+
int "The maximum number of pollable mDNS sockets to be registered in platform code."
405+
default 1 if NET_IPV6 && !NET_IPV4
406+
default 2 if NET_IPV6 && NET_IPV4
407+
help
408+
This configuration defines the maximum number of pollable mDNS sockets
409+
to be used within platform mDNS module.
410+
411+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_TREL_SERVICES
412+
int "The maximum number of pollable TREL sockets to be registered in platform code."
413+
default 1
414+
help
415+
This configuration defines the maximum number of pollable TREL sockets
416+
to be used within platform TREL module.
417+
418+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_DHCP6_PD_SERVICES
419+
int "The maximum number of pollable DHCP6_PD sockets to be registered in platform code."
420+
default 1
421+
help
422+
This configuration defines the maximum number of pollable DHCP6_PD sockets
423+
to be used within platform DHCP6_PD module.
424+
425+
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_NAT64_SERVICES
426+
int "The maximum number of pollable RAW IPV4 sockets to be registered in platform code."
427+
depends on OPENTHREAD_NAT64_TRANSLATOR
428+
default 1
429+
help
430+
This configuration defines the maximum number of pollable RAW IPV4 sockets
431+
to be used within platform Infrastructure Interface module.
432+
404433
config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MSG_POOL_NUM
405434
int "Maximum entries of backbone message pool."
406435
default 10

0 commit comments

Comments
 (0)