26 return (
format (s,
"ip4"));
28 return (
format (s,
"ip6"));
30 return (
format (s,
"any"));
33 return (
format (s,
"unknown"));
41 i->
as_u32 = clib_net_to_host_u32 (t);
47 u64 tmp = clib_net_to_host_u64 (i->
as_u64[1]);
50 i->
as_u64[1] = clib_host_to_net_u64 (tmp);
54 tmp = clib_net_to_host_u64 (i->
as_u64[0]);
56 i->
as_u64[0] = clib_host_to_net_u64 (tmp);
void ip46_address_increment(ip46_type_t type, ip46_address_t *ip)
static u8 ip46_address_is_ip4(const ip46_address_t *ip46)
void ip6_address_increment(ip6_address_t *i)
vl_api_fib_path_type_t type
void ip4_address_increment(ip4_address_t *i)
u8 * format_ip46_type(u8 *s, va_list *args)