On 10/15/2021 10:58 AM, Jie Wang wrote:
+/**
+ * @warning
+ * @b EXPERIMENTAL: this structure may change without prior notice
+ * RTE_FLOW_ITEM_TYPE_PPP
+ *
+ * Matches PPP Header
+ */
+struct rte_flow_item_ppp {
+       uint8_t addr; /**< ppp address(8) */
+       uint8_t ctrl; /**< ppp control(8) */
+       rte_be16_t proto_id; /**< ppp protocol id(16) */
+};

Hi Jie,

Can't we do same thing for ppp, have the protocol header in the lib/net
and use it within the 'rte_flow_item_ppp'?

Reply via email to