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_det.h
diff --git
a/src/plugins/snat/snat_det.h
b/src/plugins/nat/nat_det.h
similarity index 96%
rename from
src/plugins/snat/snat_det.h
rename to
src/plugins/nat/nat_det.h
index
f4fdb25
..
2ab7f27
100644
(file)
--- a/
src/plugins/snat/snat_det.h
+++ b/
src/plugins/nat/nat_det.h
@@
-1,5
+1,5
@@
/*
/*
- * snat_det.h - deterministic
nat
definitions
+ * snat_det.h - deterministic
NAT
definitions
*
* Copyright (c) 2017 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
*
* Copyright (c) 2017 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-19,12
+19,12
@@
* @brief deterministic NAT definitions
*/
* @brief deterministic NAT definitions
*/
-#ifndef __included_
s
nat_det_h__
-#define __included_
s
nat_det_h__
+#ifndef __included_nat_det_h__
+#define __included_nat_det_h__
#include <vnet/ip/ip.h>
#include <vnet/ip/ip.h>
-#include <
snat/s
nat.h>
-#include <
snat/s
nat_ipfix_logging.h>
+#include <
nat/
nat.h>
+#include <
nat/
nat_ipfix_logging.h>
#define SNAT_DET_SES_PER_USER 1000
#define SNAT_DET_SES_PER_USER 1000
@@
-185,7
+185,7
@@
snat_det_ses_close (snat_det_map_t * dm, snat_det_session_t * ses)
}
}
}
}
-#endif /* __included_
s
nat_det_h__ */
+#endif /* __included_nat_det_h__ */
/*
* fd.io coding-style-patch-verification: ON
/*
* fd.io coding-style-patch-verification: ON