Searched defs:abuf (Results 1 - 25 of 56) sorted by relevance

123

/external/c-ares/
H A Dares_expand_string.c42 const unsigned char *abuf,
53 if (encoded == abuf+alen)
57 if (encoded+elen.sig+1 > abuf+alen)
41 ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, int alen, unsigned char **s, long *enclen) argument
H A Dares_expand_name.c38 static int name_length(const unsigned char *encoded, const unsigned char *abuf,
42 * containing message is given by abuf and alen. The result given by
65 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, argument
76 nlen.sig = name_length(encoded, abuf, alen);
112 p = abuf + ((*p & ~INDIR_MASK) << 8 | *(p + 1));
143 static int name_length(const unsigned char *encoded, const unsigned char *abuf, argument
148 /* Allow the caller to pass us abuf + alen and have us check for it. */
149 if (encoded == abuf + alen)
157 if (encoded + 1 >= abuf + alen)
162 encoded = abuf
192 ares__expand_name_for_response(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) argument
[all...]
H A Dares_parse_mx_reply.c49 ares_parse_mx_reply (const unsigned char *abuf, int alen, argument
64 /* Give up if abuf doesn't have room for a header. */
69 qdcount = DNS_HEADER_QDCOUNT (abuf);
70 ancount = DNS_HEADER_ANCOUNT (abuf);
77 aptr = abuf + HFIXEDSZ;
78 status = ares_expand_name (aptr, abuf, alen, &hostname, &len);
82 if (aptr + len + QFIXEDSZ > abuf + alen)
93 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len);
99 if (aptr + RRFIXEDSZ > abuf + alen)
140 status = ares_expand_name (vptr, abuf, ale
[all...]
H A Dares_parse_ns_reply.c50 int ares_parse_ns_reply( const unsigned char* abuf, int alen, argument
64 /* Give up if abuf doesn't have room for a header. */
69 qdcount = DNS_HEADER_QDCOUNT( abuf );
70 ancount = DNS_HEADER_ANCOUNT( abuf );
75 aptr = abuf + HFIXEDSZ;
76 status = ares__expand_name_for_response( aptr, abuf, alen, &hostname, &len);
79 if ( aptr + len + QFIXEDSZ > abuf + alen )
99 status = ares__expand_name_for_response( aptr, abuf, alen, &rr_name, &len );
103 if ( aptr + RRFIXEDSZ > abuf + alen )
117 status = ares__expand_name_for_response( aptr, abuf, ale
[all...]
H A Dares_parse_srv_reply.c54 ares_parse_srv_reply (const unsigned char *abuf, int alen, argument
69 /* Give up if abuf doesn't have room for a header. */
74 qdcount = DNS_HEADER_QDCOUNT (abuf);
75 ancount = DNS_HEADER_ANCOUNT (abuf);
82 aptr = abuf + HFIXEDSZ;
83 status = ares_expand_name (aptr, abuf, alen, &hostname, &len);
87 if (aptr + len + QFIXEDSZ > abuf + alen)
98 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len);
104 if (aptr + RRFIXEDSZ > abuf + alen)
149 status = ares_expand_name (vptr, abuf, ale
[all...]
H A Dares_parse_a_reply.c54 int ares_parse_a_reply(const unsigned char *abuf, int alen, argument
76 /* Give up if abuf doesn't have room for a header. */
81 qdcount = DNS_HEADER_QDCOUNT(abuf);
82 ancount = DNS_HEADER_ANCOUNT(abuf);
87 aptr = abuf + HFIXEDSZ;
88 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len);
91 if (aptr + len + QFIXEDSZ > abuf + alen)
129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len);
133 if (aptr + RRFIXEDSZ > abuf + alen)
151 if (aptr + sizeof(struct in_addr) > abuf
[all...]
H A Dares_parse_aaaa_reply.c56 int ares_parse_aaaa_reply(const unsigned char *abuf, int alen, argument
78 /* Give up if abuf doesn't have room for a header. */
83 qdcount = DNS_HEADER_QDCOUNT(abuf);
84 ancount = DNS_HEADER_ANCOUNT(abuf);
89 aptr = abuf + HFIXEDSZ;
90 status = ares__expand_name_for_response(aptr, abuf, alen, &hostname, &len);
93 if (aptr + len + QFIXEDSZ > abuf + alen)
129 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len);
133 if (aptr + RRFIXEDSZ > abuf + alen)
151 if (aptr + sizeof(struct ares_in6_addr) > abuf
[all...]
H A Dares_parse_ptr_reply.c47 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, argument
63 /* Give up if abuf doesn't have room for a header. */
68 qdcount = DNS_HEADER_QDCOUNT(abuf);
69 ancount = DNS_HEADER_ANCOUNT(abuf);
74 aptr = abuf + HFIXEDSZ;
75 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len);
78 if (aptr + len + QFIXEDSZ > abuf + alen)
96 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len);
100 if (aptr + RRFIXEDSZ > abuf + alen)
115 status = ares__expand_name_for_response(aptr, abuf, ale
[all...]
H A Dares_parse_txt_reply.c54 ares_parse_txt_reply (const unsigned char *abuf, int alen, argument
71 /* Give up if abuf doesn't have room for a header. */
76 qdcount = DNS_HEADER_QDCOUNT (abuf);
77 ancount = DNS_HEADER_ANCOUNT (abuf);
84 aptr = abuf + HFIXEDSZ;
85 status = ares_expand_name (aptr, abuf, alen, &hostname, &len);
89 if (aptr + len + QFIXEDSZ > abuf + alen)
100 status = ares_expand_name (aptr, abuf, alen, &rr_name, &len);
106 if (aptr + RRFIXEDSZ > abuf + alen)
H A Dares_gethostbyaddr.c65 unsigned char *abuf, int alen);
144 unsigned char *abuf, int alen)
156 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV4,
162 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV6,
143 addr_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
H A Dares_query.c44 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen);
144 static void qcallback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
151 qquery->callback(qquery->arg, status, timeouts, abuf, alen);
155 rcode = DNS_HEADER_RCODE(abuf);
156 ancount = DNS_HEADER_ANCOUNT(abuf);
180 qquery->callback(qquery->arg, status, timeouts, abuf, alen);
H A Dares_search.c48 unsigned char *abuf, int alen);
50 unsigned char *abuf, int alen);
144 unsigned char *abuf, int alen)
155 end_squery(squery, status, abuf, alen);
206 unsigned char *abuf, int alen)
208 squery->callback(squery->arg, status, squery->timeouts, abuf, alen);
143 search_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
205 end_squery(struct search_query *squery, int status, unsigned char *abuf, int alen) argument
H A Dares_gethostbyname.c72 unsigned char *abuf, int alen);
179 unsigned char *abuf, int alen)
190 status = ares_parse_a_reply(abuf, alen, &host, NULL, NULL);
196 status = ares_parse_aaaa_reply(abuf, alen, &host, NULL, NULL);
178 host_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) argument
/external/iproute2/ip/
H A Dipprefix.c78 char abuf[256]; local
82 memset(abuf, '\0', sizeof(abuf));
86 abuf, sizeof(abuf)));
H A Diptoken.c54 char abuf[256]; local
86 abuf, sizeof(abuf)));
H A Dipaddrlabel.c62 char abuf[256]; local
81 abuf, sizeof(abuf)),
H A Dipmroute.c62 char abuf[256]; local
130 abuf, sizeof(abuf)));
138 abuf, sizeof(abuf)));
H A Diproute_lwtunnel.c61 char abuf[256]; local
69 abuf, sizeof(abuf)));
75 char abuf[256]; local
87 abuf, sizeof(abuf)));
94 abuf, sizeof(abuf)));
110 char abuf[ADDR64_BUF_SIZE]; local
113 abuf, sizeo local
121 char abuf[256]; local
[all...]
H A Diplink_bond.c339 char abuf[32]; local
342 len = ll_addr_a2n(abuf, sizeof(abuf), *argv);
346 abuf, len);
H A Dipmaddr.c207 char abuf[256]; local
223 abuf, sizeof(abuf)));
H A Dipneigh.c199 char abuf[256]; local
280 abuf, sizeof(abuf)));
/external/iproute2/tc/
H A Dtc_filter.c203 char abuf[256]; local
238 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent);
239 fprintf(fp, "parent %s ", abuf);
H A Dtc_qdisc.c213 char abuf[256]; local
245 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent);
246 fprintf(fp, "parent %s ", abuf);
/external/ipsec-tools/src/libipsec/
H A Dipsec_dump_policy.c282 char abuf[NI_MAXHOST * 2 + 2]; local
319 abuf[0] = '\0';
332 if (set_addresses(abuf, sizeof(abuf),
358 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
366 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/external/iproute2/bridge/
H A Dfdb.c107 SPRINT_BUF(abuf);
117 abuf, sizeof(abuf)));
244 char abuf[ETH_ALEN]; local
340 abuf, abuf+1, abuf+2,
341 abuf+3, abuf+4, abuf
[all...]

Completed in 400 milliseconds

123