FD.io VPP  v19.01.3-6-g70449b9b9
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

◆ IP_DF

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

Definition at line 19 of file packets.h.

Function Documentation

◆ pkt_push_ecm_hdr()

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:

◆ pkt_push_ip()

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:

◆ pkt_push_udp_and_ip()

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: