Re: [ovs-dev] [PATCH net-next v3] openvswitch: add TTL decrement action

2020-01-16 Thread Nicolas Dichtel
Le 16/01/2020 à 08:21, Pravin Shelar a écrit : > On Wed, Jan 15, 2020 at 8:40 AM Matteo Croce wrote: [snip] >> @@ -1050,4 +1051,5 @@ struct ovs_zone_limit { >> __u32 count; >> }; >> >> +#define OVS_DEC_TTL_ATTR_EXEC 0 > > I am not sure if we need this, But if you want the nested

Re: [ovs-dev] [PATCH net-next v3] openvswitch: add TTL decrement action

2020-01-15 Thread Pravin Shelar
On Wed, Jan 15, 2020 at 8:40 AM Matteo Croce wrote: > > New action to decrement TTL instead of setting it to a fixed value. > This action will decrement the TTL and, in case of expired TTL, drop it > or execute an action passed via a nested attribute. > The default TTL expired action is to drop

[ovs-dev] [PATCH net-next v3] openvswitch: add TTL decrement action

2020-01-15 Thread Matteo Croce
New action to decrement TTL instead of setting it to a fixed value. This action will decrement the TTL and, in case of expired TTL, drop it or execute an action passed via a nested attribute. The default TTL expired action is to drop the packet. Supports both IPv4 and IPv6 via the ttl and