FD.io VPP  v18.07.1-13-g909ba93
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, u8 csum_offload)
 
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, u8 cksum_offload)
 
void * pkt_push_ecm_hdr (vlib_buffer_t *b)
 

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 206 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,
u8  csum_offload 
)

Definition at line 145 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,
u8  cksum_offload 
)

Definition at line 171 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: