#include <vppinfra/bitmap.h>
#include <vppinfra/fifo.h>
#include <vppinfra/time.h>
-#include <vppinfra/mheap.h>
#include <vppinfra/heap.h>
#include <vppinfra/pool.h>
#include <vppinfra/format.h>
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NODE_INDEX_REPLY,
({
- rmp->node_index = ntohl(node_index);
+ rmp->node_index = htonl(node_index);
}));
/* *INDENT-ON* */
}
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NEXT_INDEX_REPLY,
({
- rmp->next_index = ntohl(next_index);
+ rmp->next_index = htonl(next_index);
}));
/* *INDENT-ON* */
}
out:
/* *INDENT-OFF* */
- REPLY_MACRO2(VL_API_GET_NODE_INDEX_REPLY,
+ REPLY_MACRO2(VL_API_ADD_NODE_NEXT_REPLY,
({
- rmp->next_index = ntohl(next_index);
+ rmp->next_index = htonl(next_index);
}));
/* *INDENT-ON* */
}
svm_queue_t * q; \
\
/* One registration only... */ \
- pool_foreach(reg, vam->nn##_registrations, \
+ pool_foreach (reg, vam->nn##_registrations) \
({ \
q = vl_api_client_index_to_input_queue (reg->client_index); \
if (q) { \