tres v0.1.1 Openflow.Action.Output
Action for sends packets out port_number
.
Link to this section Summary
Functions
Create a new output action structure
Link to this section Types
Link to this type
max_len()
max_len()
max_len() :: 0..4_294_967_295 | :no_buffer | :max
max_len() :: 0..4_294_967_295 | :no_buffer | :max
Link to this type
port_no()
port_no()
port_no() ::
0..4_294_967_295
| :max
| :in_port
| :table
| :normal
| :flood
| :all
| :controller
| :local
| :any
port_no() :: 0..4_294_967_295 | :max | :in_port | :table | :normal | :flood | :all | :controller | :local | :any
Link to this section Functions
Link to this function
new(options \\ [])
new(options \\ [])
new([port_number: port_no(), max_len: max_len()] | port_no()) ::
Openflow.Action.Output.t()
new(port :: port_no()) :: Openflow.Action.Output.t()
new(options :: [port_number: port_no(), max_len: max_len()]) ::
Openflow.Action.Output.t()
new([port_number: port_no(), max_len: max_len()] | port_no()) :: Openflow.Action.Output.t()
new(port :: port_no()) :: Openflow.Action.Output.t()
new(options :: [port_number: port_no(), max_len: max_len()]) :: Openflow.Action.Output.t()
Create a new output action structure
Options:
port_number
: Output portmax_len
: Max length to send to controller
Example
iex> %Output{port_number: 1, max_len: :no_buffer} = Output.new(1)
Link to this function
ofpat()
ofpat()
ofpat() :: 0
ofpat() :: 0
Link to this function
read(arg)
read(arg)
read(<<_::16, _::_*8>>) :: Openflow.Action.Output.t()
read(<<_::16, _::_*8>>) :: Openflow.Action.Output.t()
Link to this function
to_binary(output)
to_binary(output)
to_binary(Openflow.Action.Output.t()) :: <<_::16, _::_*8>>
to_binary(Openflow.Action.Output.t()) :: <<_::16, _::_*8>>