Home
last modified time | relevance | path

Searched refs:ret_addr (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/libsystemd-network/
Dndisc-router.c37 int sd_ndisc_router_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_get_address() argument
39 assert_return(ret_addr, -EINVAL); in sd_ndisc_router_get_address()
44 *ret_addr = rt->address; in sd_ndisc_router_get_address()
415 int sd_ndisc_router_prefix_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_prefix_get_address() argument
420 assert_return(ret_addr, -EINVAL); in sd_ndisc_router_prefix_get_address()
426 *ret_addr = pi->nd_opt_pi_prefix; in sd_ndisc_router_prefix_get_address()
490 int sd_ndisc_router_route_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_route_get_address() argument
495 assert_return(ret_addr, -EINVAL); in sd_ndisc_router_route_get_address()
501 zero(*ret_addr); in sd_ndisc_router_route_get_address()
502 memcpy(ret_addr, ri + 8, NDISC_ROUTER_OPTION_LENGTH(rt) - 8); in sd_ndisc_router_route_get_address()
Dsd-dhcp6-lease.c221 struct in6_addr *ret_addr, in sd_dhcp6_lease_get_address() argument
230 if (ret_addr) in sd_dhcp6_lease_get_address()
231 *ret_addr = lease->addr_iter->iaaddr.address; in sd_dhcp6_lease_get_address()
/systemd-251/src/systemd/
Dsd-ndisc.h88 int sd_ndisc_router_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr);
109 int sd_ndisc_router_prefix_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr);
114 int sd_ndisc_router_route_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr);
/systemd-251/src/shared/
Dbus-message-util.c46 …uto(sd_bus_message *message, sd_bus_error *error, int *ret_family, union in_addr_union *ret_addr) { in bus_message_read_in_addr_auto() argument
69 if (ret_addr) in bus_message_read_in_addr_auto()
70 memcpy(ret_addr, d, sz); in bus_message_read_in_addr_auto()
Dbus-message-util.h11 …auto(sd_bus_message *message, sd_bus_error *error, int *ret_family, union in_addr_union *ret_addr);