tres v0.1.0 Openflow.Action.SetNwTtl

Set IP TTL

Link to this section Summary

Functions

Create a new set_nw_ttl action struct

Link to this section Types

Link to this type

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

Link to this section Functions

Link to this function

new(ttl)
new(ttl :: 0..255) :: t()

Create a new set_nw_ttl action struct

Options:

  • IP TTL
iex> %SetNwTtl{ttl: 64} = SetNwTtl.new(_ttl = 64)
Link to this function

ofpat()
ofpat() :: 23

Link to this function

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

Link to this function

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