Searched refs:genl_rth (Results 1 – 2 of 2) sorted by relevance
/external/iproute2/ip/ |
D | ipfou.c | 38 static struct rtnl_handle genl_rth = { .fd = -1 }; variable 115 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() 136 if (rtnl_open_byproto(&genl_rth, 0, NETLINK_GENERIC) < 0) { in do_ipfou() 141 genl_family = genl_resolve_family(&genl_rth, FOU_GENL_NAME); in do_ipfou()
|
D | ipl2tp.c | 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() [all …]
|