Searched refs:local_address (Results 1 - 13 of 13) sorted by relevance

/systemd/src/libsystemd/sd-netlink/
H A Dlocal-addresses.h27 struct local_address { struct
34 int local_addresses(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret);
36 int local_gateways(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret);
H A Dtest-local-addresses.c25 static void print_local_addresses(struct local_address *a, unsigned n) {
37 struct local_address *a;
H A Dlocal-addresses.c29 const struct local_address *a = _a, *b = _b;
56 int local_addresses(sd_netlink *context, int ifindex, int af, struct local_address **ret) {
59 _cleanup_free_ struct local_address *list = NULL;
83 struct local_address *a;
159 qsort(list, n_list, sizeof(struct local_address), address_compare);
167 int local_gateways(sd_netlink *context, int ifindex, int af, struct local_address **ret) {
170 _cleanup_free_ struct local_address *list = NULL;
198 struct local_address *a;
270 qsort(list, n_list, sizeof(struct local_address), address_compare);
/systemd/src/libsystemd-network/
H A Ddhcp6-network.c35 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) { argument
45 assert(local_address);
47 src.in6.sin6_addr = *local_address;
H A Dsd-dhcp6-client.c48 struct in6_addr local_address; member in struct:sd_dhcp6_client
133 int sd_dhcp6_client_set_local_address(sd_dhcp6_client *client, const struct in6_addr *local_address) { argument
135 assert_return(local_address, -EINVAL);
136 assert_return(in_addr_is_link_local(AF_INET6, (const union in_addr_union *) local_address) > 0, -EINVAL);
140 client->local_address = *local_address;
1155 assert_return(in_addr_is_link_local(AF_INET6, (const union in_addr_union *) &client->local_address) > 0, -EINVAL);
1172 r = dhcp6_network_bind_udp_socket(client->index, &client->local_address);
H A Dtest-dhcp6-client.c692 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) { argument
/systemd/src/resolve/
H A Dresolved-dns-synthesize.c154 struct local_address *addresses,
185 struct local_address *addresses,
224 _cleanup_free_ struct local_address *addresses = NULL;
238 struct local_address buffer[2];
244 buffer[n++] = (struct local_address) {
251 buffer[n++] = (struct local_address) {
265 _cleanup_free_ struct local_address *addresses = NULL;
308 _cleanup_free_ struct local_address *addresses = NULL;
326 _cleanup_free_ struct local_address *addresses = NULL;
/systemd/src/nss-myhostname/
H A Dnss-myhostname.c55 _cleanup_free_ struct local_address *addresses = NULL;
60 struct local_address *a;
190 struct local_address *addresses, unsigned n_addresses,
200 struct local_address *a;
325 _cleanup_free_ struct local_address *addresses = NULL;
408 _cleanup_free_ struct local_address *addresses = NULL;
411 struct local_address *a;
/systemd/src/systemd/
H A Dsd-dhcp6-client.h85 int sd_dhcp6_client_set_local_address(sd_dhcp6_client *client, const struct in6_addr *local_address);
/systemd/src/nspawn/
H A Dnspawn-expose-ports.c134 _cleanup_free_ struct local_address *addresses = NULL;
/systemd/src/machine/
H A Dmachine-dbus.c211 _cleanup_free_ struct local_address *addresses = NULL;
212 struct local_address *a;
273 _cleanup_free_ struct local_address *addresses = NULL;
274 struct local_address *a;
/systemd/src/network/
H A Dnetworkctl.c404 _cleanup_free_ struct local_address *local = NULL;
453 _cleanup_free_ struct local_address *local = NULL;
H A Dnetworkd-manager.c1291 _cleanup_free_ struct local_address *gateways = NULL;

Completed in 32 milliseconds