Home
last modified time | relevance | path

Searched refs:tst_rtnl_add_attr (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/lib/
Dtst_netdevice.c265 if (!tst_rtnl_add_attr(file, lineno, ctx, IFA_FLAGS, &addr_flags, in modify_address()
271 if (!tst_rtnl_add_attr(file, lineno, ctx, IFA_LOCAL, address, in modify_address()
344 if (!tst_rtnl_add_attr(file, lineno, ctx, attr, &value, in change_ns()
421 if (srcaddr && !tst_rtnl_add_attr(file, lineno, ctx, RTA_SRC, srcaddr, in modify_route()
427 if (dstaddr && !tst_rtnl_add_attr(file, lineno, ctx, RTA_DST, dstaddr, in modify_route()
433 if (gateway && !tst_rtnl_add_attr(file, lineno, ctx, RTA_GATEWAY, in modify_route()
439 if (ifname && !tst_rtnl_add_attr(file, lineno, ctx, RTA_OIF, &index, in modify_route()
Dtst_rtnetlink.c282 int tst_rtnl_add_attr(const char *file, const int lineno, in tst_rtnl_add_attr() function
313 return tst_rtnl_add_attr(file, lineno, ctx, type, data, in tst_rtnl_add_attr_string()
332 ret = tst_rtnl_add_attr(file, lineno, ctx, list[i].type, in tst_rtnl_add_attr_list()
/third_party/ltp/include/
Dtst_rtnetlink.h73 int tst_rtnl_add_attr(const char *file, const int lineno,
77 tst_rtnl_add_attr(__FILE__, __LINE__, (ctx), (type), (data), (len))