Go to the source code of this file.
|
#define | IP_DF 0x4000 /* don't fragment */ |
|
|
static u32 | ip4_compute_flow_hash (const ip4_header_t *ip, flow_hash_config_t flow_hash_config) |
|
static void * | vlib_buffer_push_ip4_custom (vlib_main_t *vm, vlib_buffer_t *b, ip4_address_t *src, ip4_address_t *dst, int proto, u8 csum_offload, u8 is_df) |
|
static void * | vlib_buffer_push_ip4 (vlib_main_t *vm, vlib_buffer_t *b, ip4_address_t *src, ip4_address_t *dst, int proto, u8 csum_offload) |
| Push IPv4 header to buffer. More...
|
|
◆ IP_DF
#define IP_DF 0x4000 /* don't fragment */ |
◆ ip4_compute_flow_hash()
◆ vlib_buffer_push_ip4()
Push IPv4 header to buffer.
This does not support fragmentation.
- 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 149 of file ip4_inlines.h.
◆ vlib_buffer_push_ip4_custom()