23 ip_address_t *dst,
u32 proto);
27 ip_address_t *sip, ip_address_t *dip);
always_inline void * vlib_buffer_get_current(vlib_buffer_t *b)
Get pointer to current data to process.
always_inline 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.
always_inline u8 * vlib_buffer_get_tail(vlib_buffer_t *b)
u16 current_length
Nbytes between current data and the end of this buffer.
always_inline void * vlib_buffer_put_uninit(vlib_buffer_t *b, u8 size)
void * pkt_push_ip(vlib_main_t *vm, vlib_buffer_t *b, ip_address_t *src, ip_address_t *dst, u32 proto)
always_inline void * vlib_buffer_make_headroom(vlib_buffer_t *b, u8 size)
always_inline void * vlib_buffer_pull(vlib_buffer_t *b, u8 size)
void * pkt_push_ecm_hdr(vlib_buffer_t *b)
always_inline void vlib_buffer_advance(vlib_buffer_t *b, word l)
Advance current data pointer by the supplied (signed!) amount.
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)