aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJerin Jacob <jerinj@marvell.com>2020-09-16 19:58:44 +0530
committerPetri Savolainen <petri.savolainen@nokia.com>2020-12-21 12:42:26 +0200
commite35026097388c46b072268f0e5d19aad62ab388d (patch)
tree7025a97a931b4877fd718d577a1009b762dc2c6d /include
parent0a836ea543bf6754c90e8be614dc5f722269b1c1 (diff)
api: cls: introduce IGMP group addr term
Introduce IGMP group address term. Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/classification.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h
index 7c2c40fbb..4320c8dc3 100644
--- a/include/odp/api/spec/classification.h
+++ b/include/odp/api/spec/classification.h
@@ -103,6 +103,8 @@ typedef union odp_cls_pmr_terms_t {
/** Custom layer 3 match rule. PMR offset is counted from
* the start of layer 3 in the packet. */
uint64_t custom_l3:1;
+ /** IGMP Group address, implies IPPROTO=2 */
+ uint64_t igmp_grp_addr:1;
} bit;
/** All bits of the bit field structure */
@@ -555,6 +557,9 @@ typedef enum {
*/
ODP_PMR_CUSTOM_L3,
+ /** IGMP Group address (val_sz = 4), implies IPPROTO=2 */
+ ODP_PMR_IGMP_GRP_ADDR,
+
/** Inner header may repeat above values with this offset */
ODP_PMR_INNER_HDR_OFF = 32