Searched refs:RTA_SRC (Results 1 – 3 of 3) sorted by relevance
/third_party/toybox/toys/pending/ |
D | ip.c | 1630 if (attr[RTA_SRC]) { in display_route_info() 1631 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in display_route_info() 1634 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.rsrc.addr, gfilter.rsrc.len)) in display_route_info() 1637 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.msrc.addr, gfilter.msrc.len)) in display_route_info() 1812 (!idx ? RTA_SRC : RTA_DST), addr, len); in route_get() 1853 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get() 1855 } else if (!attr[RTA_SRC]) error_exit("can't connect the route"); in route_get() 2224 (idx ? RTA_DST : RTA_SRC), addr, len); in ruleupdate() 2348 if (attr[RTA_SRC]) { in show_rules() 2350 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in show_rules()
|
/third_party/libnl/lib/route/ |
D | route_obj.c | 1175 if (tb[RTA_SRC]) { in rtnl_route_parse() 1176 if (!(src = nl_addr_alloc_attr(tb[RTA_SRC], family))) in rtnl_route_parse() 1396 NLA_PUT_ADDR(msg, RTA_SRC, route->rt_src); in rtnl_route_build_msg()
|
/third_party/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 317 RTA_SRC, enumerator
|