23 l2_binding::event_handler::order()
const
48 std::shared_ptr<binding_cmds::l2_dump_cmd>
cmd =
49 std::make_shared<binding_cmds::l2_dump_cmd>();
54 for (
auto& record : *
cmd) {
55 auto& payload = record.get_payload();
60 for (
int ii = 0; ii < payload.count; ii++) {
61 std::shared_ptr<l2_list> acl =
l2_list::find(payload.acls[ii]);
78 l3_binding::event_handler::order()
const
100 std::shared_ptr<binding_cmds::l3_dump_cmd>
cmd =
101 std::make_shared<binding_cmds::l3_dump_cmd>();
106 for (
auto& record : *
cmd) {
107 auto& payload = record.get_payload();
110 uint8_t n_input = payload.n_input;
113 for (
int ii = 0; ii < payload.count; ii++) {
114 std::shared_ptr<l3_list> acl =
l3_list::find(payload.acls[ii]);
137 l3_binding::update(
const binding& obj)
141 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
148 l3_binding::sweep(
void)
152 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
159 l3_binding::replay(
void)
163 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
169 l2_binding::update(
const binding& obj)
173 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
180 l2_binding::sweep(
void)
184 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
191 l2_binding::replay(
void)
195 m_binding, m_direction, m_itf->handle(), m_acl->handle()));
202 const std::pair<direction_t, interface::key_t>&
key)
204 os <<
"[" <<
key.first.to_string() <<
" " <<
key.second <<
"]";