Lines Matching refs:a_len
194 addr->a_len = size; in nl_addr_build()
424 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone()
508 d = a->a_len - b->a_len; in nl_addr_cmp()
510 if (a->a_len && d == 0) in nl_addr_cmp()
511 return memcmp(a->a_addr, b->a_addr, a->a_len); in nl_addr_cmp()
553 for (i = 0; i < addr->a_len; i++) in nl_addr_iszero()
603 switch (addr->a_len) { in nl_addr_guess_family()
774 addr->a_len = len; in nl_addr_set_binary_addr()
795 return addr->a_len; in nl_addr_get_len()
835 if (!addr || !addr->a_len) { in nl_addr2str()
853 dnet_ntop(addr->a_addr, addr->a_len, buf, size); in nl_addr2str()
860 for (i = 1; i < addr->a_len; i++) { in nl_addr2str()
869 if (addr->a_prefixlen != (8 * addr->a_len)) { in nl_addr2str()