summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-10-08 08:34:43 +0200
committerimarom <imarom@cisco.com>2015-10-08 08:34:43 +0200
commit74b648a86c16933680b03a736afe3f0305b4f6d2 (patch)
tree20e52865b0635f9221ccf0ced04836ef410952b2 /src/stateless
parentf47239654fb47d9de81fdb47fc9a16f3f205082f (diff)
some file renaming
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/cp/trex_stateless.cpp2
-rw-r--r--src/stateless/cp/trex_stateless.h (renamed from src/stateless/cp/trex_stateless_api.h)8
-rw-r--r--src/stateless/cp/trex_stateless_port.cpp2
-rw-r--r--src/stateless/cp/trex_stateless_port.h2
-rw-r--r--src/stateless/cp/trex_stream.cpp2
-rw-r--r--src/stateless/cp/trex_stream.h (renamed from src/stateless/cp/trex_stream_api.h)6
6 files changed, 11 insertions, 11 deletions
diff --git a/src/stateless/cp/trex_stateless.cpp b/src/stateless/cp/trex_stateless.cpp
index 0b7947a0..92f54bc4 100644
--- a/src/stateless/cp/trex_stateless.cpp
+++ b/src/stateless/cp/trex_stateless.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
using namespace std;
diff --git a/src/stateless/cp/trex_stateless_api.h b/src/stateless/cp/trex_stateless.h
index e2bf4e1c..74e88846 100644
--- a/src/stateless/cp/trex_stateless_api.h
+++ b/src/stateless/cp/trex_stateless.h
@@ -18,14 +18,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef __TREX_STATELESS_API_H__
-#define __TREX_STATELESS_API_H__
+#ifndef __TREX_STATELESS_H__
+#define __TREX_STATELESS_H__
#include <stdint.h>
#include <string>
#include <stdexcept>
-#include <trex_stream_api.h>
+#include <trex_stream.h>
/**
* generic exception for errors
@@ -138,5 +138,5 @@ protected:
TrexStatelessStats m_stats;
};
-#endif /* __TREX_STATELESS_API_H__ */
+#endif /* __TREX_STATELESS_H__ */
diff --git a/src/stateless/cp/trex_stateless_port.cpp b/src/stateless/cp/trex_stateless_port.cpp
index 7322ef8a..031efb58 100644
--- a/src/stateless/cp/trex_stateless_port.cpp
+++ b/src/stateless/cp/trex_stateless_port.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stateless_api.h>
+#include <trex_stateless.h>
#include <trex_stateless_port.h>
#include <string>
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h
index ea98ddae..a19fd981 100644
--- a/src/stateless/cp/trex_stateless_port.h
+++ b/src/stateless/cp/trex_stateless_port.h
@@ -21,7 +21,7 @@ limitations under the License.
#ifndef __TREX_STATELESS_PORT_H__
#define __TREX_STATELESS_PORT_H__
-#include <trex_stream_api.h>
+#include <trex_stream.h>
/**
* TRex stateless port stats
diff --git a/src/stateless/cp/trex_stream.cpp b/src/stateless/cp/trex_stream.cpp
index 8bf04748..182036f1 100644
--- a/src/stateless/cp/trex_stream.cpp
+++ b/src/stateless/cp/trex_stream.cpp
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <trex_stream_api.h>
+#include <trex_stream.h>
#include <cstddef>
/**************************************
diff --git a/src/stateless/cp/trex_stream_api.h b/src/stateless/cp/trex_stream.h
index d3c0fb29..f5bc96ef 100644
--- a/src/stateless/cp/trex_stream_api.h
+++ b/src/stateless/cp/trex_stream.h
@@ -18,8 +18,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
-#ifndef __TREX_STREAM_API_H__
-#define __TREX_STREAM_API_H__
+#ifndef __TREX_STREAM_H__
+#define __TREX_STREAM_H__
#include <unordered_map>
#include <vector>
@@ -205,5 +205,5 @@ private:
std::unordered_map<int, TrexStream *> m_stream_table;
};
-#endif /* __TREX_STREAM_API_H__ */
+#endif /* __TREX_STREAM_H__ */