Lines Matching refs:genl_rth
86 static struct rtnl_handle genl_rth; variable
120 if (rtnl_talk(&genl_rth, &req.n, 0, 0, NULL) < 0) in create_tunnel()
143 if (rtnl_talk(&genl_rth, &req.n, 0, 0, NULL) < 0) in delete_tunnel()
185 if (rtnl_talk(&genl_rth, &req.n, 0, 0, NULL) < 0) in create_session()
208 if (rtnl_talk(&genl_rth, &req.n, 0, 0, NULL) < 0) in delete_session()
380 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_session()
390 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_session()
393 if (rtnl_dump_filter(&genl_rth, session_nlmsg, p) < 0) { in get_session()
423 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_tunnel()
431 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_tunnel()
434 if (rtnl_dump_filter(&genl_rth, tunnel_nlmsg, p) < 0) { in get_tunnel()
772 if (rtnl_talk(&genl_rth, &req.n, 0, 0, &req.n) < 0) { in genl_ctrl_resolve_family()
783 if (rtnl_open_byproto(&genl_rth, 0, NETLINK_GENERIC) < 0) { in do_ipl2tp()