Guys, My node is located right before ip4_lookup. What's the fastest/cleanest way to get options related to a TCP packet, having access to a tcp_header_t structure (which is not directly linked to its options) ? Actually, I'd like to modify or remove some options on the fly.
Do I have to call tcp_options_parse function from src/vnet/tcp/tcp_input.c ? But I guess it would duplicate the job, since it is already called at one moment. Or should I get the TCP connection, which connects both tcp_header_t and tcp_options_t ? Or should I directly modify options "in" the packet, by moving the data pointer (a sort-of copy of what tcp_options_parse already does) ? Thanks for your help ! Justin _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev