FD.io VPP
v17.01-9-ge7dcee4
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | ip46_address_type(ip46) (ip46_address_is_ip4(ip46)?IP46_TYPE_IP4:IP46_TYPE_IP6) |
#define | ip46_prefix_is_ip4(ip46, len) ((len) >= 96 && ip46_address_is_ip4(ip46)) |
#define | ip46_prefix_type(ip46, len) (ip46_prefix_is_ip4(ip46, len)?IP46_TYPE_IP4:IP46_TYPE_IP6) |
#define | clib_u32_loop_gt(a, b) (((u32)(a)) - ((u32)(b)) < 0x7fffffff) |
32 bits integer comparison for running values. More... | |
Functions | |
void | ip46_prefix_normalize (ip46_address_t *prefix, u8 plen) |
uword | unformat_ip46_prefix (unformat_input_t *input, va_list *args) |
u8 * | format_ip46_prefix (u8 *s, va_list *args) |
#define ip46_address_type | ( | ip46 | ) | (ip46_address_is_ip4(ip46)?IP46_TYPE_IP4:IP46_TYPE_IP6) |
#define ip46_prefix_is_ip4 | ( | ip46, | |
len | |||
) | ((len) >= 96 && ip46_address_is_ip4(ip46)) |
#define ip46_prefix_type | ( | ip46, | |
len | |||
) | (ip46_prefix_is_ip4(ip46, len)?IP46_TYPE_IP4:IP46_TYPE_IP6) |
void ip46_prefix_normalize | ( | ip46_address_t * | prefix, |
u8 | plen | ||
) |
uword unformat_ip46_prefix | ( | unformat_input_t * | input, |
va_list * | args | ||
) |