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) < 0) {
173 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)
H A Dip.c37 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
119 if (rtnl_open(&rth, 0) < 0) {
143 rtnl_close(&rth);
260 if (rtnl_open(&rth, 0) < 0)
269 rtnl_close(&rth);
H A Dxfrm.h75 struct rtnl_handle *rth; member in struct:xfrm_buffer
H A Dxfrm_policy.c250 struct rtnl_handle rth; local
393 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
399 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
402 rtnl_close(&rth);
563 struct rtnl_handle rth; local
656 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
676 if (rtnl_talk(&rth, &req.n, 0, 0, res_nlbuf) < 0)
679 rtnl_close(&rth);
715 struct rtnl_handle *rth = xb->rth; local
776 struct rtnl_handle rth; local
964 struct rtnl_handle rth; local
993 struct rtnl_handle rth; local
[all...]
H A Dxfrm_state.c238 struct rtnl_handle rth; local
545 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
551 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
554 rtnl_close(&rth);
561 struct rtnl_handle rth; local
681 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
688 if (rtnl_talk(&rth, &req.n, 0, 0, res_n) < 0)
696 rtnl_close(&rth);
818 struct rtnl_handle rth; local
871 if (rtnl_open_byproto(&rth,
909 struct rtnl_handle *rth = xb->rth; local
959 struct rtnl_handle rth; local
1111 struct rtnl_handle rth; local
1139 struct rtnl_handle rth; local
[all...]
H A Diproute.c119 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) {
323 fn->nlmsg_seq = ++rth.seq;
970 ll_init_map(&rth);
1017 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
1023 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family) argument
1039 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
1043 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr));
1246 ll_init_map(&rth);
1290 if (rtnl_wilddump_request(&rth, do_ipv
[all...]
/external/iproute2/lib/
H A Dll_map.c195 int ll_init_map(struct rtnl_handle *rth) argument
202 if (rtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK) < 0) {
207 if (rtnl_dump_filter(rth, ll_remember_index, 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
117 rtnl_send(struct rtnl_handle *rth, const void *buf, int len) argument
122 rtnl_send_check(struct rtnl_handle *rth, const void *buf, int len) argument
155 rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) argument
179 rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg) argument
265 rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg1) 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) < 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) < 0) {
351 nlh->nlmsg_seq = rth.dump = ++rth.seq;
353 if (rtnl_send(&rth, nl
370 struct rtnl_handle rth; local
[all...]
/external/iproute2/misc/
H A Darpd.c61 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
286 return rtnl_send(&rth, &req, req.n.nlmsg_len) <= 0;
431 rtnl_wilddump_request(&rth, AF_INET, RTM_GETNEIGH);
453 status = recvmsg(rth.fd, &msg, MSG_DONTWAIT);
778 if (rtnl_open(&rth, RTMGRP_NEIGH) < 0) {
782 pset[1].fd = rth.fd;
H A Difstat.c121 struct rtnl_handle rth; local
123 if (rtnl_open(&rth, 0) < 0)
126 if (rtnl_wilddump_request(&rth, AF_INET, RTM_GETLINK) < 0) {
131 if (rtnl_dump_filter(&rth, get_nlmsg, NULL) < 0) {
136 rtnl_close(&rth);
H A Dss.c990 struct rtnl_handle rth; local
991 rtnl_open(&rth, 0);
992 ll_init_map(&rth);
993 rtnl_close(&rth);
1592 if (/*h->nlmsg_pid != rth->local.nl_pid ||*/
2132 if (/*h->nlmsg_pid != rth->local.nl_pid ||*/

Completed in 1195 milliseconds