Lines Matching refs:genl_rth
89 static struct rtnl_handle genl_rth; variable
122 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()
374 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_session()
381 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_session()
384 if (rtnl_dump_filter(&genl_rth, session_nlmsg, p) < 0) { in get_session()
408 req.n.nlmsg_seq = genl_rth.dump = ++genl_rth.seq; in get_tunnel()
413 if (rtnl_send(&genl_rth, &req, req.n.nlmsg_len) < 0) in get_tunnel()
416 if (rtnl_dump_filter(&genl_rth, tunnel_nlmsg, p) < 0) { in get_tunnel()
724 if (rtnl_open_byproto(&genl_rth, 0, NETLINK_GENERIC) < 0) { in do_ipl2tp()
729 genl_family = genl_resolve_family(&genl_rth, L2TP_GENL_NAME); in do_ipl2tp()