22 ip_address_t * dst,
u32 proto);
25 u16 dp, ip_address_t * sip, ip_address_t * dip);
static u8 * vlib_buffer_get_tail(vlib_buffer_t *b)
static void * vlib_buffer_put_uninit(vlib_buffer_t *b, u8 size)
static void * vlib_buffer_push_uninit(vlib_buffer_t *b, u8 size)
i16 current_data
signed offset in data[], pre_data[] that we are currently processing.
static void * vlib_buffer_get_current(vlib_buffer_t *b)
Get pointer to current data to process.
u16 current_length
Nbytes between current data and the end of this buffer.
static void * vlib_buffer_pull(vlib_buffer_t *b, u8 size)
static void * vlib_buffer_make_headroom(vlib_buffer_t *b, u8 size)
static void vlib_buffer_advance(vlib_buffer_t *b, word l)
Advance current data pointer by the supplied (signed!) amount.
void * pkt_push_ip(vlib_main_t *vm, vlib_buffer_t *b, ip_address_t *src, ip_address_t *dst, u32 proto)
void * pkt_push_ecm_hdr(vlib_buffer_t *b)
void * pkt_push_udp_and_ip(vlib_main_t *vm, vlib_buffer_t *b, u16 sp, u16 dp, ip_address_t *sip, ip_address_t *dip)