53 uword n_left = n_buffers;
57 if (pif->pcap_file_name != 0)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static void pcap_add_buffer(pcap_main_t *pm, vlib_main_t *vm, u32 buffer_index, u32 n_bytes_in_trace)
Add buffer (vlib_buffer_t) to the trace.
clib_error_t * pcap_write(pcap_main_t *pm)
Write PCAP file.
static void * vlib_frame_args(vlib_frame_t *f)
Get pointer to frame scalar data.
uword pg_output(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
#define ETHERNET_MAX_PACKET_BYTES
void vlib_buffer_free_no_next(vlib_main_t *vm, u32 *buffers, u32 n_buffers)
Free buffers, does not free the buffer chain for each buffer.
uword runtime_data[(128-1 *sizeof(vlib_node_function_t *)-1 *sizeof(vlib_error_t *)-11 *sizeof(u32)-5 *sizeof(u16))/sizeof(uword)]
pg_interface_t * interfaces