Lines Matching defs:original
444 static int address_acquire(Link *link, Address *original, Address **ret) {
451 assert(original);
455 if (in_addr_is_null(original->family, &original->in_addr) <= 0)
460 r = manager_address_pool_acquire(link->manager, original->family, original->prefixlen, &in_addr);
468 if (original->family == AF_INET) {
473 broadcast.s_addr = in_addr.in.s_addr | htobe32(0xFFFFFFFFUL >> original->prefixlen);
474 } else if (original->family == AF_INET6)
481 na->family = original->family;
482 na->prefixlen = original->prefixlen;
483 na->scope = original->scope;
484 na->cinfo = original->cinfo;
486 if (original->label) {
487 na->label = strdup(original->label);