Home
last modified time | relevance | path

Searched refs:rtnl_talk (Results 1 – 25 of 33) sorted by relevance

12

/external/iproute2/ip/
Dipfou.c115 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_add()
127 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_del()
Dipaddrlabel.c185 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in ipaddrlabel_modify()
212 if (rtnl_talk(&rth2, n, NULL, 0) < 0) in flush_addrlabel()
Dipl2tp.c122 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in create_tunnel()
135 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in delete_tunnel()
169 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in create_session()
182 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in delete_session()
Diprule.c318 ret = rtnl_talk(&rth, n, n, sizeof(*n)); in restore_handler()
489 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in iprule_modify()
516 if (rtnl_talk(&rth2, n, NULL, 0) < 0) in flush_rule()
Dxfrm_state.c690 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_state_modify()
827 if (rtnl_talk(&rth, &req.n, res_n, sizeof(res_buf)) < 0) in xfrm_state_allocspi()
1017 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_state_get_or_delete()
1025 if (rtnl_talk(&rth, &req.n, res_n, sizeof(req)) < 0) in xfrm_state_get_or_delete()
1299 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) in xfrm_sad_getinfo()
1353 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_state_flush()
Dxfrm_policy.c395 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_policy_modify()
672 if (rtnl_talk(&rth, &req.n, res_nlbuf, res_size) < 0) in xfrm_policy_get_or_delete()
1066 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_spd_setinfo()
1093 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) in xfrm_spd_getinfo()
1145 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in xfrm_policy_flush()
Diptoken.c181 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in iptoken_set()
Dtcp_metrics.c470 if (rtnl_talk(&grth, &req.n, NULL, 0) < 0) in tcpm_do_cmd()
473 if (rtnl_talk(&grth, &req.n, &req.n, sizeof(req)) < 0) in tcpm_do_cmd()
Dlink_vti6.c70 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) { in vti6_parse_opt()
Dlink_vti.c74 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) { in vti_parse_opt()
Dipnetns.c115 if (rtnl_talk(&rtnsh, &req.n, &answer.n, sizeof(answer)) < 0) { in get_netnsid_from_name()
700 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in set_netnsid_from_name()
Diplink.c716 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in iplink_modify()
815 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in iplink_modify()
848 if (rtnl_talk(&rth, &req.n, &answer.n, sizeof(answer)) < 0) in iplink_get()
Dlink_ip6tnl.c92 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) { in ip6tunnel_parse_opt()
Dlink_gre6.c94 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) { in gre_parse_opt()
Diproute.c1222 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in iproute_modify()
1693 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) in iproute_get()
1736 if (rtnl_talk(&rth, &req.n, &req.n, sizeof(req)) < 0) in iproute_get()
1758 ret = rtnl_talk(&rth, n, n, sizeof(*n)); in restore_handler()
/external/iproute2/lib/
Dlibgenl.c56 if (rtnl_talk(grth, &req.n, &req.n, sizeof(req)) < 0) { in genl_resolve_family()
/external/iproute2/tc/
Dm_action.c488 if (rtnl_talk(&rth, &req.n, ans, MAX_MSG) < 0) { in tc_action_gd()
533 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) { in tc_action_modify()
603 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) { in tc_act_list_or_flush()
Dtc_qdisc.c196 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in tc_qdisc_modify()
Dtc_filter.c180 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) { in tc_filter_modify()
/external/iproute2/genl/
Dctrl.c70 if (rtnl_talk(&rth, nlh, nlh, sizeof(req)) < 0) { in genl_ctrl_resolve_family()
344 if (rtnl_talk(&rth, nlh, nlh, sizeof(req)) < 0) { in ctrl_list()
/external/iproute2/bridge/
Dvlan.c134 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in vlan_modify()
Dmdb.c252 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in mdb_modify()
Dfdb.c370 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in fdb_modify()
Dlink.c418 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0) in brlink_modify()
/external/iproute2/include/
Dlibnetlink.h73 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,

12