Lines Matching refs:addr

834         _cleanup_(address_freep) Address *addr = NULL;  in dhcp4_request_address()
899 r = address_new(&addr); in dhcp4_request_address()
903 addr->source = NETWORK_CONFIG_SOURCE_DHCP4; in dhcp4_request_address()
904 addr->provider.in = server; in dhcp4_request_address()
905 addr->family = AF_INET; in dhcp4_request_address()
906 addr->in_addr.in.s_addr = address.s_addr; in dhcp4_request_address()
907 addr->lifetime_preferred_usec = lifetime_usec; in dhcp4_request_address()
908 addr->lifetime_valid_usec = lifetime_usec; in dhcp4_request_address()
909 addr->prefixlen = prefixlen; in dhcp4_request_address()
910 address_set_broadcast(addr, link); in dhcp4_request_address()
911 SET_FLAG(addr->flags, IFA_F_NOPREFIXROUTE, !link_prefixroute(link)); in dhcp4_request_address()
912 addr->route_metric = link->network->dhcp_route_metric; in dhcp4_request_address()
913addr->duplicate_address_detection = link->network->dhcp_send_decline ? ADDRESS_FAMILY_IPV4 : ADDRE… in dhcp4_request_address()
915 r = free_and_strdup_warn(&addr->label, link->network->dhcp_label); in dhcp4_request_address()
919 if (address_get(link, addr, &existing) < 0) /* The address is new. */ in dhcp4_request_address()
924 r = link_request_address(link, TAKE_PTR(addr), true, &link->dhcp4_messages, in dhcp4_request_address()
1069 struct in_addr addr; in dhcp_server_is_filtered() local
1080 r = sd_dhcp_lease_get_server_identifier(lease, &addr); in dhcp_server_is_filtered()
1084 …if (in4_address_is_filtered(&addr, link->network->dhcp_allow_listed_ip, link->network->dhcp_deny_l… in dhcp_server_is_filtered()
1088 IPV4_ADDRESS_FMT_VAL(addr)); in dhcp_server_is_filtered()
1091 IPV4_ADDRESS_FMT_VAL(addr)); in dhcp_server_is_filtered()