pthread_mutex_unlock (&am->vlib_rp->mutex);
mp->cmd_in_shmem = (u64) cmd;
- S;
+ S (mp);
timeout = vat_time_now (vam) + 10.0;
while (vat_time_now (vam) < timeout)
clib_memcpy (mp->cmd, vam->input->buffer, len);
mp->length = htonl (len);
- S;
+ S (mp);
W2 (print (vam->ofp, "%s", vam->cmd_reply));
}
if (mac_set)
clib_memcpy (mp->mac_address, mac_address, sizeof (mac_address));
- S;
+ S (mp);
W;
}
M (DELETE_LOOPBACK, mp);
mp->sw_if_index = ntohl (sw_if_index);
- S;
+ S (mp);
W;
}
M (WANT_STATS, mp);
mp->enable_disable = enable;
- S;
+ S (mp);
W;
}
vam->interface_event_display = enable;
- S;
+ S (mp);
W;
}
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "Ether", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and local / loopback interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "lo", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and packet-generator interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "pg", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and vxlan-gpe tunnel interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "vxlan_gpe",
sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and vxlan tunnel interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "vxlan", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and host (af_packet) interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "host", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and l2tpv3 tunnel interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "l2tpv3_tunnel",
sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and GRE tunnel interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "gre", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and LISP-GPE interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "lisp_gpe",
sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* and IPSEC tunnel interfaces */
M (SW_INTERFACE_DUMP, mp);
mp->name_filter_valid = 1;
strncpy ((char *) mp->name_filter, "ipsec", sizeof (mp->name_filter) - 1);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->link_up_down = link_up;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return the good/bad news... */
W;
mp->sw_if_index = ~0;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return the good/bad news... */
W;
mp->profile = ntohl (profile);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->tc_rate[3] = ntohl (tc_rate[3]);
mp->tc_period = ntohl (tc_period);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->tc = ntohl (tc);
mp->queue = ntohl (queue);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->address_length = address_length;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->enable = enable;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->vrf_id = ntohl (vrf_id);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->sw_if_index = htonl (sw_if_index);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
}
mp->enable = is_enable;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_ipv6 = is_ipv6;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->tx_sw_if_index = ntohl (tx_sw_if_index);
mp->enable = enable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->bvi = bvi;
mp->enable = enable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (BRIDGE_DOMAIN_DUMP, mp);
mp->bd_id = ntohl (bd_id);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
mp->is_add = is_add;
mp->mac_age = (u8) mac_age;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
increment_mac_address (&mac);
/* send it... */
- S;
+ S (mp);
}
if (count > 1)
vam->async_mode = 0;
M (CONTROL_PING, mp);
- S;
+ S (mp);
timeout = vat_time_now (vam) + 1.0;
while (vat_time_now (vam) < timeout)
mp->sw_if_index = ntohl (sw_if_index);
mp->feature_bitmap = ntohl (feature_bitmap);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->feature_bitmap = ntohl (flags);
mp->is_set = is_set;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
else
clib_memcpy (mp->ip_address, &v4addr, sizeof (v4addr));
clib_memcpy (mp->mac_address, macaddr, 6);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
vec_free (tag);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
vec_free (tap_name);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->sw_if_index = ntohl (sw_if_index);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
increment_v4_address (&v4_dst_address);
}
/* send it... */
- S;
+ S (mp);
/* If we receive SIGTERM, stop now... */
if (vam->do_exit)
break;
vam->async_mode = 0;
M (CONTROL_PING, mp);
- S;
+ S (mp);
timeout = vat_time_now (vam) + 1.0;
while (vat_time_now (vam) < timeout)
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
}
local_label++;
/* send it... */
- S;
+ S (mp);
/* If we receive SIGTERM, stop now... */
if (vam->do_exit)
break;
vam->async_mode = 0;
M (CONTROL_PING, mp);
- S;
+ S (mp);
timeout = vat_time_now (vam) + 1.0;
while (vat_time_now (vam) < timeout)
clib_memcpy (mp->mb_address, &v6_address, sizeof (v6_address));
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
clib_memcpy (mp->low_address, &lo, sizeof (mp->low_address));
clib_memcpy (mp->hi_address, &hi, sizeof (mp->hi_address));
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->enable_disable = enable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
&v6_next_hop_address, sizeof (v6_next_hop_address));
}
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->unnumbered_sw_if_index = ntohl (unnum_sw_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->vrf_id = ntohl (vrf_id);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->vlan_id = ntohl (vlan_id);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->outer_vlan_id = ntohs (outer_vlan_id);
mp->inner_vlan_id = ntohs (inner_vlan_id);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->src_address, &src, sizeof (mp->src_address));
clib_memcpy (mp->dst_address, &dst, sizeof (mp->dst_address));
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->vrf_id = ntohl (vrf_id);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->is_ipv6 = is_ipv6;
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->pid = getpid ();
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->vrf_id = ntohl (vrf_id);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->enable = enable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->address, &v6address, sizeof (v6address));
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->pref_lifetime = ntohl (pref_lifetime);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->default_router = default_router;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->arp_neighbor_limit = ntohl (arp_nbr_limit);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->tx_sw_if_index = ntohl (tx_sw_if_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->pot_enable = has_pot_option;
mp->trace_enable = has_trace_option;
- S;
+ S (mp);
W;
return (0);
f64 timeout;
M (IOAM_DISABLE, mp);
- S;
+ S (mp);
W;
return 0;
}
vec_free (segments);
vec_free (tags);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
vec_free (tunnel_names);
vec_free (tunnel_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
vec_free (policy_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
vec_free (mask);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
clib_memcpy (mp->match, match, vec_len (match));
vec_free (match);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
mp->table_index = ntohl (table_index);
mp->is_ipv6 = is_ipv6;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->other_table_index = ntohl (other_table_index);
mp->is_input = (u8) is_input;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->template_interval = htonl (template_interval);
mp->udp_checksum = udp_checksum;
- S;
+ S (mp);
W;
/* NOTREACHED */
}
mp->domain_id = htonl (domain_id);
mp->src_port = htons ((u16) src_port);
- S;
+ S (mp);
W;
/* NOTREACHED */
}
mp->ip_version = ip_version;
mp->transport_protocol = transport_protocol;
- S;
+ S (mp);
W;
/* NOTREACHED */
}
clib_memcpy (mp->node_name, name, vec_len (name));
vec_free (name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
vec_free (node_name);
vec_free (next_node_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
vec_free (name);
vec_free (next);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->l2_sublayer_present = l2_sublayer_present;
mp->is_ipv6 = 1;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->new_local_cookie = clib_host_to_net_u64 (new_local_cookie);
mp->new_remote_cookie = clib_host_to_net_u64 (new_remote_cookie);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->enable_disable = enable_disable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->key = key;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
/* Get list of l2tpv3-tunnel interfaces */
M (SW_IF_L2TPV3_TUNNEL_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
print (vam->ofp, "\n%-16s %s", "dev_name", "sw_if_index");
/* Get list of tap interfaces */
M (SW_INTERFACE_TAP_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->is_add = is_add;
mp->is_ipv6 = ipv6_set;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = htonl (sw_if_index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->is_add = is_add;
mp->teb = teb;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = htonl (sw_if_index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (L2_FIB_CLEAR_TABLE, mp);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->enable_disable = enable;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->tag1 = ntohl (tag1);
mp->tag2 = ntohl (tag2);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
strncpy ((char *) mp->tag, (char *) tag, ARRAY_LEN (mp->tag) - 1);
vec_free (tag);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->custom_dev_instance = ntohl (custom_dev_instance);
}
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
/* Get list of vhost-user interfaces */
M (SW_INTERFACE_VHOST_USER_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (SHOW_VERSION, mp);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->is_add = is_add;
mp->is_ipv6 = ipv6_set;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = htonl (sw_if_index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (L2_FIB_TABLE_DUMP, mp);
mp->bd_id = ntohl (bd_id);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->sw_if_index = ntohl (sw_if_index);
mp->new_show_dev_instance = ntohl (new_show_dev_instance);
- S;
+ S (mp);
W;
}
mp->pid = getpid ();
mp->address = address.as_u32;
- S;
+ S (mp);
W;
}
mp->pid = getpid ();
clib_memcpy (mp->address, &address, sizeof (ip6_address_t));
- S;
+ S (mp);
W;
}
mp->l2_table_index = ntohl (l2_table_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (IP_ADDRESS_DUMP, mp);
mp->sw_if_index = ntohl (sw_if_index);
mp->is_ipv6 = ipv6_set;
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (IP_DUMP, mp);
mp->is_ipv6 = ipv6_set;
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->spd_id = ntohl (spd_id);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = ntohl (sw_if_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sa_id = ntohl (sa_id);
mp->is_add = is_add;
mp->is_ip_any = is_ip_any;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
}
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
if (ik)
clib_memcpy (mp->integrity_key, ik, mp->integrity_key_length);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->is_add = is_add;
vec_free (name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
vec_free (name);
vec_free (data);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
vec_free (name);
vec_free (data);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->name, name, vec_len (name));
vec_free (name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->key_file, file, vec_len (file));
vec_free (file);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->mtu = htons (mtu);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->index = ntohl (index);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
mp->psid = ntohs (psid);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply, return good/bad news */
W;
M (MAP_DOMAIN_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->domain_index = htonl (domain_index);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (GET_FIRST_MSG_ID, mp);
clib_memcpy (mp->name, name, vec_len (name));
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->enable_disable = enable_disable;
/* send it... */
- S;
+ S (mp);
/* Wait for the reply */
W;
}
mp->default_cop = default_cop;
/* send it... */
- S;
+ S (mp);
/* Wait for the reply */
W;
}
M (GET_NODE_GRAPH, mp);
/* send it... */
- S;
+ S (mp);
/* Wait for the reply */
W;
}
vec_free (locators);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
vec_free (locator_set_name);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
vec_free (key);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
vec_free (rmt_locs);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_en = is_en;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_enabled = is_en;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_enabled = is_en;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_en = is_en;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
M (SHOW_LISP_MAP_REGISTER_STATE, mp);
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
M (SHOW_LISP_RLOC_PROBE_STATE, mp);
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
M (SHOW_LISP_MAP_REQUEST_MODE, mp);
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
mp->mode = mode;
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
vec_free (ls_name);
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
M (SHOW_LISP_PITR, mp);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->is_l2 = bd_index_set;
/* send */
- S;
+ S (mp);
/* wait for reply */
W;
vec_free (rlocs);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
}
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->vni = vni;
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
vec_free (locator_set_name);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
}
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
mp->filter = filter;
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
mp->is_l2 = is_l2;
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
M (LISP_EID_TABLE_VNI_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
}
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
mp->vni = clib_host_to_net_u32 (vni);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->vni = clib_host_to_net_u32 (vni);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
M (LISP_MAP_SERVER_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
M (LISP_MAP_RESOLVER_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
M (SHOW_LISP_STATUS, mp);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
M (LISP_GPE_FWD_ENTRY_PATH_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
M (LISP_GET_MAP_REQUEST_ITR_RLOCS, mp);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
mp->use_random_hw_addr = random_hw_addr;
vec_free (host_if_name);
- S;
+ S (mp);
W2 (fprintf (vam->ofp, " new sw_if_index = %d ", vam->sw_if_index));
/* NOTREACHED */
return 0;
clib_memcpy (mp->host_if_name, host_if_name, vec_len (host_if_name));
vec_free (host_if_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->violate_dscp = violate_action.dscp;
mp->color_aware = color_aware;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->match_name, match_name, vec_len (match_name));
vec_free (match_name);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
mp->l2_table_index = ntohl (l2_table_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (POLICER_CLASSIFY_DUMP, mp);
mp->type = type;
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
mp->is_master = is_master;
vec_free (if_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
clib_memcpy (mp->netmap_if_name, if_name, vec_len (if_name));
vec_free (if_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (MPLS_TUNNEL_DUMP, mp);
mp->tunnel_index = htonl (index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
f64 timeout;
M (MPLS_FIB_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
f64 timeout;
M (IP_FIB_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (IP_NEIGHBOR_DUMP, mp);
mp->is_ipv6 = (u8) is_ipv6;
mp->sw_if_index = ntohl (sw_if_index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
f64 timeout;
M (IP6_FIB_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (CLASSIFY_TABLE_IDS, mp);
mp->context = 0;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->context = 0;
mp->sw_if_index = ntohl (sw_if_index);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->context = 0;
mp->table_id = ntohl (table_id);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (CLASSIFY_SESSION_DUMP, mp);
mp->context = 0;
mp->table_id = ntohl (table_id);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
/* NOTREACHED */
M (IPFIX_EXPORTER_DUMP, mp);
mp->context = 0;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (IPFIX_CLASSIFY_STREAM_DUMP, mp);
mp->context = 0;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (IPFIX_CLASSIFY_TABLE_DUMP, mp);
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->sw_if_index_to = htonl (dst_sw_if_index);
mp->state = state;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
f64 timeout;
M (SW_INTERFACE_SPAN_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->context = 0;
mp->interface_id = ntohl (if_id);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
vec_free (pcap_file);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
}
vec_free (stream_name);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->vrf_id = ntohl (vrf_id);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->udp_in_vrf_id = ntohl (udp_in_vrf_id);
/* send it... */
- S;
+ S (mp);
/* Wait for a reply... */
W;
clib_memcpy (mp->dst_address, &dst_address, sizeof (dst_address));
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->l4_protocol = (u8) protocol;
mp->l4_port = htons ((u16) port);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->sw_if_index = htonl (sw_if_index);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
M (DELETE_SUBIF, mp);
mp->sw_if_index = ntohl (sw_if_index);
- S;
+ S (mp);
W;
}
mp->b_vlanid = ntohs (vlanid);
mp->i_sid = ntohl (sid);
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
mp->ip6_table_index = ntohl (ip6_table_index);
mp->is_add = is_add;
- S;
+ S (mp);
W;
/* NOTREACHED */
return 0;
M (FLOW_CLASSIFY_DUMP, mp);
mp->type = type;
/* send it... */
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
/* Wait for a reply... */
W;
vec_free (arc_name);
vec_free (feature_name);
- S;
+ S (mp);
W;
}
strncpy ((char *) mp->tag, (char *) tag, ARRAY_LEN (mp->tag) - 1);
vec_free (tag);
- S;
+ S (mp);
W;
}
M (L2_XCONNECT_DUMP, mp);
- S;
+ S (mp);
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;
M (CONTROL_PING, mp);
- S;
+ S (mp);
}
W;
}
mp->sw_if_index = ntohl (sw_if_index);
mp->mtu = ntohs ((u16) mtu);
- S;
+ S (mp);
W;
}