Jump to main content

##

# TCPIP_IPV4_PACKET_PARAMS Structure

## C

    typedef struct {
    TCPIP_IPV4_TOS_FLAGS tosFlags;
    uint8_t ttl;
    uint8_t df;
    } TCPIP_IPV4_PACKET_PARAMS;

## Description

IPv4 packet parameters.

This is the structure describing parameters that can be specified for the formatting of an IPv4 packet for transmission.

## Parameters

Parameters | Description
--- | ---
tosFlags | Type Of Service specification. A value of 0 means TCPIP_IPV4_TOS_DEFAULT.
ttl | Time to Live. 0 means default.
df | Don't Fragment - boolean. 0 means default: fragmentation allowed.

## Returns

None.

## Remarks

None.