Home
last modified time | relevance | path

Searched refs:u_char (Results 1 – 25 of 55) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/Include/
Dresolv.h162 const u_char **query,
164 u_char *ans,
169 const u_char *query,
171 u_char *ans,
206 uint16_t _getshort(const u_char *);
244 int b64_ntop __P((u_char const *, size_t, char *, size_t));
245 int b64_pton __P((char const *, u_char *, size_t));
246 int loc_aton __P((const char *, u_char *));
247 const char * loc_ntoa __P((const u_char *, char *));
248 int dn_skipname __P((const u_char *, const u_char *));
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/arpa/
Dnameser.h116 const u_char *_msg, *_eom;
118 const u_char *_sections[ns_s_max];
121 const u_char *_msg_ptr;
149 const u_char * rdata;
235 u_char * r_data; /* rdata fields as text string */
465 const u_char *t_cp = (const u_char *)(cp); \
473 const u_char *t_cp = (const u_char *)(cp); \
484 u_char *t_cp = (u_char *)(cp); \
485 *t_cp++ = (u_char)( t_s >> 8 ); \
486 *t_cp = (u_char)( t_s ); \
[all …]
Dinet.h100 u_int inet_nsap_addr(const char *, u_char *, int);
101 char *inet_nsap_ntoa(int, const u_char *, char *);
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_name.c75 static int dn_find(const u_char *, const u_char *,
76 const u_char * const *,
77 const u_char * const *);
91 ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) { in ns_name_ntop()
92 const u_char *cp; in ns_name_ntop()
94 u_char c; in ns_name_ntop()
172 ns_name_pton(const char *src, u_char *dst, size_t dstsiz) { in ns_name_pton()
173 u_char *label, *bp, *eom; in ns_name_pton()
218 *label = (u_char)c; in ns_name_pton()
245 *bp++ = (u_char)c; in ns_name_pton()
[all …]
Dres_comp.c117 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand()
133 dn_comp(const char *src, u_char *dst, int dstsiz, in dn_comp()
134 u_char **dnptrs, u_char **lastdnptr) in dn_comp()
137 (const u_char **)dnptrs, in dn_comp()
138 (const u_char **)lastdnptr)); in dn_comp()
145 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname()
146 const u_char *saveptr = ptr; in dn_skipname()
279 void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } in __putlong()
280 void __putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } in __putshort()
281 u_int32_t _getlong(const u_char *src) { return (ns_get32(src)); } in _getlong()
[all …]
Dinet_pton.c75 static int inet_pton4 (const char *src, u_char *dst);
76 static int inet_pton6 (const char *src, u_char *dst);
121 u_char *dst in inet_pton4()
126 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4()
139 *tp = (u_char)new; in inet_pton4()
176 u_char *dst in inet_pton6()
181 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6()
219 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
220 *tp++ = (u_char) val & 0xff; in inet_pton6()
236 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
[all …]
Dbase64.c168 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { in b64_ntop()
170 u_char input[3]; in b64_ntop()
171 u_char output[4]; in b64_ntop()
237 u_char *target, in b64_pton()
263 target[tarindex] = (u_char)((pos - Base64) << 2); in b64_pton()
271 target[tarindex] |= (u_char)((pos - Base64) >> 4); in b64_pton()
272 target[tarindex+1] = (u_char)(((pos - Base64) & 0x0f) in b64_pton()
282 target[tarindex] |= (u_char)((pos - Base64) >> 2); in b64_pton()
283 target[tarindex+1] = (u_char)(((pos - Base64) & 0x03) in b64_pton()
293 target[tarindex] |= (u_char)(pos - Base64); in b64_pton()
Dns_netint.c27 ns_get16(const u_char *src) { in ns_get16()
35 ns_get32(const u_char *src) { in ns_get32()
43 ns_put16(uint16_t src, u_char *dst) { in ns_put16()
48 ns_put32(uint32_t src, u_char *dst) { in ns_put32()
Dnsap_addr.c38 u_char *binary, in inet_nsap_addr()
42 u_char c, nib; in inet_nsap_addr()
51 c = (u_char)( toupper(c)); in inet_nsap_addr()
56 c = (u_char)( toupper(c)); in inet_nsap_addr()
75 register const u_char *binary, in inet_nsap_ntoa()
Dres_mkupdate.c92 static int getnum_str(u_char **, u_char *);
93 static int getword_str(char *, int, u_char **, u_char *);
110 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_mkupdate()
113 u_char *cp, *sp2, *startp, *endp; in res_mkupdate()
121 u_char *dnptrs[20], **dpp, **lastdnptr; in res_mkupdate()
367 getword_str(char *buf, int size, u_char **startpp, u_char *endp) { in getword_str()
384 *cp++ = (u_char)c; in getword_str()
395 getnum_str(u_char **startpp, u_char *endp) { in getnum_str()
Dres_debug.c206 p_query(const u_char *msg) { in p_query()
211 fp_query(const u_char *msg, FILE *file) { in fp_query()
220 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery()
294 const u_char *
295 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) { in p_cdnname()
308 const u_char *
309 p_cdname(const u_char *cp, const u_char *msg, FILE *file) { in p_cdname()
316 const u_char *
318 const u_char *cp, in p_fqnname()
319 const u_char *msg, in p_fqnname()
[all …]
Dres_mkquery.c108 const u_char *data, /* resource record data */ in res_mkquery()
110 const u_char *newrr_in, /* new rr for modify or append */ in res_mkquery()
111 u_char *buf, /* buffer to put query */ in res_mkquery()
116 register u_char *cp; in res_mkquery()
118 u_char *dnptrs[20], **dpp, **lastdnptr; in res_mkquery()
Dns_parse.c94 skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in skiprr()
95 const u_char *optr = ptr; in skiprr()
123 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse()
124 const u_char *eom = msg + msglen; in ns_initparse()
Dinet_net_pton.c81 static int inet_net_pton_ipv4 (const char *src, u_char *dst,
133 u_char *dst, in inet_net_pton_ipv4()
144 const u_char *odst = dst; in inet_net_pton_ipv4()
185 *dst++ = (u_char) tmp; in inet_net_pton_ipv4()
Dgetnetbydns.c109 u_char buf[MAXPACKET];
122 register u_char *cp; in getnetanswer()
124 u_char *eom; in getnetanswer()
261 anslen = res_query(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf)); in _getnetbydnsaddr()
295 anslen = res_search(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf)); in _getnetbydnsname()
Dns_addr.c58 static void Field (char *buf, u_char *out, int len);
101 Field(socketname, (u_char *)&addr.x_port, 2); in ns_addr()
112 u_char *out, in Field()
237 result[--reslen] = (u_char)sum; /* accumulate remainder */ in cvtbase()
Dres_send.c250 const u_char *buf, in res_nameinquery()
251 const u_char *eom in res_nameinquery()
254 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery()
290 const u_char *buf1, in res_queriesmatch()
291 const u_char *eom1, in res_queriesmatch()
292 const u_char *buf2, in res_queriesmatch()
293 const u_char *eom2 in res_queriesmatch()
296 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch()
332 const u_char *buf, in res_send()
334 u_char *ans, in res_send()
[all …]
Dinet_neta.c100 u_char b = (u_char)((src & 0xff000000) >> 24); in inet_neta()
/device/google/contexthub/firmware/lib/libc/
Dstrcasecmp.c34 typedef unsigned char u_char; typedef
41 static const u_char charmap[] = {
79 const u_char *cm = charmap; in strcasecmp()
80 const u_char *us1 = (const u_char *)s1; in strcasecmp()
81 const u_char *us2 = (const u_char *)s2; in strcasecmp()
93 const u_char *cm = charmap; in strncasecmp()
94 const u_char *us1 = (const u_char *)s1; in strncasecmp()
95 const u_char *us2 = (const u_char *)s2; in strncasecmp()
/device/linaro/bootloader/edk2/StdLib/Include/netatalk/
Dat.h58 u_char s_node;
62 #define ATADDR_ANYNODE (u_char)0x00
63 #define ATADDR_ANYPORT (u_char)0x00
64 #define ATADDR_BCAST (u_char)0xff /* There is no BCAST for NET */
67 u_char nr_phase;
80 u_char sat_len;
81 u_char sat_family;
82 u_char sat_port;
/device/linaro/bootloader/edk2/StdLib/Include/net/
Dif.h54 u_char ifi_type; /* ethernet, tokenring, etc */
55 u_char ifi_physical; /* e.g., AUI, Thinnet, 10base-T, etc */
56 u_char ifi_addrlen; /* media address length */
57 u_char ifi_hdrlen; /* media header length */
58 u_char ifi_recvquota; /* polling quota for receive intrs */
59 u_char ifi_xmitquota; /* polling quota for xmit intrs */
112 u_char ifm_version; /* future binary compatability */
113 u_char ifm_type; /* message type */
126 u_char ifam_version; /* future binary compatability */
127 u_char ifam_type; /* message type */
[all …]
Dif_dl.h62 u_char sdl_len; /* Total length of sockaddr */
63 u_char sdl_family; /* AF_DLI */
65 u_char sdl_type; /* interface type */
66 u_char sdl_nlen; /* interface name length, no trailing 0 reqd. */
67 u_char sdl_alen; /* link level address length */
68 u_char sdl_slen; /* link layer selector length */
/device/linaro/bootloader/edk2/StdLib/Include/netinet/
Dip.h64 u_char ip_vhl; /* version << 4 | header length >> 2 */
75 u_char ip_tos; /* type of service */
83 u_char ip_ttl; /* time to live */
84 u_char ip_p; /* protocol */
153 u_char ipt_code; /* IPOPT_TS */
154 u_char ipt_len; /* size of structure (variable) */
155 u_char ipt_ptr; /* index of current entry */
/device/linaro/bootloader/edk2/StdLib/Include/netns/
Dns.h94 u_char c_host[6];
99 u_char c_net[4];
118 u_char sns_len;
119 u_char sns_family;
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
Dinet_ntop.c61 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
62 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
103 inet_ntop4(const u_char *src, char *dst, socklen_t size) in inet_ntop4()
129 inet_ntop6(const u_char *src, char *dst, socklen_t size) in inet_ntop6()

123