21 prefix->as_u64[0] = 0;
22 prefix->as_u64[1] = 0;
23 }
else if (plen <= 64) {
24 prefix->as_u64[0] &= clib_host_to_net_u64(0xffffffffffffffffL << (64 - plen));
25 prefix->as_u64[1] = 0;
27 prefix->as_u64[1] &= clib_host_to_net_u64(0xffffffffffffffffL << (128 - plen));
34 ip46_address_t *ip46 = va_arg (*args, ip46_address_t *);
43 ip46->pad[0] = ip46->pad[1] = ip46->pad[2] = 0;
56 ip46_address_t *ip46 = va_arg (*args, ip46_address_t *);
u8 * format_ip46_prefix(u8 *s, va_list *args)
void ip46_prefix_normalize(ip46_address_t *prefix, u8 plen)
#define ip46_address_is_ip4(ip46)
uword unformat_ip46_prefix(unformat_input_t *input, va_list *args)