aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/nat/nat64.h3
-rw-r--r--src/plugins/nat/nat66.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/nat/nat64.h b/src/plugins/nat/nat64.h
index e2334a5ac6f..addba7a3704 100644
--- a/src/plugins/nat/nat64.h
+++ b/src/plugins/nat/nat64.h
@@ -377,9 +377,6 @@ u32 nat64_get_worker_in2out (ip6_address_t * addr);
*/
u32 nat64_get_worker_out2in (ip4_header_t * ip);
-#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_nat64_h__ */
/*
diff --git a/src/plugins/nat/nat66.h b/src/plugins/nat/nat66.h
index d2ddd0c70e1..ac5557fc491 100644
--- a/src/plugins/nat/nat66.h
+++ b/src/plugins/nat/nat66.h
@@ -75,9 +75,6 @@ int nat66_static_mapping_add_del (ip6_address_t * l_addr,
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__ */
/*