Searched refs:a_prefixlen (Results 1 – 3 of 3) sorted by relevance
230 addr->a_prefixlen = 20; /* MPLS address is a 20-bit label */ in nl_addr_build()233 addr->a_prefixlen = size*8; in nl_addr_build()500 new->a_prefixlen = addr->a_prefixlen; in nl_addr_clone()605 return (a->a_prefixlen - b->a_prefixlen); in nl_addr_cmp()630 int len = min(a->a_prefixlen, b->a_prefixlen); in nl_addr_cmp_prefix()968 addr->a_prefixlen = prefixlen; in nl_addr_set_prefixlen()979 return addr->a_prefixlen; in nl_addr_get_prefixlen()1044 addr->a_prefixlen != (8 * addr->a_len)) { in nl_addr2str()1045 snprintf(tmp, sizeof(tmp), "/%u", addr->a_prefixlen); in nl_addr2str()
219 addr->a_prefixlen = ifa->ifa_prefixlen; in addr_msg_parser()311 nl_addr_set_prefixlen(plen_addr, addr->a_prefixlen); in addr_msg_parser()508 && a->a_prefixlen == b->a_prefixlen) { in addr_compare()627 .ifa_prefixlen = tmpl->a_prefixlen, in build_addr_msg()925 addr->a_prefixlen = prefixlen; in rtnl_addr_set_prefixlen()944 return addr->a_prefixlen; in rtnl_addr_get_prefixlen()
142 int a_prefixlen; member289 uint8_t a_prefixlen; member