Go to the source code of this file.
|
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...
|
|
◆ ip6_compute_flow_hash()
◆ ip6_locate_header()
◆ 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.
◆ 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.