Hello, I have a custom v6 extension header, in which I would like to perform an LPM match on only one 32bit field.
Since an extension header is technically not a new field, do I still need to introduce anything in the struct flow? In miniflow_extract(), what I did was to add a case in parse_ipv6_ext_hdrs__ as (*nw_proto == IPPROTO_TRH) where IPPROTO_TRH is my custom proto number, and parse the *datap to my struct trh_hdr, then data_try_pull. Is this the appropriate approach? If yes, what would the appropriate way be for accessing the 32bit field in trh_hdr to perform the match? Thanks, Alan
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss