summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/acl_l2_rule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/acl_l2_rule.hpp')
-rw-r--r--src/vpp-api/vom/acl_l2_rule.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/vpp-api/vom/acl_l2_rule.hpp b/src/vpp-api/vom/acl_l2_rule.hpp
index cc869173011..4faa628ca11 100644
--- 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 <vapi/acl.api.vapi.hpp>
-
namespace VOM {
namespace ACL {
/**
@@ -68,9 +66,13 @@ public:
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:
/**