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: convert remaining clib_warning to nat_log_*
[vpp.git]
/
src
/
plugins
/
nat
/
nat66.h
diff --git
a/src/plugins/nat/nat66.h
b/src/plugins/nat/nat66.h
index
d2ddd0c
..
52befd5
100644
(file)
--- a/
src/plugins/nat/nat66.h
+++ b/
src/plugins/nat/nat66.h
@@
-55,6
+55,9
@@
typedef struct
clib_bihash_24_8_t sm_e;
/** Session counters */
vlib_combined_counter_main_t session_counters;
clib_bihash_24_8_t sm_e;
/** Session counters */
vlib_combined_counter_main_t session_counters;
+
+ u32 outside_vrf_id;
+ u32 outside_fib_index;
} nat66_main_t;
extern nat66_main_t nat66_main;
} nat66_main_t;
extern nat66_main_t nat66_main;
@@
-75,9
+78,6
@@
int nat66_static_mapping_add_del (ip6_address_t * l_addr,
ip6_address_t * e_addr, u32 vrf_id,
u8 is_add);
ip6_address_t * e_addr, u32 vrf_id,
u8 is_add);
-#define u8_ptr_add(ptr, index) (((u8 *)ptr) + index)
-#define u16_net_add(u, val) clib_host_to_net_u16(clib_net_to_host_u16(u) + (val))
-
#endif /* __included_nat66_h__ */
/*
#endif /* __included_nat66_h__ */
/*