tres v0.1.1 Openflow.Action.DecMplsTtl

Decrement MPLS TTL action

Link to this section Summary

Functions

Create a new dec_mpls_ttl action struct

Link to this section Types

Link to this type

t()
t() :: %Openflow.Action.DecMplsTtl{}

Link to this section Functions

Link to this function

new()
new() :: t()

Create a new dec_mpls_ttl action struct.

Note: Need to be specified the one of ETH_P_MPLS_* on eth_type match field when using this action.

Example:

elixir iex> %DecMplsTtl{} = DecMplsTtl.new()

Link to this function

ofpat()
ofpat() :: 16

Link to this function

read(arg)
read(<<_::16, _::_*8>>) :: t()

Link to this function

to_binary(dec_mpls_ttl)
to_binary(t()) :: <<_::16, _::_*8>>