FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ip6_inlines.h File Reference
+ Include dependency graph for ip6_inlines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static u32 ip6_compute_flow_hash (const ip6_header_t *ip, flow_hash_config_t flow_hash_config)
 
static int ip6_locate_header (vlib_buffer_t *p0, ip6_header_t *ip0, int find_hdr_type, u32 *offset)
 
static void * vlib_buffer_push_ip6_custom (vlib_main_t *vm, vlib_buffer_t *b, ip6_address_t *src, ip6_address_t *dst, int proto, u32 flow_label)
 Push IPv6 header to buffer. More...
 
static void * vlib_buffer_push_ip6 (vlib_main_t *vm, vlib_buffer_t *b, ip6_address_t *src, ip6_address_t *dst, int proto)
 Push IPv6 header to buffer. More...
 

Function Documentation

◆ ip6_compute_flow_hash()

static u32 ip6_compute_flow_hash ( const ip6_header_t ip,
flow_hash_config_t  flow_hash_config 
)
inlinestatic

Definition at line 49 of file ip6_inlines.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_locate_header()

static int ip6_locate_header ( vlib_buffer_t p0,
ip6_header_t ip0,
int  find_hdr_type,
u32 offset 
)
inlinestatic

Definition at line 137 of file ip6_inlines.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_buffer_push_ip6()

static void* vlib_buffer_push_ip6 ( vlib_main_t vm,
vlib_buffer_t b,
ip6_address_t *  src,
ip6_address_t *  dst,
int  proto 
)
inlinestatic

Push IPv6 header to buffer.

Parameters
vm- vlib_main
b- buffer to write the header to
src- source IP
dst- destination IP
prot- payload proto
Returns
- pointer to start of IP header

Definition at line 255 of file ip6_inlines.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_buffer_push_ip6_custom()

static void* vlib_buffer_push_ip6_custom ( vlib_main_t vm,
vlib_buffer_t b,
ip6_address_t *  src,
ip6_address_t *  dst,
int  proto,
u32  flow_label 
)
inlinestatic

Push IPv6 header to buffer.

Parameters
vm- vlib_main
b- buffer to write the header to
src- source IP
dst- destination IP
prot- payload proto
flow_label- flow label
Returns
- pointer to start of IP header

Definition at line 212 of file ip6_inlines.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: