FD.io VPP  v16.06
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

voidpkt_push_ip (vlib_main_t *vm, vlib_buffer_t *b, ip_address_t *src, ip_address_t *dst, u32 proto)
 
voidpkt_push_udp_and_ip (vlib_main_t *vm, vlib_buffer_t *b, u16 sp, u16 dp, ip_address_t *sip, ip_address_t *dip)
 
voidpkt_push_ecm_hdr (vlib_buffer_t *b)
 
always_inline u8vlib_buffer_get_tail (vlib_buffer_t *b)
 
always_inline voidvlib_buffer_put_uninit (vlib_buffer_t *b, u8 size)
 
always_inline voidvlib_buffer_push_uninit (vlib_buffer_t *b, u8 size)
 
always_inline voidvlib_buffer_make_headroom (vlib_buffer_t *b, u8 size)
 
always_inline voidvlib_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 245 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 198 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 222 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline u8* vlib_buffer_get_tail ( vlib_buffer_t b)

Definition at line 33 of file packets.h.

+ Here is the caller graph for this function:

always_inline void* vlib_buffer_make_headroom ( vlib_buffer_t b,
u8  size 
)

Definition at line 59 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline void* vlib_buffer_pull ( vlib_buffer_t b,
u8  size 
)

Definition at line 67 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline void* vlib_buffer_push_uninit ( vlib_buffer_t b,
u8  size 
)

Definition at line 48 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline void* vlib_buffer_put_uninit ( vlib_buffer_t b,
u8  size 
)

Definition at line 39 of file packets.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: