Home | History | Annotate | Download | only in ip

Lines Matching refs:grth

39 static struct rtnl_handle grth = { .fd = -1 };
83 if (rtnl_send_check(&grth, f.flushb, f.flushp) < 0) {
185 fn->nlmsg_seq = ++grth.seq;
404 if (rtnl_open_byproto(&grth, 0, NETLINK_GENERIC) < 0) {
408 genl_family = genl_resolve_family(&grth,
438 req.n.nlmsg_seq = grth.dump = ++grth.seq;
439 if (rtnl_send(&grth, &req, req.n.nlmsg_len) < 0) {
444 if (rtnl_dump_filter(&grth, process_msg, stdout) < 0) {
470 if (rtnl_talk(&grth, &req.n, NULL, 0) < 0)
473 if (rtnl_talk(&grth, &req.n, &req.n, sizeof(req)) < 0)
480 req.n.nlmsg_seq = grth.dump = ++grth.seq;
481 if (rtnl_send(&grth, &req, req.n.nlmsg_len) < 0) {
486 if (rtnl_dump_filter(&grth, process_msg, stdout) < 0) {