summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_syslog.h
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-03-11 12:49:46 +0100
committerFilip Varga <fivarga@cisco.com>2020-03-11 17:41:40 +0100
commitf2833e42c1e3721ce06b0f510447d8a6dd3e5eb4 (patch)
treeb1a6711d4958b9cca4a1ded5b4b94742225e1562 /src/plugins/nat/nat_syslog.h
parent92a6ac24f36dcc7e22682c0ce448cefc23d58e5e (diff)
nat: dslite plugin separation
Type: refactor Signed-off-by: Filip Varga <fivarga@cisco.com> Change-Id: I81546423200cc7f8a06b527dac8ead191a9e0519
Diffstat (limited to 'src/plugins/nat/nat_syslog.h')
-rw-r--r--src/plugins/nat/nat_syslog.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/plugins/nat/nat_syslog.h b/src/plugins/nat/nat_syslog.h
index 15a891fd0c0..755e344ee67 100644
--- a/src/plugins/nat/nat_syslog.h
+++ b/src/plugins/nat/nat_syslog.h
@@ -16,56 +16,54 @@
* @file
* @brief NAT syslog logging
*/
-
#ifndef __included_nat_syslog_h__
#define __included_nat_syslog_h__
-#include <nat/nat.h>
+#include <nat/lib/lib.h>
void nat_syslog_nat44_apmadd (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
u16 isport, ip4_address_t * xsaddr, u16 xsport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
void nat_syslog_nat44_apmdel (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
u16 isport, ip4_address_t * xsaddr, u16 xsport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
void
nat_syslog_dslite_apmadd (u32 ssubix, ip6_address_t * sv6enc,
ip4_address_t * isaddr, u16 isport,
ip4_address_t * xsaddr, u16 xsport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
void
nat_syslog_dslite_apmdel (u32 ssubix, ip6_address_t * sv6enc,
ip4_address_t * isaddr, u16 isport,
ip4_address_t * xsaddr, u16 xsport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
void nat_syslog_nat44_sadd (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
u16 isport, ip4_address_t * idaddr, u16 idport,
ip4_address_t * xsaddr, u16 xsport,
ip4_address_t * xdaddr, u16 xdport,
- snat_protocol_t proto, u8 is_twicenat);
+ nat_protocol_t proto, u8 is_twicenat);
void nat_syslog_nat44_sdel (u32 ssubix, u32 sfibix, ip4_address_t * isaddr,
u16 isport, ip4_address_t * idaddr, u16 idport,
ip4_address_t * xsaddr, u16 xsport,
ip4_address_t * xdaddr, u16 xdport,
- snat_protocol_t proto, u8 is_twicenat);
+ nat_protocol_t proto, u8 is_twicenat);
void nat_syslog_nat64_sadd (u32 sfibix, ip6_address_t * isaddr, u16 isport,
ip4_address_t * xsaddr, u16 xsport,
ip4_address_t * xdaddr, u16 xdport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
void nat_syslog_nat64_sdel (u32 sfibix, ip6_address_t * isaddr, u16 isport,
ip4_address_t * xsaddr, u16 xsport,
ip4_address_t * xdaddr, u16 xdport,
- snat_protocol_t proto);
+ nat_protocol_t proto);
#endif /* __included_nat_syslog_h__ */
-
/*
* fd.io coding-style-patch-verification: ON
*