ovn-sb: Document "ip.ttl--;" action.
authorBen Pfaff <blp@nicira.com>
Sat, 17 Oct 2015 03:03:58 +0000 (20:03 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 17 Oct 2015 03:10:25 +0000 (20:10 -0700)
This was implemented by commits a while back, but the documentation was
accidentally omitted.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ovn/ovn-sb.xml

index 5e9604b..3b9fb0b 100644 (file)
           </p>
         </dd>
 
+        <dt><code>ip.ttl--;</code></dt>
+        <dd>
+          <p>
+            Decrements the IPv4 or IPv6 TTL.  If this would make the TTL zero
+            or negative, then processing of the packet halts; no further
+            actions are processed.  (To properly handle such cases, a
+            higher-priority flow should match on <code>ip.ttl &lt; 2</code>.)
+          </p>
+
+          <p><b>Prerequisite:</b> <code>ip</code></p>
+        </dd>
+
         <dt><code>ct_next;</code></dt>
         <dd>
           <p>
       <dl>
         <dt><code>learn</code></dt>
 
-        <dt><code>dec_ttl { <var>action</var>, </code>...<code> } { <var>action</var>; </code>...<code>};</code></dt>
-        <dd>
-          decrement TTL; execute first set of actions if
-          successful, second set if TTL decrement fails
-        </dd>
-
         <dt><code>icmp_reply { <var>action</var>, </code>...<code> };</code></dt>
         <dd>generate ICMP reply from packet, execute <var>action</var>s</dd>