Searched defs:rth (Results 1 - 16 of 16) 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.c74 struct rtnl_handle rth; local
107 if (rtnl_open(&rth, groups) < 0)
110 ll_init_map(&rth);
112 if (rtnl_listen(&rth, accept_tcmsg, (void*)stdout) < 0) {
113 rtnl_close(&rth);
117 rtnl_close(&rth);
H A Dtc.c49 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
273 if (rtnl_open(&rth, 0) < 0) {
297 rtnl_close(&rth);
375 if (rtnl_open(&rth, 0) < 0) {
387 rtnl_close(&rth);
/external/iproute2/ip/
H A Drtmon.c76 struct rtnl_handle rth; local
162 if (rtnl_open(&rth, groups) < 0)
165 if (rtnl_wilddump_request(&rth, AF_UNSPEC, RTM_GETLINK) < 0) {
172 if (rtnl_dump_filter(&rth, dump_msg2, fp) < 0) {
179 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)
H A Dip.c43 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
136 if (rtnl_open(&rth, 0) < 0) {
163 rtnl_close(&rth);
301 if (rtnl_open(&rth, 0) < 0)
310 rtnl_close(&rth);
H A Dxfrm.h74 struct rtnl_handle *rth; member in struct:xfrm_buffer
H A Dxfrm_policy.c246 struct rtnl_handle rth; local
389 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
395 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0)
398 rtnl_close(&rth);
559 struct rtnl_handle rth; local
652 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
672 if (rtnl_talk(&rth, &req.n, res_nlbuf, res_size) < 0)
675 rtnl_close(&rth);
711 struct rtnl_handle *rth = xb->rth; local
772 struct rtnl_handle rth; local
1008 struct rtnl_handle rth; local
1076 struct rtnl_handle rth; local
1105 struct rtnl_handle rth; local
[all...]
H A Dxfrm_state.c271 struct rtnl_handle rth; local
684 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
690 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0)
693 rtnl_close(&rth);
700 struct rtnl_handle rth; local
820 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
827 if (rtnl_talk(&rth, &req.n, res_n, sizeof(res_buf)) < 0)
835 rtnl_close(&rth);
957 struct rtnl_handle rth; local
1010 if (rtnl_open_byproto(&rth,
1048 struct rtnl_handle *rth = xb->rth; local
1098 struct rtnl_handle rth; local
1283 struct rtnl_handle rth; local
1311 struct rtnl_handle rth; local
[all...]
H A Diproute.c132 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) {
351 fn->nlmsg_seq = ++rth.seq;
1223 if (rtnl_talk(&rth, &req.n, NULL, 0) < 0)
1229 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family) argument
1245 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
1249 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr));
1520 if (rtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE) < 0) {
1525 if (rtnl_dump_filter(&rth, filter_fn, stdout) < 0) {
1557 if (rtnl_wilddump_request(&rth, do_ipv
[all...]
/external/iproute2/bridge/
H A Dbridge.c19 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
93 if (rtnl_open(&rth, 0) < 0) {
118 rtnl_close(&rth);
196 if (rtnl_open(&rth, 0) < 0)
202 rtnl_close(&rth);
/external/iproute2/lib/
H A Dll_map.c205 void ll_init_map(struct rtnl_handle *rth) argument
212 if (rtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK) < 0) {
217 if (rtnl_dump_filter(rth, ll_remember_index, NULL) < 0) {
H A Dlibnetlink.c38 void rtnl_close(struct rtnl_handle *rth) argument
40 if (rth->fd >= 0) {
41 close(rth->fd);
42 rth->fd = -1;
46 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, argument
52 memset(rth, 0, sizeof(*rth));
54 rth->proto = protocol;
55 rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
56 if (rth
96 rtnl_open(struct rtnl_handle *rth, unsigned subscriptions) argument
101 rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type) argument
106 rtnl_wilddump_req_filter(struct rtnl_handle *rth, int family, int type, __u32 filt_mask) argument
132 rtnl_send(struct rtnl_handle *rth, const void *buf, int len) argument
137 rtnl_send_check(struct rtnl_handle *rth, const void *buf, int len) argument
170 rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) argument
194 rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) argument
215 rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg) argument
322 rtnl_dump_filter_nc(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg1, __u16 nc_flags) argument
454 rtnl_listen_all_nsid(struct rtnl_handle *rth) 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, nlh, sizeof(req)) < 0) {
111 rtnl_close(&rth);
293 struct rtnl_handle rth; local
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, nl
377 struct rtnl_handle rth; local
[all...]
/external/iproute2/misc/
H A Darpd.c62 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
287 return rtnl_send(&rth, &req, req.n.nlmsg_len) <= 0;
432 if (rtnl_wilddump_request(&rth, AF_INET, RTM_GETNEIGH) < 0) {
458 status = recvmsg(rth.fd, &msg, MSG_DONTWAIT);
782 if (rtnl_open(&rth, RTMGRP_NEIGH) < 0) {
786 pset[1].fd = rth.fd;
H A Difstat.c150 struct rtnl_handle rth; local
152 if (rtnl_open(&rth, 0) < 0)
155 if (rtnl_wilddump_request(&rth, AF_INET, RTM_GETLINK) < 0) {
160 if (rtnl_dump_filter(&rth, get_nlmsg, NULL) < 0) {
165 rtnl_close(&rth);
H A Dss.c1391 struct rtnl_handle rth; local
1392 if (rtnl_open(&rth, 0) < 0)
1395 ll_init_map(&rth);
1396 rtnl_close(&rth);
2249 struct rtnl_handle *rth; member in struct:inet_diag_arg
2257 struct rtnl_handle *rth = diag_arg->rth; local
2262 req.nlh.nlmsg_seq = ++rth->seq;
2267 return rtnl_talk(rth, &req.nlh, NULL, 0);
2297 struct rtnl_handle rth, rth local
2774 struct rtnl_handle rth; local
3357 struct rtnl_handle rth; local
[all...]

Completed in 260 milliseconds