Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cnat: flag to disable rsession
[vpp.git]
/
src
/
plugins
/
cnat
/
cnat_translation.c
diff --git
a/src/plugins/cnat/cnat_translation.c
b/src/plugins/cnat/cnat_translation.c
index
ee3dc78
..
4645c50
100644
(file)
--- a/
src/plugins/cnat/cnat_translation.c
+++ b/
src/plugins/cnat/cnat_translation.c
@@
-233,7
+233,7
@@
cnat_translation_stack (cnat_translation_t * ct)
dpo_set (&ct->ct_lb, DPO_LOAD_BALANCE, dproto, lbi);
dpo_stack (cnat_client_dpo, dproto, &ct->ct_lb, &ct->ct_lb);
dpo_set (&ct->ct_lb, DPO_LOAD_BALANCE, dproto, lbi);
dpo_stack (cnat_client_dpo, dproto, &ct->ct_lb, &ct->ct_lb);
- ct->flags |= CNAT_TR
ANSLATION
_STACKED;
+ ct->flags |= CNAT_TR
_FLAG
_STACKED;
}
int
}
int
@@
-315,7
+315,7
@@
cnat_translation_update (cnat_endpoint_t *vip, ip_protocol_t proto,
}
vec_reset_length (ct->ct_paths);
}
vec_reset_length (ct->ct_paths);
- ct->flags &= ~CNAT_TR
ANSLATION
_STACKED;
+ ct->flags &= ~CNAT_TR
_FLAG
_STACKED;
u64 path_idx = 0;
vec_foreach (path, paths)
u64 path_idx = 0;
vec_foreach (path, paths)
@@
-513,7
+513,7
@@
cnat_translation_back_walk_notify (fib_node_t * node,
/* If we have more than FIB_PATH_LIST_POPULAR paths
* we might get called during path tracking
* (cnat_tracker_track) */
/* If we have more than FIB_PATH_LIST_POPULAR paths
* we might get called during path tracking
* (cnat_tracker_track) */
- if (!(ct->flags & CNAT_TR
ANSLATION
_STACKED))
+ if (!(ct->flags & CNAT_TR
_FLAG
_STACKED))
return (FIB_NODE_BACK_WALK_CONTINUE);
cnat_translation_stack (ct);
return (FIB_NODE_BACK_WALK_CONTINUE);
cnat_translation_stack (ct);
@@
-662,11
+662,11
@@
cnat_if_addr_add_del_backend_cb (addr_resolution_t * ar,
ep->ce_flags |= CNAT_EP_FLAG_RESOLVED;
}
ep->ce_flags |= CNAT_EP_FLAG_RESOLVED;
}
- ct->flags &= ~CNAT_TR
ANSLATION
_STACKED;
+ ct->flags &= ~CNAT_TR
_FLAG
_STACKED;
cnat_tracker_track (ar->cti, trk);
cnat_translation_stack (ct);
cnat_tracker_track (ar->cti, trk);
cnat_translation_stack (ct);
- ct->flags |= CNAT_TR
ANSLATION
_STACKED;
+ ct->flags |= CNAT_TR
_FLAG
_STACKED;
}
static void
}
static void