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 subsys/net/Kconfig:16

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22

Menu path: (Top) → 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
    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.)