Searched refs:payload (Results 1 - 25 of 157) sorted by relevance

1234567

/vpp/extras/vom/vom/
H A Dinterface_ip6_nd_cmds.cpp27 auto& payload = req.get_request().get_payload(); local
28 payload.sw_if_index = m_itf.value();
29 m_cls.to_vpp(payload);
30 payload.is_no = 0;
43 auto& payload = req.get_request().get_payload(); local
44 payload.sw_if_index = m_itf.value();
45 m_cls.to_vpp(payload);
46 payload.is_no = 1;
62 auto& payload = req.get_request().get_payload(); local
63 payload
78 auto& payload = req.get_request().get_payload(); local
[all...]
H A Dtap_interface_cmds.cpp41 auto& payload = req.get_request().get_payload(); local
42 memset(payload.host_if_name, 0, sizeof(payload.host_if_name));
43 memcpy(payload.host_if_name,
45 std::min(m_name.length(), sizeof(payload.host_if_name)));
46 payload.host_if_name_set = 1;
50 m_prefix.to_vpp((uint8_t*)&payload.host_ip6_prefix_set,
51 payload.host_ip6_prefix.address,
52 &payload.host_ip6_prefix.len);
54 m_prefix.to_vpp((uint8_t*)&payload
102 auto& payload = req.get_request().get_payload(); local
[all...]
H A Dacl_list_cmds.cpp26 to_vpp(const l2_rule& rule, vapi_type_macip_acl_rule& payload) argument
28 payload.is_permit = (vapi_enum_acl_action)rule.action().value();
29 rule.src_ip().to_vpp((uint8_t*)&payload.src_prefix.address.af,
30 (uint8_t*)&payload.src_prefix.address.un,
31 &payload.src_prefix.len);
32 rule.mac().to_bytes(payload.src_mac, 6);
33 rule.mac_mask().to_bytes(payload.src_mac_mask, 6);
37 to_vpp(const l3_rule& rule, vapi_type_acl_rule& payload) argument
39 payload.is_permit = (vapi_enum_acl_action)rule.action().value();
40 payload
60 auto& payload = req.get_request().get_payload(); local
91 auto& payload = req.get_request().get_payload(); local
110 auto& payload = m_dump->get_request().get_payload(); local
127 auto& payload = req.get_request().get_payload(); local
158 auto& payload = req.get_request().get_payload(); local
177 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dl3_binding_cmds.cpp42 auto& payload = req.get_request().get_payload(); local
43 payload.sw_if_index = m_itf.value();
44 payload.is_add = 1;
45 payload.del_all = 0;
47 m_pfx.to_vpp((uint8_t*)&payload.prefix.address.af,
48 (uint8_t*)&payload.prefix.address,
49 (uint8_t*)&payload.prefix.len);
86 auto& payload = req.get_request().get_payload(); local
87 payload.sw_if_index = m_itf.value();
88 payload
134 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dl2_binding_cmds.cpp43 auto& payload = req.get_request().get_payload(); local
44 payload.rx_sw_if_index = m_itf.value();
45 payload.bd_id = m_bd;
46 payload.shg = 0;
48 payload.port_type = L2_API_PORT_TYPE_BVI;
50 payload.port_type = L2_API_PORT_TYPE_UU_FWD;
52 payload.port_type = L2_API_PORT_TYPE_NORMAL;
54 payload.enable = 1;
94 auto& payload = req.get_request().get_payload(); local
95 payload
[all...]
H A Dacl_binding_cmds.cpp29 auto& payload = req.get_request().get_payload(); local
30 payload.sw_if_index = m_itf.value();
31 payload.is_add = 1;
32 payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0);
33 payload.acl_index = m_acl.value();
57 auto& payload = req.get_request().get_payload(); local
58 payload.sw_if_index = m_itf.value();
59 payload.is_add = 0;
60 payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0);
61 payload
85 auto& payload = m_dump->get_request().get_payload(); local
108 auto& payload = req.get_request().get_payload(); local
135 auto& payload = req.get_request().get_payload(); local
162 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dvxlan_tunnel_cmds.cpp43 auto& payload = req.get_request().get_payload(); local
44 payload.is_add = 1;
46 (uint8_t*)&payload.src_address.af,
47 (uint8_t*)&payload.src_address.un);
49 (uint8_t*)&payload.dst_address.af,
50 (uint8_t*)&payload.dst_address.un);
51 payload.mcast_sw_if_index = m_mcast_itf.value();
52 payload.encap_vrf_id = 0;
53 payload.decap_next_index = ~0;
54 payload
94 auto payload = req.get_request().get_payload(); local
138 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dbridge_domain_cmds.cpp50 auto& payload = req.get_request().get_payload(); local
51 payload.bd_id = m_hw_item.data();
52 payload.flood = m_flood_mode.value();
53 payload.uu_flood = m_uu_flood_mode.value();
54 payload.forward = 1;
55 payload.learn = m_learning_mode.value();
56 payload.arp_term = m_arp_term_mode.value();
57 payload.arp_ufwd = m_arp_ufwd_mode.value();
58 payload.mac_age = m_mac_age_mode.value();
59 payload
91 auto& payload = req.get_request().get_payload(); local
127 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Ddhcp_client_cmds.cpp50 auto& payload = req.get_request().get_payload(); local
51 payload.is_add = 1;
52 payload.client.sw_if_index = m_itf.value();
53 payload.client.pid = getpid();
54 payload.client.want_dhcp_event = 1;
55 payload.client.set_broadcast_flag = m_set_broadcast_flag;
56 payload.client.dscp = to_api(m_dscp);
58 memset(payload.client.hostname, 0, sizeof(payload.client.hostname));
59 memcpy(payload
105 auto& payload = req.get_request().get_payload(); local
172 auto& payload = msg.get_payload(); local
[all...]
H A Digmp_binding_cmds.cpp38 auto& payload = req.get_request().get_payload(); local
39 payload.sw_if_index = m_itf.value();
40 payload.enable = 1;
41 payload.mode = 1;
74 auto& payload = req.get_request().get_payload(); local
75 payload.sw_if_index = m_itf.value();
76 payload.enable = 0;
77 payload.mode = 1;
H A Dbridge_domain_entry_cmds.cpp45 auto& payload = req.get_request().get_payload(); local
46 payload.bd_id = m_bd;
47 payload.is_add = 1;
48 m_mac.to_bytes(payload.mac, 6);
49 payload.sw_if_index = m_tx_itf.value();
50 payload.bvi_mac = m_is_bvi;
91 auto& payload = req.get_request().get_payload(); local
92 payload.bd_id = m_bd;
93 payload.is_add = 0;
94 m_mac.to_bytes(payload
131 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dl2_vtr_cmds.cpp43 auto& payload = req.get_request().get_payload(); local
44 payload.sw_if_index = m_itf.value();
45 payload.vtr_op = m_hw_item.data().value();
46 payload.push_dot1q = 1;
47 payload.tag1 = m_tag;
H A Dlldp_global_cmds.cpp41 auto& payload = req.get_request().get_payload(); local
42 payload.tx_hold = m_tx_hold;
43 payload.tx_interval = m_tx_interval;
46 payload.system_name.buf, m_system_name.c_str(), m_system_name.length());
47 payload.system_name.length = m_system_name.length();
H A Dvxlan_gbp_tunnel_cmds.cpp47 auto& payload = req.get_request().get_payload(); local
49 payload.is_add = 1;
51 to_api(m_ep.src, payload.tunnel.src);
52 to_api(m_ep.dst, payload.tunnel.dst);
53 payload.tunnel.mcast_sw_if_index = m_mcast_itf.value();
54 payload.tunnel.encap_table_id = 0;
55 payload.tunnel.vni = m_ep.vni;
56 payload.tunnel.instance = ~0;
57 payload.tunnel.mode =
99 auto payload local
142 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dnat_static_cmds.cpp46 auto& payload = req.get_request().get_payload(); local
47 payload.is_add = 1;
48 payload.flags = NAT_IS_ADDR_ONLY;
49 payload.local_port = 0;
50 payload.external_port = 0;
51 payload.vrf_id = m_id;
52 payload.external_sw_if_index = ~0;
53 to_bytes(m_inside, payload.local_ip_address);
54 to_bytes(m_outside, payload.external_ip_address);
94 auto& payload local
169 auto& payload = req.get_request().get_payload(); local
213 auto& payload = req.get_request().get_payload(); local
[all...]
H A Dgbp_recirc_cmds.cpp44 auto& payload = req.get_request().get_payload(); local
45 payload.is_add = 1;
46 payload.recirc.sw_if_index = m_itf.value();
47 payload.recirc.sclass = m_sclass;
48 payload.recirc.is_ext = m_is_ext;
82 auto& payload = req.get_request().get_payload(); local
83 payload.is_add = 0;
84 payload.recirc.sw_if_index = m_itf.value();
85 payload.recirc.sclass = ~0;
H A Dbridge_domain_arp_entry_cmds.cpp45 auto& payload = req.get_request().get_payload(); local
46 payload.entry.bd_id = m_bd;
47 payload.is_add = 1;
48 to_api(m_mac, payload.entry.mac);
49 to_api(m_ip_addr, payload.entry.ip);
90 auto& payload = req.get_request().get_payload(); local
91 payload.entry.bd_id = m_bd;
92 payload.is_add = 0;
93 to_api(m_mac, payload.entry.mac);
94 to_api(m_ip_addr, payload
136 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dgbp_contract_cmds.cpp58 auto& payload = req.get_request().get_payload(); local
59 payload.is_add = 1;
60 payload.contract.acl_index = m_acl.value();
61 payload.contract.scope = m_scope;
62 payload.contract.sclass = m_sclass;
63 payload.contract.dclass = m_dclass;
64 payload.contract.n_rules = n_rules;
65 payload.contract.n_ether_types = m_allowed_ethertypes.size();
68 payload.contract.allowed_ethertypes[ii] = tt.value();
70 if (ii == ARRAY_LEN(payload
145 auto& payload = req.get_request().get_payload(); local
[all...]
H A Dinterface_span_cmds.cpp45 auto& payload = req.get_request().get_payload(); local
46 payload.is_l2 = 0;
47 payload.sw_if_index_from = m_itf_from.value();
48 payload.sw_if_index_to = m_itf_to.value();
49 payload.state = (vapi_enum_span_state)m_state.value();
86 auto& payload = req.get_request().get_payload(); local
87 payload.is_l2 = 0;
88 payload.sw_if_index_from = m_itf_from.value();
89 payload.sw_if_index_to = m_itf_to.value();
90 payload
124 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Droute_cmds.cpp49 auto& payload = req.get_request().get_payload(); local
51 payload.route.table_id = m_id;
52 payload.is_add = 1;
53 payload.is_multipath = 1;
55 payload.route.table_id = m_id;
56 payload.route.prefix = to_api(m_prefix);
60 to_api(p, payload.route.paths[ii++]);
99 auto& payload = req.get_request().get_payload(); local
100 payload.is_add = 0;
101 payload
143 auto& payload = m_dump->get_request().get_payload(); local
[all...]
H A Dacl_ethertype_cmds.cpp44 auto& payload = req.get_request().get_payload(); local
45 payload.sw_if_index = m_itf.value();
46 payload.count = m_le.size();
50 payload.whitelist[i] = it->getEthertype();
57 payload.n_input = n_input;
98 auto& payload = req.get_request().get_payload(); local
99 payload.sw_if_index = m_itf.value();
100 payload.count = 0;
102 payload.n_input = 0;
142 auto& payload local
[all...]
H A Dlldp_binding_cmds.cpp42 auto& payload = req.get_request().get_payload(); local
43 payload.sw_if_index = m_itf.value();
44 payload.enable = 1;
46 memcpy(payload.port_desc.buf, m_port_desc.c_str(), m_port_desc.length());
47 payload.port_desc.length = m_port_desc.length();
80 auto& payload = req.get_request().get_payload(); local
81 payload.sw_if_index = m_itf.value();
82 payload.enable = 0;
H A Dinterface_cmds.cpp38 auto& payload = req.get_request().get_payload(); local
40 payload.user_instance = ~0;
102 auto& payload = req.get_request().get_payload(); local
104 payload.use_random_hw_addr = 1;
105 memset(payload.host_if_name, 0, sizeof(payload.host_if_name));
106 memcpy(payload.host_if_name, m_name.c_str(),
107 std::min(m_name.length(), sizeof(payload.host_if_name)));
141 auto& payload = req.get_request().get_payload(); local
142 memset(payload
186 auto& payload = req.get_request().get_payload(); local
217 auto& payload = req.get_request().get_payload(); local
249 auto& payload = req.get_request().get_payload(); local
282 auto& payload = req.get_request().get_payload(); local
319 auto& payload = req.get_request().get_payload(); local
358 auto& payload = req.get_request().get_payload(); local
395 auto& payload = req.get_request().get_payload(); local
436 auto& payload = req.get_request().get_payload(); local
478 auto& payload = req.get_request().get_payload(); local
497 auto& payload = req.get_request().get_payload(); local
513 auto& payload = msg.get_payload(); local
556 auto& payload = m_dump->get_request().get_payload(); local
635 auto& payload = req.get_request().get_payload(); local
[all...]
H A Dl2_emulation_cmds.cpp39 auto& payload = req.get_request().get_payload(); local
40 payload.sw_if_index = m_itf.value();
41 payload.enable = 1;
75 auto& payload = req.get_request().get_payload(); local
76 payload.sw_if_index = m_itf.value();
77 payload.enable = 0;
H A Digmp_listen_cmds.cpp47 auto& payload = req.get_request().get_payload(); local
48 payload.group.sw_if_index = m_itf.value();
49 to_api(m_gaddr, payload.group.gaddr);
53 payload.group.filter = EXCLUDE;
54 payload.group.n_srcs = 0;
57 payload.group.filter = INCLUDE;
61 to_api(addr, payload.group.saddrs[i]);
64 payload.group.n_srcs = i;
107 auto& payload = req.get_request().get_payload(); local
108 payload
152 auto& payload = m_dump->get_request().get_payload(); local
[all...]

Completed in 13 milliseconds

1234567