The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_NET_HEADERS_ALWAYS_CONTIGUOUS

(No prompt – not directly user assignable.)

Type: bool

Help

This a hidden option, which one should use with a lot of care. NO bug reports will be accepted if that option is enabled! You are warned. If you are 100% sure the headers memory space is always in a contiguous space, this will save stack usage and ROM in net core. This is a possible case when using IPv4 only, with NET_BUF_FIXED_DATA_SIZE enabled and NET_BUF_DATA_SIZE of 128 for instance.

Direct dependencies

NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/ip/Kconfig:490

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:82

Menu path: (top menu) → Networking → IP stack

config NET_HEADERS_ALWAYS_CONTIGUOUS
    bool
    depends on NETWORKING
    help
      This a hidden option, which one should use with a lot of care.
      NO bug reports will be accepted if that option is enabled!
      You are warned.
      If you are 100% sure the headers memory space is always in a
      contiguous space, this will save stack usage and ROM in net core.
      This is a possible case when using IPv4 only, with
      NET_BUF_FIXED_DATA_SIZE enabled and NET_BUF_DATA_SIZE of 128 for
      instance.

(Definitions include propagated dependencies, including from if’s and menus.)