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: Makefile: Fix the execution time initialization order
[vpp.git]
/
src
/
vpp-api
/
vom
/
acl_l2_rule.hpp
diff --git
a/src/vpp-api/vom/acl_l2_rule.hpp
b/src/vpp-api/vom/acl_l2_rule.hpp
index
cc86917
..
4faa628
100644
(file)
--- a/
src/vpp-api/vom/acl_l2_rule.hpp
+++ b/
src/vpp-api/vom/acl_l2_rule.hpp
@@
-19,8
+19,6
@@
#include "vom/acl_types.hpp"
#include "vom/prefix.hpp"
#include "vom/acl_types.hpp"
#include "vom/prefix.hpp"
-#include <vapi/acl.api.vapi.hpp>
-
namespace VOM {
namespace ACL {
/**
namespace VOM {
namespace ACL {
/**
@@
-68,9
+66,13
@@
public:
bool operator==(const l2_rule& rule) const;
/**
bool operator==(const l2_rule& rule) const;
/**
- *
Convert to VPP API fromat
+ *
Getters
*/
*/
- void to_vpp(vapi_type_macip_acl_rule& rule) const;
+ uint32_t priority() const;
+ action_t action() const;
+ const route::prefix_t& src_ip() const;
+ const mac_address_t& mac() const;
+ const mac_address_t& mac_mask() const;
private:
/**
private:
/**