Jump to main content

##

# IPV4_TYPE_OF_SERVICE Union

## C

    typedef union {
    uint8_t val;
    struct {
        uint8_t reserved : 2;
        uint8_t reliability : 1;
        uint8_t throughput : 1;
        uint8_t delay : 1;
        uint8_t precedence : 3;
    }
    } IPV4_TYPE_OF_SERVICE;

## Description

IPv4 type of service definition.

This is the structure of an IPv4 type of service header field.

## Parameters

Parameters | Description
--- | ---
uint8_t reserved : 2; | Not used.
uint8_t reliability : 1; | Reliability settings: normal/high.
uint8_t throughput : 1; | Throughput settings: normal/high.
uint8_t delay : 1; | Delay settings: normal/low.
uint8_t precedence : 3; | Precedence; one of TCPIP_IPV4_PRECEDENCE_ values.

## Returns

None.

## Remarks

None.