Configuring IP Options - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
Release Date
2021.1 English

The following table describes the IP parameter options. Default values work well unless application tuning is required.

Attribute Default Type Description
ip_forward 0 Integer Set to 1 for enabling ability to forward IP packets across network interfaces. If running lwIP on a single network interface, set to 0. This attribute can have two values: 0 or 1.
ip_options 0 Integer When set to 1, IP options are allowed (but not parsed). When set to 0, all packets with IP options are dropped. This attribute can have two values: 0 or 1.
ip_reassembly 1 Integer Reassemble incoming fragmented IP packets.
ip_frag 1 Integer Fragment outgoing IP packets if their size exceeds MTU.
ip_reass_max_pbufs 128 Integer Reassembly pbuf queue length.
ip_frag_max_mtu 1500 Integer Assumed max MTU on any interface for IP fragmented buffer.
ip_default_ttl 255 Integer Global default TTL used by transport layers.