Function

nw_ip_metadata_get_ecn_flag

Checks the Explicit Congestion Notification flag value received on an IP packet.

Declaration

nw_ip_ecn_flag_t nw_ip_metadata_get_ecn_flag(nw_protocol_metadata_t metadata);

See Also

Handling IP Packets

nw_ip_create_metadata

Initializes an IP packet configuration with default settings.

nw_protocol_metadata_is_ip

Checks whether a metadata object represents an IP packet.

nw_ip_metadata_set_ecn_flag

Sets a specific Explicit Congestion Notification flag value to set on an IP packet.

nw_ip_ecn_flag_t

Flag values for Explicit Congestion Notifications in IP packets.

nw_ip_metadata_set_service_class

Sets a specific service class to mark on an IP packet.

nw_ip_metadata_get_service_class

Accesses a specific service class to mark on an IP packet.

nw_ip_metadata_get_receive_time

Access the time at which a packet was received, in nanoseconds, based on CLOCK_MONOTONIC_RAW.