Go to the source code of this file.
|
uword | unformat_ip_address_family (unformat_input_t *input, va_list *args) |
|
u8 * | format_ip_address_family (u8 *s, va_list *args) |
|
int | ip_address_cmp (const ip_address_t *ip1, const ip_address_t *ip2) |
|
void | ip_address_copy (ip_address_t *dst, const ip_address_t *src) |
|
void | ip_address_copy_addr (void *dst, const ip_address_t *src) |
|
void | ip_address_set (ip_address_t *dst, const void *src, u8 version) |
|
u16 | ip_address_size (const ip_address_t *a) |
|
u16 | ip_version_to_size (u8 ver) |
|
u8 * | format_ip_address (u8 *s, va_list *args) |
|
uword | unformat_ip_address (unformat_input_t *input, va_list *args) |
|
void | ip_address_to_46 (const ip_address_t *addr, ip46_address_t *a, fib_protocol_t *proto) |
|
int | ip_prefix_cmp (ip_prefix_t *p1, ip_prefix_t *p2) |
|
void | ip_prefix_normalize (ip_prefix_t *a) |
|
void | ip_address_to_fib_prefix (const ip_address_t *addr, fib_prefix_t *prefix) |
| convert from a LISP address to a FIB prefix More...
|
|
void | ip_prefix_to_fib_prefix (const ip_prefix_t *ipp, fib_prefix_t *fibp) |
| convert from a LISP to a FIB prefix More...
|
|
u8 * | format_ip_prefix (u8 *s, va_list *args) |
|
uword | unformat_ip_prefix (unformat_input_t *input, va_list *args) |
|
◆ FOR_EACH_IP_ADDRESS_FAMILY
#define FOR_EACH_IP_ADDRESS_FAMILY |
( |
|
_af | ) |
for (_af = AF_IP4; _af <= AF_IP6; _af++) |
◆ ip_addr_addr
#define ip_addr_addr |
( |
|
_a | ) |
(_a)->ip |
◆ ip_addr_v4
#define ip_addr_v4 |
( |
|
_a | ) |
(_a)->ip.v4 |
◆ ip_addr_v6
#define ip_addr_v6 |
( |
|
_a | ) |
(_a)->ip.v6 |
◆ ip_addr_version
#define ip_addr_version |
( |
|
_a | ) |
(_a)->version |
◆ ip_prefix_addr
#define ip_prefix_addr |
( |
|
_a | ) |
(_a)->addr |
◆ ip_prefix_len
#define ip_prefix_len |
( |
|
_a | ) |
(_a)->len |
◆ ip_prefix_v4
◆ ip_prefix_v6
◆ ip_prefix_version
◆ u16_net_add
#define u16_net_add |
( |
|
u, |
|
|
|
val |
|
) |
| clib_host_to_net_u16(clib_net_to_host_u16(u) + (val)) |
◆ u8_ptr_add
#define u8_ptr_add |
( |
|
ptr, |
|
|
|
index |
|
) |
| (((u8 *)ptr) + index) |
◆ ip_address_family_t
◆ ip_address_t
◆ ip_prefix_t
◆ ip_address_family_t_
◆ format_ip_address()
u8* format_ip_address |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ip_address_family()
u8* format_ip_address_family |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 289 of file ip.c.
◆ format_ip_prefix()
u8* format_ip_prefix |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ip_address_cmp()
◆ ip_address_copy()
◆ ip_address_copy_addr()
void ip_address_copy_addr |
( |
void * |
dst, |
|
|
const ip_address_t * |
src |
|
) |
| |
◆ ip_address_set()
void ip_address_set |
( |
ip_address_t * |
dst, |
|
|
const void * |
src, |
|
|
u8 |
version |
|
) |
| |
◆ ip_address_size()
◆ ip_address_to_46()
◆ ip_address_to_fib_prefix()
convert from a LISP address to a FIB prefix
Definition at line 130 of file control.c.
◆ ip_prefix_cmp()
◆ ip_prefix_normalize()
◆ ip_prefix_to_fib_prefix()
convert from a LISP to a FIB prefix
Definition at line 152 of file control.c.
◆ ip_version_to_size()
u16 ip_version_to_size |
( |
u8 |
ver | ) |
|
◆ unformat_ip_address()
◆ unformat_ip_address_family()
◆ unformat_ip_prefix()