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
Link to this section Types
Link to this type
t()
t()
t() :: %Openflow.Action.SetMplsTtl{ttl: 0..255}
t() :: %Openflow.Action.SetMplsTtl{ttl: 0..255}
Link to this section Functions
Link to this function
new(ttl)
new(ttl)
new(0..255) :: Openflow.Action.SetMplsTtl.t()
new(0..255) :: Openflow.Action.SetMplsTtl.t()
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()
ofpat() :: 15
ofpat() :: 15
Link to this function
read(arg)
read(arg)
read(<<_::16, _::_*8>>) :: Openflow.Action.SetMplsTtl.t()
read(<<_::16, _::_*8>>) :: Openflow.Action.SetMplsTtl.t()
Link to this function
to_binary(set_mpls_ttl)
to_binary(set_mpls_ttl)
to_binary(Openflow.Action.SetMplsTtl.t()) :: <<_::16, _::_*8>>
to_binary(Openflow.Action.SetMplsTtl.t()) :: <<_::16, _::_*8>>