FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
packets.c File Reference
+ Include dependency graph for packets.c:

Go to the source code of this file.

Functions

u16 udp_ip4_checksum (const void *b, u32 len, u8 *src, u8 *dst)
 
u16 udp_ip6_checksum (ip6_header_t *ip6, udp_header_t *up, u32 len)
 
u16 udp_checksum (udp_header_t *uh, u32 udp_len, void *ih, u8 version)
 
void * pkt_push_udp (vlib_main_t *vm, vlib_buffer_t *b, u16 sp, u16 dp)
 
void * pkt_push_ipv4 (vlib_main_t *vm, vlib_buffer_t *b, ip4_address_t *src, ip4_address_t *dst, int proto)
 
void * pkt_push_ipv6 (vlib_main_t *vm, vlib_buffer_t *b, ip6_address_t *src, ip6_address_t *dst, int proto)
 
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)
 

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_ipv4 ( vlib_main_t vm,
vlib_buffer_t b,
ip4_address_t src,
ip4_address_t dst,
int  proto 
)

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_ipv6 ( vlib_main_t vm,
vlib_buffer_t b,
ip6_address_t src,
ip6_address_t dst,
int  proto 
)

Definition at line 171 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* pkt_push_udp ( vlib_main_t vm,
vlib_buffer_t b,
u16  sp,
u16  dp 
)

Definition at line 130 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:

u16 udp_checksum ( udp_header_t uh,
u32  udp_len,
void *  ih,
u8  version 
)

Definition at line 114 of file packets.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u16 udp_ip4_checksum ( const void *  b,
u32  len,
u8 src,
u8 dst 
)

Definition at line 30 of file packets.c.

+ Here is the caller graph for this function:

u16 udp_ip6_checksum ( ip6_header_t ip6,
udp_header_t up,
u32  len 
)

Definition at line 69 of file packets.c.

+ Here is the caller graph for this function: