Searched refs:prefsrc (Results 1 - 4 of 4) sorted by relevance
/systemd/src/network/ |
H A D | networkd-route.h | 47 union in_addr_union prefsrc; member in struct:Route 64 int route_update(Route *route, union in_addr_union *src, unsigned char src_prefixlen, union in_addr_union *gw, union in_addr_union *prefsrc, unsigned char scope, unsigned char protocol);
|
H A D | networkd-route.c | 308 union in_addr_union *prefsrc, 314 assert(prefsrc); 319 route->prefsrc = *prefsrc; 384 if (!in_addr_is_null(route->family, &route->prefsrc)) { 386 r = sd_netlink_message_append_in_addr(req, RTA_PREFSRC, &route->prefsrc.in); 388 r = sd_netlink_message_append_in6_addr(req, RTA_PREFSRC, &route->prefsrc.in6); 481 if (!in_addr_is_null(route->family, &route->prefsrc)) { 483 r = sd_netlink_message_append_in_addr(req, RTA_PREFSRC, &route->prefsrc.in); 485 r = sd_netlink_message_append_in6_addr(req, RTA_PREFSRC, &route->prefsrc 304 route_update(Route *route, union in_addr_union *src, unsigned char src_prefixlen, union in_addr_union *gw, union in_addr_union *prefsrc, unsigned char scope, unsigned char protocol) argument [all...] |
H A D | networkd-manager.c | 290 union in_addr_union dst = {}, gw = {}, src = {}, prefsrc = {}; local 368 r = sd_netlink_message_read_in_addr(message, RTA_PREFSRC, &prefsrc.in); 395 r = sd_netlink_message_read_in6_addr(message, RTA_PREFSRC, &prefsrc.in6); 455 route_update(route, &src, src_prefixlen, &gw, &prefsrc, scope, protocol);
|
H A D | networkd-dhcp4.c | 90 route_gw->prefsrc.in = address; 103 route->prefsrc.in = address;
|
Completed in 1573 milliseconds