FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
packets.h File Reference
+ Include dependency graph for packets.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IP_DF   0x4000 /* don't fragment */
 

Functions

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_udp_and_ip (vlib_main_t *vm, vlib_buffer_t *b, u16 sp, u16 dp, ip_address_t *sip, ip_address_t *dip)
 
void * pkt_push_ecm_hdr (vlib_buffer_t *b)
 
static u8vlib_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)
 
static void * vlib_buffer_make_headroom (vlib_buffer_t *b, u8 size)
 
static void * vlib_buffer_pull (vlib_buffer_t *b, u8 size)
 

Macro Definition Documentation

#define IP_DF   0x4000 /* don't fragment */

Definition at line 19 of file packets.h.

Function Documentation

void* pkt_push_ecm_hdr ( vlib_buffer_t b)

Definition at line 249 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* pkt_push_ip ( vlib_main_t vm,
vlib_buffer_t b,
ip_address_t *  src,
ip_address_t *  dst,
u32  proto 
)

Definition at line 200 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 
)

Definition at line 226 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* vlib_buffer_get_tail ( vlib_buffer_t b)
inlinestatic

Definition at line 30 of file packets.h.

+ Here is the caller graph for this function:

static void* vlib_buffer_make_headroom ( vlib_buffer_t b,
u8  size 
)
inlinestatic

Definition at line 56 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vlib_buffer_pull ( vlib_buffer_t b,
u8  size 
)
inlinestatic

Definition at line 64 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vlib_buffer_push_uninit ( vlib_buffer_t b,
u8  size 
)
inlinestatic

Definition at line 45 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vlib_buffer_put_uninit ( vlib_buffer_t b,
u8  size 
)
inlinestatic

Definition at line 36 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: