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_test.c
diff --git
a/src/plugins/snat/snat_test.c
b/src/plugins/nat/nat_test.c
similarity index 99%
rename from
src/plugins/snat/snat_test.c
rename to
src/plugins/nat/nat_test.c
index
905b8fa
..
b653b77
100644
(file)
--- a/
src/plugins/snat/snat_test.c
+++ b/
src/plugins/nat/nat_test.c
@@
-1,6
+1,6
@@
/*
/*
- *
snat.c - skeleton vpp-api-test plug-in
+ *
nat.c - skeleton vpp-api-test plug-in
*
* Copyright (c) <current-year> <your-organization>
* Licensed under the Apache License, Version 2.0 (the "License");
*
* Copyright (c) <current-year> <your-organization>
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-21,7
+21,7
@@
#include <vlibsocket/api.h>
#include <vppinfra/error.h>
#include <vnet/ip/ip.h>
#include <vlibsocket/api.h>
#include <vppinfra/error.h>
#include <vnet/ip/ip.h>
-#include <
snat/s
nat.h>
+#include <
nat/
nat.h>
#define __plugin_msg_base snat_test_main.msg_id_base
#include <vlibapi/vat_helper_macros.h>
#define __plugin_msg_base snat_test_main.msg_id_base
#include <vlibapi/vat_helper_macros.h>
@@
-29,28
+29,28
@@
uword unformat_sw_if_index (unformat_input_t * input, va_list * args);
/* Declare message IDs */
uword unformat_sw_if_index (unformat_input_t * input, va_list * args);
/* Declare message IDs */
-#include <
snat/s
nat_msg_enum.h>
+#include <
nat/
nat_msg_enum.h>
/* define message structures */
#define vl_typedefs
/* define message structures */
#define vl_typedefs
-#include <
snat/snat_all_api_h.h>
+#include <
nat/nat_all_api_h.h>
#undef vl_typedefs
/* declare message handlers for each api */
#define vl_endianfun /* define message structures */
#undef vl_typedefs
/* declare message handlers for each api */
#define vl_endianfun /* define message structures */
-#include <
snat/snat_all_api_h.h>
+#include <
nat/nat_all_api_h.h>
#undef vl_endianfun
/* instantiate all the print functions we know about */
#define vl_print(handle, ...)
#define vl_printfun
#undef vl_endianfun
/* instantiate all the print functions we know about */
#define vl_print(handle, ...)
#define vl_printfun
-#include <
snat/snat_all_api_h.h>
+#include <
nat/nat_all_api_h.h>
#undef vl_printfun
/* Get the API version number. */
#define vl_api_version(n,v) static u32 api_version=(v);
#undef vl_printfun
/* Get the API version number. */
#define vl_api_version(n,v) static u32 api_version=(v);
-#include <
snat/s
nat_all_api_h.h>
+#include <
nat/
nat_all_api_h.h>
#undef vl_api_version
typedef struct {
#undef vl_api_version
typedef struct {