Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
acl: revert acl: api cleanup
[vpp.git]
/
extras
/
vom
/
vom
/
interface.hpp
diff --git
a/extras/vom/vom/interface.hpp
b/extras/vom/vom/interface.hpp
index
100c3ca
..
a1098c1
100644
(file)
--- a/
extras/vom/vom/interface.hpp
+++ b/
extras/vom/vom/interface.hpp
@@
-25,7
+25,6
@@
#include "vom/route_domain.hpp"
#include "vom/rpc_cmd.hpp"
#include "vom/singular_db.hpp"
#include "vom/route_domain.hpp"
#include "vom/rpc_cmd.hpp"
#include "vom/singular_db.hpp"
-#include "vom/stat_client.hpp"
namespace VOM {
/**
namespace VOM {
/**
@@
-198,6
+197,7
@@
public:
counter_t m_tx_multicast;
counter_t m_rx_broadcast;
counter_t m_tx_broadcast;
counter_t m_tx_multicast;
counter_t m_rx_broadcast;
counter_t m_tx_broadcast;
+ counter_t m_drop;
};
/**
};
/**
@@
-264,8
+264,16
@@
public:
*/
const l2_address_t& l2_address() const;
*/
const l2_address_t& l2_address() const;
+ /**
+ * Return the admin state
+ */
+ const admin_state_t& admin_state() const;
+
/**
* Set the admin state of the interface
/**
* Set the admin state of the interface
+ *
+ * N.B. All set function change only the attibute of the object on whcih
+ * they act, they do not make changes in VPP
*/
void set(const admin_state_t& state);
*/
void set(const admin_state_t& state);
@@
-619,7
+627,7
@@
private:
/**
* Set the interface stat
*/
/**
* Set the interface stat
*/
- void set(co
unter_t
count, const std::string& stat_type);
+ void set(co
nst counter_t&
count, const std::string& stat_type);
/**
* enable the interface stats in the singular instance
/**
* enable the interface stats in the singular instance