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

2018-01-04 Thread Ben Pfaff
On Fri, Dec 08, 2017 at 10:04:25PM +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 v6 4/4] nsh: add dec_nsh_ttl action

2017-12-08 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 |