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 *);
35 u8 *len = va_arg (*args,
u8 *);
43 ip46->pad[0] = ip46->pad[1] = ip46->pad[2] = 0;
56 ip46_address_t *ip46 = va_arg (*args, ip46_address_t *);
57 u32 len = va_arg (*args,
u32);
void ip46_prefix_normalize(ip46_address_t *prefix, u8 plen)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
u8 * format_ip46_prefix(u8 *s, va_list *args)
uword unformat_ip46_prefix(unformat_input_t *input, va_list *args)
#define ip46_address_is_ip4(ip46)