Home | History | Annotate | Download | only in genl

Lines Matching defs:rth

44 	struct rtnl_handle rth;
63 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
70 if (rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL) < 0) {
111 rtnl_close(&rth);
286 struct rtnl_handle rth;
306 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
337 if (rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL) < 0) {
351 nlh->nlmsg_seq = rth.dump = ++rth.seq;
353 if (rtnl_send(&rth, (const char *) nlh, nlh->nlmsg_len) < 0) {
358 rtnl_dump_filter(&rth, print_ctrl, stdout, NULL, NULL);
364 rtnl_close(&rth);
370 struct rtnl_handle rth;
372 if (rtnl_open_byproto(&rth, nl_mgrp(GENL_ID_CTRL), NETLINK_GENERIC) < 0) {
377 if (rtnl_listen(&rth, print_ctrl, (void *) stdout) < 0)