openflow/field: Add support for OXM_OF_PACKET_TYPE

This commit is contained in:
Eishun Kondoh 2019-07-31 18:37:22 +09:00
parent ca02fe7ed7
commit c81cf9e8ba
3 changed files with 22 additions and 4 deletions

View file

@ -370,7 +370,8 @@ defmodule Openflow.Match do
:pbb_isid,
:tunnel_id,
:ipv6_exthdr,
:pbb_uca
:pbb_uca,
:packet_type
],
do: 0x8000
@ -758,7 +759,8 @@ defmodule Openflow.Match do
:nsh_c1,
:nsh_c2,
:nsh_c3,
:nsh_c4
:nsh_c4,
:packet_type
],
do: :u32