Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
nat: Replace port refcounts with simple bitvectors
[vpp.git]
/
src
/
plugins
/
nat
/
nat44-ei
/
nat44_ei.h
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei.h
b/src/plugins/nat/nat44-ei/nat44_ei.h
index
f353f48
..
c79cbfe
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei.h
+++ b/
src/plugins/nat/nat44-ei/nat44_ei.h
@@
-74,7
+74,7
@@
typedef struct
#define _(N, i, n, s) \
u32 busy_##n##_ports; \
u32 *busy_##n##_ports_per_thread; \
- u
32 busy_##n##_port_refcounts[0xffff + 1]
;
+ u
word *busy_##n##_port_bitmap
;
foreach_nat_protocol
#undef _
} nat44_ei_address_t;