Home | History | Annotate | Download | only in genl

Lines Matching refs:rth

44 	struct rtnl_handle rth;
63 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
70 if (rtnl_talk(&rth, nlh, nlh, sizeof(req)) < 0) {
111 rtnl_close(&rth);
293 struct rtnl_handle rth;
313 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
344 if (rtnl_talk(&rth, nlh, nlh, sizeof(req)) < 0) {
358 nlh->nlmsg_seq = rth.dump = ++rth.seq;
360 if (rtnl_send(&rth, nlh, nlh->nlmsg_len) < 0) {
365 rtnl_dump_filter(&rth, print_ctrl2, stdout);
371 rtnl_close(&rth);
377 struct rtnl_handle rth;
379 if (rtnl_open_byproto(&rth, nl_mgrp(GENL_ID_CTRL), NETLINK_GENERIC) < 0) {
384 if (rtnl_listen(&rth, print_ctrl, (void *) stdout) < 0)