summaryrefslogtreecommitdiff
path: root/components/net/af_unix/Kconfig
blob: b078ae4534b4f5864ebd45f4a4265fefbd01cdb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
menuconfig RT_USING_AF_UNIX
    bool "AF_UNIX local sockets"
    depends on RT_USING_SAL
    depends on SAL_USING_POSIX
    depends on RT_USING_DFS_V2
    default n
    help
        Enable pathname-based AF_UNIX SOCK_DGRAM and SOCK_STREAM sockets.

if RT_USING_AF_UNIX

config AF_UNIX_DGRAM_MAX_SIZE
    int "Maximum datagram size"
    range 128 65535
    default 4096

config AF_UNIX_DGRAM_QUEUE_LEN
    int "Datagram receive queue length"
    range 1 256
    default 16

config AF_UNIX_STREAM_BUFFER_SIZE
    int "Stream receive buffer size"
    range 256 65535
    default 4096

config AF_UNIX_LISTEN_BACKLOG_MAX
    int "Maximum stream listen backlog"
    range 1 128
    default 16

config AF_UNIX_RIGHTS_MAX
    int "Maximum file descriptors per SCM_RIGHTS message"
    range 1 253
    default 16

config RT_AF_UNIX_USING_TESTCASES
    bool "Build AF_UNIX test cases"
    depends on RT_USING_UTESTCASES
    default n

endif