tres v0.1.1 Openflow.Action.PopMpls
Pop the out MPLS label
note: The one of ETH_P_MPLS* is needed to be specified to eth_type field
Link to this section Summary
Functions
Create a new pop_mpls action struct
Link to this section Types
Link to this type
t()
t()
t() :: %Openflow.Action.PopMpls{ethertype: term()}
t() :: %Openflow.Action.PopMpls{ethertype: term()}
Link to this section Functions
Link to this function
new(ethertype \\ 34887)
new(ethertype \\ 34887)
new(ethertype :: 0..65535) :: t()
new(ethertype :: 0..65535) :: t()
Create a new pop_mpls action struct
note: 0x8847(ETH_P_MPLS_UC) as default value.
iex> %PopMpls{ethertype: 0x8847} = PopMpls.new()
Link to this function
ofpat()
ofpat()
ofpat() :: 20
ofpat() :: 20
Link to this function
read(arg)
read(arg)
read(<<_::16, _::_*8>>) :: t()
read(<<_::16, _::_*8>>) :: t()
Link to this function
to_binary(pop_mpls)
to_binary(pop_mpls)
to_binary(t()) :: <<_::16, _::_*8>>
to_binary(t()) :: <<_::16, _::_*8>>