CONFIG_NET_BUF_USER_DATA_SIZE

Size of user_data available in every network buffer

Type: int

Help

Amount of memory reserved in each network buffer for user data. In
most cases this can be left as the default value.

Direct dependencies

NET_BUF

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/net/Kconfig:16

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:39

Menu path: (Top) → Sub Systems and OS Services → Networking → Network buffer support

config NET_BUF_USER_DATA_SIZE
    int "Size of user_data available in every network buffer"
    range 4 65535 if BT || NET_TCP2
    range 0 65535
    default 8 if ((BT || NET_TCP2) && 64BIT) || BT_ISO
    default 4
    depends on NET_BUF
    help
      Amount of memory reserved in each network buffer for user data. In
      most cases this can be left as the default value.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)