From 8a553e9afc412fb434f2352f27e75700ade88bd1 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 13 Jun 2013 18:10:00 -0700 Subject: [PATCH] ofproto-dpif-xlate: Hide MAX_RESUBMIT_RECURSION. Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif-xlate.c | 4 ++++ ofproto/ofproto-dpif-xlate.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index f506c283b..0a577b170 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -43,6 +43,10 @@ COVERAGE_DEFINE(ofproto_dpif_xlate); VLOG_DEFINE_THIS_MODULE(ofproto_dpif_xlate); +/* Maximum depth of flow table recursion (due to resubmit actions) in a + * flow translation. */ +#define MAX_RESUBMIT_RECURSION 64 + struct xlate_ctx { struct xlate_in *xin; struct xlate_out *xout; diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h index 461a6aa38..9ee9b330a 100644 --- a/ofproto/ofproto-dpif-xlate.h +++ b/ofproto/ofproto-dpif-xlate.h @@ -22,10 +22,6 @@ #include "ofproto-dpif.h" #include "tag.h" -/* Maximum depth of flow table recursion (due to resubmit actions) in a - * flow translation. */ -#define MAX_RESUBMIT_RECURSION 64 - struct xlate_out { /* Wildcards relevant in translation. Any fields that were used to * calculate the action must be set for caching and kernel -- 2.47.0