Home
last modified time | relevance | path

Searched refs:RTA_PREFSRC (Results 1 – 7 of 7) sorted by relevance

/external/iproute2/ip/
Diproute.c236 if (tb[RTA_PREFSRC]) in filter_nlmsg()
237 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); in filter_nlmsg()
443 if (tb[RTA_PREFSRC] && filter.rprefsrc.bitlen != host_len) { in print_route()
449 RTA_PAYLOAD(tb[RTA_PREFSRC]), in print_route()
450 RTA_DATA(tb[RTA_PREFSRC]), in print_route()
862 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify()
1718 if (tb[RTA_PREFSRC]) { in iproute_get()
1719 tb[RTA_PREFSRC]->rta_type = RTA_SRC; in iproute_get()
1720 r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); in iproute_get()
/external/libnl/lib/route/
Droute_obj.c981 if (tb[RTA_PREFSRC]) { in rtnl_route_parse()
982 if (!(addr = nl_addr_alloc_attr(tb[RTA_PREFSRC], family))) in rtnl_route_parse()
1119 NLA_PUT_ADDR(msg, RTA_PREFSRC, route->rt_pref_src); in rtnl_route_build_msg()
/external/libnl/include/linux/
Drtnetlink.h267 RTA_PREFSRC, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h298 RTA_PREFSRC, enumerator
/external/iproute2/include/linux/
Drtnetlink.h298 RTA_PREFSRC, enumerator
/external/toybox/toys/pending/
Dip.c1556 if (attr[RTA_PREFSRC] && hlen) { in display_route_info()
1557 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_PREFSRC]), in display_route_info()
1740 if (attr[RTA_PREFSRC]) { in route_get()
1741 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get()
1742 msg->rtm_src_len = 8*RTA_PAYLOAD(attr[RTA_PREFSRC]); in route_get()
1933 add_string_to_rtattr(&req.hdr, sizeof(req), RTA_PREFSRC, addr, len); in route_update()
/external/dhcpcd-6.8.2/
Dif-linux.c430 case RTA_PREFSRC: in if_copyrt()
1370 add_attr_l(&nlm.hdr, sizeof(nlm), RTA_PREFSRC, in if_route()