summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-21 19:12:26 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-03-21 19:12:26 +0200
commitfa8792d5faeabbd212dd252670bcca8d5b6eb412 (patch)
tree1ea13642c068aec997893c56718d78522ff1ce01 /src/common
parent0f2781cfb1d17bbae2788dcb638146e04d09f3e0 (diff)
flow stat parsers refactor and adding tests
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/common')
-rwxr-xr-xsrc/common/Network/Packet/EthernetHeader.h5
-rwxr-xr-xsrc/common/Network/Packet/EthernetHeader.inl10
2 files changed, 0 insertions, 15 deletions
diff --git a/src/common/Network/Packet/EthernetHeader.h b/src/common/Network/Packet/EthernetHeader.h
index cf93e850..f5de1e06 100755
--- a/src/common/Network/Packet/EthernetHeader.h
+++ b/src/common/Network/Packet/EthernetHeader.h
@@ -82,11 +82,8 @@ public:
// Retrieve VLAN fields for tag and protocol information
inline uint16_t getVlanTag ();
inline uint16_t getVlanProtocol ();
- inline uint16_t getQinQTag ();
- inline uint16_t getQinQProtocol ();
void dump (FILE* fd);
-
public:
MacAddress myDestination;
MacAddress mySource;
@@ -94,8 +91,6 @@ private:
uint16_t myProtocol;
uint16_t myVlanTag;
uint16_t myVlanProtocol;
- uint16_t myQinQTag;
- uint16_t myQinQProtocol;
};
#include "EthernetHeader.inl"
diff --git a/src/common/Network/Packet/EthernetHeader.inl b/src/common/Network/Packet/EthernetHeader.inl
index 4091b945..0d6e32c9 100755
--- a/src/common/Network/Packet/EthernetHeader.inl
+++ b/src/common/Network/Packet/EthernetHeader.inl
@@ -37,13 +37,3 @@ inline uint16_t EthernetHeader::getVlanTag()
{
return( PKT_HTONS(myVlanTag));
}
-
-inline uint16_t EthernetHeader::getQinQProtocol()
-{
- return( PKT_HTONS(myQinQProtocol));
-}
-
-inline uint16_t EthernetHeader::getQinQTag()
-{
- return( PKT_HTONS(myQinQTag));
-}