Re: [ovs-dev] [PATCH v7 4/4] nsh: add dec_nsh_ttl action

2018-01-09 Thread Yang, Yi
On Tue, Jan 09, 2018 at 08:14:07AM +0800, Ben Pfaff wrote: > On Sat, Jan 06, 2018 at 01:47:54PM +0800, Yi Yang wrote: > > NSH ttl is a 6-bit field ranged from 0 to 63, it should be > > decremented by 1 every hop, if it is 0 or it is so after > > decremented, the packet should be dropped and a

Re: [ovs-dev] [PATCH v7 4/4] nsh: add dec_nsh_ttl action

2018-01-08 Thread Ben Pfaff
On Sat, Jan 06, 2018 at 01:47:54PM +0800, Yi Yang wrote: > NSH ttl is a 6-bit field ranged from 0 to 63, it should be > decremented by 1 every hop, if it is 0 or it is so after > decremented, the packet should be dropped and a packet-in > message is sent to main controller. > > Signed-off-by: Yi

[ovs-dev] [PATCH v7 4/4] nsh: add dec_nsh_ttl action

2018-01-05 Thread Yi Yang
NSH ttl is a 6-bit field ranged from 0 to 63, it should be decremented by 1 every hop, if it is 0 or it is so after decremented, the packet should be dropped and a packet-in message is sent to main controller. Signed-off-by: Yi Yang --- include/openvswitch/ofp-actions.h |