X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fjava%2Fjvpp-nat%2Fjvpp_nat.h;fp=src%2Fvpp-api%2Fjava%2Fjvpp-snat%2Fjvpp_snat.h;h=c8f6b683fea5432b56630ea4681acb18bc991c85;hb=2ba92e32e0197f676dd905e5edcb4ff3e1bec241;hp=7739a4114c16781df27f68ed304294c966eb7354;hpb=cfc997ef3da9f406afe5caad99fc98a53aab7a77;p=vpp.git 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 7739a4114c1..c8f6b683fea 100644 --- 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. */ -#ifndef __included_jvpp_snat_h__ -#define __included_jvpp_snat_h__ +#ifndef __included_jvpp_nat_h__ +#define __included_jvpp_nat_h__ #include #include @@ -22,7 +22,7 @@ #include #include -/* Global state for JVPP-SNAT */ +/* Global state for JVPP-NAT */ 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; -} snat_main_t; +} nat_main_t; -snat_main_t snat_main __attribute__((aligned (64))); +nat_main_t nat_main __attribute__((aligned (64))); -#endif /* __included_jvpp_snat_h__ */ +#endif /* __included_jvpp_nat_h__ */