Lines Matching refs:a_addr
198 memcpy(addr->a_addr, buf, size); in nl_addr_build()
424 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone()
511 return memcmp(a->a_addr, b->a_addr, a->a_len); in nl_addr_cmp()
533 d = memcmp(a->a_addr, b->a_addr, bytes); in nl_addr_cmp_prefix()
537 d = (a->a_addr[bytes] & mask) - in nl_addr_cmp_prefix()
538 (b->a_addr[bytes] & mask); in nl_addr_cmp_prefix()
554 if (addr->a_addr[i]) in nl_addr_iszero()
639 memcpy(&sai->sin_addr, addr->a_addr, 4); in nl_addr_fill_sockaddr()
651 memcpy(&sa6->sin6_addr, addr->a_addr, 16); in nl_addr_fill_sockaddr()
775 memcpy(addr->a_addr, buf, len); in nl_addr_set_binary_addr()
786 return addr->a_addr; in nl_addr_get_binary_addr()
845 inet_ntop(AF_INET, addr->a_addr, buf, size); in nl_addr2str()
849 inet_ntop(AF_INET6, addr->a_addr, buf, size); in nl_addr2str()
853 dnet_ntop(addr->a_addr, addr->a_len, buf, size); in nl_addr2str()
859 (unsigned char) addr->a_addr[0]); in nl_addr2str()
862 (unsigned char) addr->a_addr[i]); in nl_addr2str()