tres v0.1.1 Openflow.Action.PushVlan
Push a new VLAN tag
Link to this section Summary
Functions
Create a new push_vlan action struct.
0x8100 is a default value
Link to this section Types
Link to this type
t()
t()
t() :: %Openflow.Action.PushVlan{ethertype: 0..65535}
t() :: %Openflow.Action.PushVlan{ethertype: 0..65535}
Link to this section Functions
Link to this function
new(ethertype \\ 33024)
new(ethertype \\ 33024)
new(ethertype :: 0..65535) :: t()
new(ethertype :: 0..65535) :: t()
Create a new push_vlan action struct.
0x8100 is a default value.
iex> %PushVlan{ethertype: 0x8100} = PushVlan.new()
Link to this function
ofpat()
ofpat()
ofpat() :: 17
ofpat() :: 17
Link to this function
read(arg)
read(arg)
read(<<_::16, _::_*8>>) :: t()
read(<<_::16, _::_*8>>) :: t()
Link to this function
to_binary(push_vlan)
to_binary(push_vlan)
to_binary(t()) :: <<_::16, _::_*8>>
to_binary(t()) :: <<_::16, _::_*8>>