Lines Matching refs:addr
31 #include "in-addr-util.h"
136 int sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr) {
145 seed = siphash24(&addr->ether_addr_octet, ETH_ALEN, HASH_KEY.bytes);
154 return sd_ipv4acd_set_mac(ll->acd, addr);
233 uint32_t addr;
240 addr = be32toh(address->s_addr);
242 if ((addr & 0x0000FF00) == 0x0000 ||
243 (addr & 0x0000FF00) == 0xFF00)
267 be32_t addr;
278 addr = htonl((random & 0x0000FFFF) | IPV4LL_NETWORK);
279 } while (addr == ll->address ||
280 (ntohl(addr) & 0x0000FF00) == 0x0000 ||
281 (ntohl(addr) & 0x0000FF00) == 0xFF00);
283 in_addr.s_addr = addr;