1# Copyright (c) 2024, Friedt Professional Engineering Services, Inc 2# 3# SPDX-License-Identifier: Apache-2.0 4 5menuconfig POSIX_NETWORKING 6 bool "POSIX Networking API" 7 depends on NETWORKING 8 select NET_HOSTNAME_ENABLE 9 select NET_HOSTNAME_DYNAMIC 10 select NET_INTERFACE_NAME 11 select NET_SOCKETPAIR 12 select NET_SOCKETS 13 help 14 Enable this option to support the POSIX networking API. This includes 15 support for BSD Sockets. 16 17 For additional details, please see 18 https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html 19 20if POSIX_NETWORKING 21 22config POSIX_HOST_NAME_MAX 23 int 24 default NET_HOSTNAME_MAX_LEN 25 help 26 The maximum length of a host name as defined by POSIX. 27 28 For additional details, please see 29 https://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html 30 31config POSIX_IPV6 32 bool "POSIX IPv6 support" 33 select NET_IPV6 34 help 35 Enable this option to support the POSIX IPv6 API. 36 37 For more information, please see 38 https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_port.html#tag_24_03_04 39 40config POSIX_RAW_SOCKETS 41 bool "POSIX RAW socket support" 42 select NET_SOCKETS_PACKET 43 help 44 Enable this option to support the raw sockets. 45 46 For more information, please see 47 https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/xrat/V4_xsh_chap02.html#tag_22_02_10_18 48 49endif # POSIX_NETWORKING 50