FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
union | ip4_address_t |
struct | ip4_address_fib_t |
struct | ip4_address_pair_t |
union | ip4_header_t |
Macros | |
#define | IP4_HEADER_FLAG_MORE_FRAGMENTS (1 << 13) |
#define | IP4_HEADER_FLAG_DONT_FRAGMENT (1 << 14) |
#define | IP4_HEADER_FLAG_CONGESTION (1 << 15) |
#define | IP4_VERSION_AND_HEADER_LENGTH_NO_OPTIONS ((4 << 4) | (sizeof (ip4_header_t) / sizeof (u32))) |
#define | ip4_partial_header_checksum_x1(ip0, sum0) |
#define | ip4_partial_header_checksum_x2(ip0, ip1, sum0, sum1) |
#define IP4_HEADER_FLAG_CONGESTION (1 << 15) |
Definition at line 124 of file ip4_packet.h.
#define IP4_HEADER_FLAG_DONT_FRAGMENT (1 << 14) |
Definition at line 123 of file ip4_packet.h.
#define IP4_HEADER_FLAG_MORE_FRAGMENTS (1 << 13) |
Definition at line 122 of file ip4_packet.h.
#define ip4_partial_header_checksum_x1 | ( | ip0, | |
sum0 | |||
) |
Definition at line 218 of file ip4_packet.h.
#define ip4_partial_header_checksum_x2 | ( | ip0, | |
ip1, | |||
sum0, | |||
sum1 | |||
) |
Definition at line 236 of file ip4_packet.h.
#define IP4_VERSION_AND_HEADER_LENGTH_NO_OPTIONS ((4 << 4) | (sizeof (ip4_header_t) / sizeof (u32))) |
Definition at line 158 of file ip4_packet.h.
always_inline void ip4_addr_fib_init | ( | ip4_address_fib_t * | addr_fib, |
ip4_address_t * | address, | ||
u32 | fib_index | ||
) |
always_inline uword ip4_address_is_multicast | ( | ip4_address_t * | a | ) |
always_inline uword ip4_address_netmask_length | ( | ip4_address_t * | a | ) |
Definition at line 78 of file ip4_packet.h.
always_inline int ip4_get_fragment_more | ( | ip4_header_t * | i | ) |
always_inline int ip4_get_fragment_offset | ( | ip4_header_t * | i | ) |
always_inline int ip4_get_fragment_offset_bytes | ( | ip4_header_t * | i | ) |
always_inline int ip4_header_bytes | ( | ip4_header_t * | i | ) |
always_inline u16 ip4_header_checksum | ( | ip4_header_t * | i | ) |
Definition at line 194 of file ip4_packet.h.
|
inlinestatic |
always_inline int ip4_is_first_fragment | ( | ip4_header_t * | i | ) |
always_inline int ip4_is_fragment | ( | ip4_header_t * | i | ) |
always_inline void ip4_multicast_address_set_for_group | ( | ip4_address_t * | a, |
ip_multicast_group_t | g | ||
) |
Definition at line 267 of file ip4_packet.h.
always_inline void* ip4_next_header | ( | ip4_header_t * | i | ) |
Definition at line 190 of file ip4_packet.h.
always_inline void ip4_tcp_reply_x1 | ( | ip4_header_t * | ip0, |
tcp_header_t * | tcp0 | ||
) |
Definition at line 274 of file ip4_packet.h.
always_inline void ip4_tcp_reply_x2 | ( | ip4_header_t * | ip0, |
ip4_header_t * | ip1, | ||
tcp_header_t * | tcp0, | ||
tcp_header_t * | tcp1 | ||
) |
Definition at line 290 of file ip4_packet.h.