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: Rename snat plugin to nat (VPP-955)
[vpp.git]
/
src
/
plugins
/
nat
/
nat_ipfix_logging.c
diff --git
a/src/plugins/snat/snat_ipfix_logging.c
b/src/plugins/nat/nat_ipfix_logging.c
similarity index 98%
rename from
src/plugins/snat/snat_ipfix_logging.c
rename to
src/plugins/nat/nat_ipfix_logging.c
index
c68dc54
..
0cc0f82
100644
(file)
--- a/
src/plugins/snat/snat_ipfix_logging.c
+++ b/
src/plugins/nat/nat_ipfix_logging.c
@@
-1,5
+1,5
@@
/*
/*
- *
s
nat_ipfix_logging.c - NAT Events IPFIX logging
+ * nat_ipfix_logging.c - NAT Events IPFIX logging
*
* Copyright (c) 2016 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
*
* Copyright (c) 2016 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-17,8
+17,8
@@
#include <vnet/flow/flow_report.h>
#include <vlibmemory/api.h>
#include <vnet/flow/flow_report.h>
#include <vlibmemory/api.h>
-#include <
snat/s
nat.h>
-#include <
snat/s
nat_ipfix_logging.h>
+#include <
nat/
nat.h>
+#include <
nat/
nat_ipfix_logging.h>
snat_ipfix_logging_main_t snat_ipfix_logging_main;
snat_ipfix_logging_main_t snat_ipfix_logging_main;
@@
-610,7
+610,7
@@
snat_ipfix_logging_nat44_ses_rpc_cb (snat_ipfix_logging_nat44_ses_args_t *a)
*
* @param src_ip source IPv4 address
* @param nat_src_ip transaltes source IPv4 address
*
* @param src_ip source IPv4 address
* @param nat_src_ip transaltes source IPv4 address
- * @param snat_proto
S
NAT transport protocol
+ * @param snat_proto NAT transport protocol
* @param src_port source port
* @param nat_src_port translated source port
* @param vrf_id VRF ID
* @param src_port source port
* @param nat_src_port translated source port
* @param vrf_id VRF ID
@@
-642,7
+642,7
@@
snat_ipfix_logging_nat44_ses_create (u32 src_ip,
*
* @param src_ip source IPv4 address
* @param nat_src_ip transaltes source IPv4 address
*
* @param src_ip source IPv4 address
* @param nat_src_ip transaltes source IPv4 address
- * @param snat_proto
S
NAT transport protocol
+ * @param snat_proto NAT transport protocol
* @param src_port source port
* @param nat_src_port translated source port
* @param vrf_id VRF ID
* @param src_port source port
* @param nat_src_port translated source port
* @param vrf_id VRF ID
@@
-751,7
+751,7
@@
snat_data_callback_max_entries_per_usr (flow_report_main_t * frm,
}
/**
}
/**
- * @brief Enable/disable
SNAT
IPFIX logging
+ * @brief Enable/disable
NAT plugin
IPFIX logging
*
* @param enable 1 if enable, 0 if disable
* @param domain_id observation domain ID
*
* @param enable 1 if enable, 0 if disable
* @param domain_id observation domain ID
@@
-818,7
+818,7
@@
snat_ipfix_logging_enable_disable (int enable, u32 domain_id, u16 src_port)
}
/**
}
/**
- * @brief Initialize
SNAT
IPFIX logging
+ * @brief Initialize
NAT plugin
IPFIX logging
*
* @param vm vlib main
*/
*
* @param vm vlib main
*/