Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VOM: deprecate TAP add ip-punt redirect dump
[vpp.git]
/
extras
/
vom
/
vom
/
tap_interface.hpp
diff --git
a/extras/vom/vom/tap_interface.hpp
b/extras/vom/vom/tap_interface.hpp
index
3b0072d
..
a29ad35
100644
(file)
--- a/
extras/vom/vom/tap_interface.hpp
+++ b/
extras/vom/vom/tap_interface.hpp
@@
-26,14
+26,12
@@
class tap_interface : public interface
{
public:
tap_interface(const std::string& name,
{
public:
tap_interface(const std::string& name,
- type_t type,
- admin_state_t state,
- route::prefix_t prefix);
+ const admin_state_t& state,
+ const route::prefix_t& prefix);
tap_interface(const std::string& name,
tap_interface(const std::string& name,
- type_t type,
- admin_state_t state,
- route::prefix_t prefix,
+ const admin_state_t& state,
+ const route::prefix_t& prefix,
const l2_address_t& l2_address);
~tap_interface();
const l2_address_t& l2_address);
~tap_interface();
@@
-86,11
+84,6
@@
private:
*/
l2_address_t m_l2_address;
*/
l2_address_t m_l2_address;
- /**
- * interface is a friend so it can construct with handles
- */
- friend class interface;
-
/**
* Return the matching 'instance' of the sub-interface
* over-ride from the base class
/**
* Return the matching 'instance' of the sub-interface
* over-ride from the base class