Lines Matching refs:a_len
225 addr->a_len = size; in nl_addr_build()
475 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone()
568 d = a->a_len - b->a_len; in nl_addr_cmp()
570 if (a->a_len && d == 0) { in nl_addr_cmp()
571 d = memcmp(a->a_addr, b->a_addr, a->a_len); in nl_addr_cmp()
624 for (i = 0; i < addr->a_len; i++) in nl_addr_iszero()
675 switch (addr->a_len) { in nl_addr_guess_family()
875 addr->a_len = len; in nl_addr_set_binary_addr()
907 return addr->a_len; in nl_addr_get_len()
956 if (!addr || !addr->a_len) { in nl_addr2str()
974 dnet_ntop(addr->a_addr, addr->a_len, buf, size); in nl_addr2str()
981 for (i = 1; i < addr->a_len; i++) { in nl_addr2str()
990 if (addr->a_prefixlen != (8 * addr->a_len)) { in nl_addr2str()