Home
last modified time | relevance | path

Searched refs:genl_rth (Results 1 – 4 of 4) sorted by relevance

/external/iproute2/ip/
Dipila.c39 static struct rtnl_handle genl_rth = { .fd = -1 }; variable
136 if (rtnl_send(&genl_rth, (void *)&req, req.n.nlmsg_len) < 0) { in do_list()
141 if (rtnl_dump_filter(&genl_rth, print_ila_mapping, stdout) < 0) { in do_list()
223 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_add()
235 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_del()
249 if (genl_init_handle(&genl_rth, ILA_GENL_NAME, &genl_family)) in do_ipila()
Dipfou.c39 static struct rtnl_handle genl_rth = { .fd = -1 }; variable
119 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_add()
131 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_del()
145 if (genl_init_handle(&genl_rth, FOU_GENL_NAME, &genl_family)) in do_ipfou()
Dipl2tp.c91 static struct rtnl_handle genl_rth; variable
132 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in create_tunnel()
145 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in delete_tunnel()
188 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in create_session()
201 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in delete_session()
432 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_session()
440 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_session()
443 if (rtnl_dump_filter(&genl_rth, session_nlmsg, p) < 0) { in get_session()
468 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_tunnel()
473 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_tunnel()
[all …]
Dipmacsec.c74 static struct rtnl_handle genl_rth; variable
424 if (rtnl_talk(&genl_rth, &req.n, NULL, 0) < 0) in do_modify_nl()
957 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in do_dump()
958 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) { in do_dump()
963 if (rtnl_dump_filter(&genl_rth, process, stdout) < 0) { in do_dump()
1000 if (genl_init_handle(&genl_rth, MACSEC_GENL_NAME, &genl_family)) in do_ipmacsec()