# Net stack configuration options
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
bool "Network buffer support"
This option enables support for generic network protocol
int "Size of user_data available in every network buffer"
default 8 if (BT || NET_TCP2) && 64BIT
range 4 65535 if BT || NET_TCP2
range 0 65535
Amount of memory reserved in each network buffer for user data. In
most cases this can be left as the default value.
bool "Network buffer logging"
Enable logs and checks for the generic network buffers.
module = NET_BUF
module-str = net_buf
int "Interval of Network buffer allocation warnings"
range 0 60
Interval in seconds of Network buffer allocation warnings which are
generated when a buffer cannot immediately be allocated with K_FOREVER
which may lead to deadlocks. Setting it to 0 makes warnings to be
printed only once per allocation.
bool "Network buffer memory debugging"
Enable extra debug logs and checks for the generic network buffers.
endif # NET_BUF_LOG
bool "Network buffer pool usage tracking"
Enable network buffer pool tracking. This means that:
* amount of free buffers in the pool is remembered
* total size of the pool is calculated
* pool name is stored and can be shown in debugging prints
endif # NET_BUF
bool "Link layer and IP networking support"
This option enabled generic link layer and IP networking support.
# Such option should not be configured manually but by device drivers
# which supports PM properly.
depends on DEVICE_POWER_MANAGEMENT