Allow for logging of the VLAN data about a connection in conn.log

This commit is contained in:
Aaron Brown 2015-07-22 14:13:17 -04:00
parent d76c7a2657
commit f29dbb90a5
17 changed files with 298 additions and 217 deletions

View file

@ -181,6 +181,12 @@ public:
*/
uint32 vlan; ///
/**
* (Innermost) VLAN tag if any, else 0. Valid iff Layer2Valid()
* returns true.
*/
uint32 inner_vlan; ///
private:
// Calculate layer 2 attributes. Sets
void ProcessLayer2();