Skip to content

Commit 9ba6a9a

Browse files
hadarhenziondavem330
authored andcommitted
flow_dissector: Add enums for encapsulation keys
New encapsulation keys were added to the flower classifier, which allow classification according to outer (encapsulation) headers attributes such as key and IP addresses. In order to expose those attributes outside flower, add corresponding enums in the flow dissector. Signed-off-by: Hadar Hen Zion <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9ce183b commit 9ba6a9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/net/flow_dissector.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ enum flow_dissector_key_id {
128128
FLOW_DISSECTOR_KEY_FLOW_LABEL, /* struct flow_dissector_key_flow_tags */
129129
FLOW_DISSECTOR_KEY_GRE_KEYID, /* struct flow_dissector_key_keyid */
130130
FLOW_DISSECTOR_KEY_MPLS_ENTROPY, /* struct flow_dissector_key_keyid */
131+
FLOW_DISSECTOR_KEY_ENC_KEYID, /* struct flow_dissector_key_keyid */
132+
FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS, /* struct flow_dissector_key_ipv4_addrs */
133+
FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS, /* struct flow_dissector_key_ipv6_addrs */
134+
FLOW_DISSECTOR_KEY_ENC_CONTROL, /* struct flow_dissector_key_control */
131135

132136
FLOW_DISSECTOR_KEY_MAX,
133137
};

0 commit comments

Comments
 (0)