tres v0.1.1 Openflow.Action.SetMplsTtl

Replace the existing MPLS TTL.
Only applies to the packets with an existing MPLS shim header.

Link to this section Summary

Functions

new(ttl) deprecated

Create a set_mpls_ttl action structure

Link to this section Types

Link to this type

t()
t() :: %Openflow.Action.SetMplsTtl{ttl: 0..255}

Link to this section Functions

This function is deprecated. OFPAT_SET_MPLS_TTL is deprecated in OpenFlow13, use SetField.

Create a set_mpls_ttl action structure

Example:

iex> %SetMplsTtl{ttl: 64} = Openflow.Action.SetMplsTtl.new(64)
Link to this function

ofpat()
ofpat() :: 15

Link to this function

read(arg)
read(<<_::16, _::_*8>>) :: Openflow.Action.SetMplsTtl.t()

Link to this function

to_binary(set_mpls_ttl)
to_binary(Openflow.Action.SetMplsTtl.t()) :: <<_::16, _::_*8>>