Home
last modified time | relevance | path

Searched refs:a_prefixlen (Results 1 – 3 of 3) sorted by relevance

/external/libnl/lib/
Daddr.c195 addr->a_prefixlen = size*8; in nl_addr_build()
426 new->a_prefixlen = addr->a_prefixlen; in nl_addr_clone()
530 int len = min(a->a_prefixlen, b->a_prefixlen); in nl_addr_cmp_prefix()
800 addr->a_prefixlen = prefixlen; in nl_addr_set_prefixlen()
809 return addr->a_prefixlen; in nl_addr_get_prefixlen()
869 if (addr->a_prefixlen != (8 * addr->a_len)) { in nl_addr2str()
870 snprintf(tmp, sizeof(tmp), "/%u", addr->a_prefixlen); in nl_addr2str()
/external/libnl/lib/route/
Daddr.c210 addr->a_prefixlen = ifa->ifa_prefixlen; in addr_msg_parser()
263 addr->a_prefixlen); in addr_msg_parser()
435 addr->a_prefixlen); in addr_dump_env()
565 .ifa_prefixlen = tmpl->a_prefixlen, in build_addr_msg()
810 addr->a_prefixlen = prefix; in rtnl_addr_set_prefixlen()
816 return addr->a_prefixlen; in rtnl_addr_get_prefixlen()
876 addr->a_prefixlen = nl_addr_get_prefixlen(addr->a_local); in rtnl_addr_set_local()
892 addr->a_prefixlen = nl_addr_get_prefixlen(addr->a_peer); in rtnl_addr_set_peer()
/external/libnl/include/
Dnetlink-types.h120 int a_prefixlen; member
224 uint8_t a_prefixlen; member