:orphan: .. title:: NET_BUF_USER_DATA_SIZE .. option:: 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 =================== \ :option:`NET_BUF ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 8 if (\ :option:`BT ` || \ :option:`NET_TCP2 `) && \ :option:`64BIT ` - 4 Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/Kconfig:16`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` Menu path: (Top) → Sub Systems and OS Services → Networking → Network buffer support .. parsed-literal:: config NET_BUF_USER_DATA_SIZE int "Size of user_data available in every network buffer" range 4 65535 if \ :option:`BT ` || \ :option:`NET_TCP2 ` range 0 65535 default 8 if (\ :option:`BT ` || \ :option:`NET_TCP2 `) && \ :option:`64BIT ` default 4 depends on \ :option:`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.)*