Searched defs:rth (Results 1 - 15 of 15) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DClonerToResultTree.java133 SerializationHandler rth,
143 dtm.dispatchCharactersEvents(node, rth, false);
157 // rth.startElement(ns, localName, dtm.getNodeNameX(node), null);
160 rth.startElement(ns, localName, dtm.getNodeNameX(node));
167 SerializerUtils.addAttributes(rth, node);
168 SerializerUtils.processNSDecls(rth, node, nodeType, dtm);
173 rth.startCDATA();
174 dtm.dispatchCharactersEvents(node, rth, false);
175 rth.endCDATA();
178 SerializerUtils.addAttribute(rth, nod
132 cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes) argument
[all...]
/external/iproute2/tc/
H A Dtc_monitor.c69 struct rtnl_handle rth; local
98 if (rtnl_open(&rth, groups) < 0)
101 ll_init_map(&rth);
103 if (rtnl_listen(&rth, accept_tcmsg, (void*)stdout) < 0) {
104 rtnl_close(&rth);
108 rtnl_close(&rth);
H A Dtc.c41 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
265 if (rtnl_open(&rth, 0) < 0) {
289 rtnl_close(&rth);
348 if (rtnl_open(&rth, 0) < 0) {
354 rtnl_close(&rth);
/external/iproute2/ip/
H A Drtmon.c70 struct rtnl_handle rth; local
156 if (rtnl_open(&rth, groups) < 0)
159 if (rtnl_wilddump_request(&rth, AF_UNSPEC, RTM_GETLINK) < 0) {
166 if (rtnl_dump_filter(&rth, dump_msg, fp, NULL, NULL) < 0) {
173 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)
H A Dip.c35 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
112 if (rtnl_open(&rth, 0) < 0) {
136 rtnl_close(&rth);
247 if (rtnl_open(&rth, 0) < 0)
256 rtnl_close(&rth);
H A Dxfrm.h75 struct rtnl_handle *rth; member in struct:xfrm_buffer
H A Dxfrm_policy.c228 struct rtnl_handle rth; local
352 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
358 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
361 rtnl_close(&rth);
522 struct rtnl_handle rth; local
599 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
614 if (rtnl_talk(&rth, &req.n, 0, 0, res_nlbuf, NULL, NULL) < 0)
617 rtnl_close(&rth);
653 struct rtnl_handle *rth = xb->rth; local
714 struct rtnl_handle rth; local
902 struct rtnl_handle rth; local
931 struct rtnl_handle rth; local
[all...]
H A Dxfrm_state.c239 struct rtnl_handle rth; local
512 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
518 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
521 rtnl_close(&rth);
528 struct rtnl_handle rth; local
648 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
655 if (rtnl_talk(&rth, &req.n, 0, 0, res_n, NULL, NULL) < 0)
663 rtnl_close(&rth);
785 struct rtnl_handle rth; local
838 if (rtnl_open_byproto(&rth,
876 struct rtnl_handle *rth = xb->rth; local
926 struct rtnl_handle rth; local
1078 struct rtnl_handle rth; local
1106 struct rtnl_handle rth; local
[all...]
H A Diproute.c110 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) {
287 fn->nlmsg_seq = ++rth.seq;
938 ll_init_map(&rth);
985 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
991 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family) argument
1007 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
1011 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr));
1175 ll_init_map(&rth);
1218 if (rtnl_wilddump_request(&rth, do_ipv
[all...]
/external/iproute2/lib/
H A Dll_map.c186 int ll_init_map(struct rtnl_handle *rth) argument
188 if (rtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK) < 0) {
193 if (rtnl_dump_filter(rth, ll_remember_index, &idxmap, NULL, NULL) < 0) {
H A Dlibnetlink.c30 void rtnl_close(struct rtnl_handle *rth) argument
32 if (rth->fd >= 0) {
33 close(rth->fd);
34 rth->fd = -1;
38 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, argument
44 memset(rth, 0, sizeof(*rth));
46 rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol);
47 if (rth->fd < 0) {
52 if (setsockopt(rth
87 rtnl_open(struct rtnl_handle *rth, unsigned subscriptions) argument
92 rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type) argument
110 rtnl_send(struct rtnl_handle *rth, const char *buf, int len) argument
115 rtnl_send_check(struct rtnl_handle *rth, const char *buf, int len) argument
148 rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) argument
175 rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg) argument
259 rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg1, rtnl_filter_t junk, void *arg2) argument
[all...]
/external/iproute2/genl/
H A Dctrl.c44 struct rtnl_handle rth; local
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; local
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, (cons
370 struct rtnl_handle rth; local
[all...]
/external/iproute2/misc/
H A Darpd.c61 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
284 return rtnl_send(&rth, (char*)&req, req.n.nlmsg_len) <= 0;
429 rtnl_wilddump_request(&rth, AF_INET, RTM_GETNEIGH);
451 status = recvmsg(rth.fd, &msg, MSG_DONTWAIT);
770 if (rtnl_open(&rth, RTMGRP_NEIGH) < 0) {
774 pset[1].fd = rth.fd;
H A Difstat.c120 struct rtnl_handle rth; local
122 if (rtnl_open(&rth, 0) < 0)
125 if (rtnl_wilddump_request(&rth, AF_INET, RTM_GETLINK) < 0) {
130 if (rtnl_dump_filter(&rth, get_nlmsg, NULL, NULL, NULL) < 0) {
135 rtnl_close(&rth);
H A Dss.c981 struct rtnl_handle rth; local
982 rtnl_open(&rth, 0);
983 ll_init_map(&rth);
984 rtnl_close(&rth);
1566 if (/*h->nlmsg_pid != rth->local.nl_pid ||*/

Completed in 207 milliseconds