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
/
vpp-api
/
java
/
jvpp-nat
/
jvpp_nat.h
diff --git
a/src/vpp-api/java/jvpp-snat/jvpp_snat.h
b/src/vpp-api/java/jvpp-nat/jvpp_nat.h
similarity index 83%
rename from
src/vpp-api/java/jvpp-snat/jvpp_snat.h
rename to
src/vpp-api/java/jvpp-nat/jvpp_nat.h
index
7739a41
..
c8f6b68
100644
(file)
--- a/
src/vpp-api/java/jvpp-snat/jvpp_snat.h
+++ b/
src/vpp-api/java/jvpp-nat/jvpp_nat.h
@@
-12,8
+12,8
@@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef __included_jvpp_
s
nat_h__
-#define __included_jvpp_
s
nat_h__
+#ifndef __included_jvpp_nat_h__
+#define __included_jvpp_nat_h__
#include <vnet/vnet.h>
#include <vnet/ip/ip.h>
#include <vnet/vnet.h>
#include <vnet/ip/ip.h>
@@
-22,7
+22,7
@@
#include <vlibmemory/api.h>
#include <jni.h>
#include <vlibmemory/api.h>
#include <jni.h>
-/* Global state for JVPP-
S
NAT */
+/* Global state for JVPP-NAT */
typedef struct {
/* Pointer to shared memory queue */
unix_shared_memory_queue_t * vl_input_queue;
typedef struct {
/* Pointer to shared memory queue */
unix_shared_memory_queue_t * vl_input_queue;
@@
-34,9
+34,9
@@
typedef struct {
jobject callbackObject;
jclass callbackClass;
jobject callbackObject;
jclass callbackClass;
-}
s
nat_main_t;
+} nat_main_t;
-
snat_main_t s
nat_main __attribute__((aligned (64)));
+
nat_main_t
nat_main __attribute__((aligned (64)));
-#endif /* __included_jvpp_
s
nat_h__ */
+#endif /* __included_jvpp_nat_h__ */