Home
last modified time | relevance | path

Searched refs:UINT4 (Results 1 – 11 of 11) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dip_util.c29 UINT4 rc_get_ipaddr (char *host) in rc_get_ipaddr()
40 return ((UINT4) 0); in rc_get_ipaddr()
42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
103 const char *rc_ip_hostname (UINT4 h_ipaddr) in rc_ip_hostname()
106 UINT4 n_ipaddr = htonl (h_ipaddr); in rc_ip_hostname()
125 UINT4 rc_own_ipaddress(void) in rc_own_ipaddress()
127 static UINT4 this_host_ipaddr = 0; in rc_own_ipaddress()
Dradiusclient.h27 typedef unsigned int UINT4; typedef
329 UINT4 lvalue;
389 VALUE_PAIR *rc_avpair_get __P((VALUE_PAIR *, UINT4));
401 int rc_auth __P((UINT4, VALUE_PAIR *, VALUE_PAIR **, char *, REQUEST_INFO *));
402 int rc_auth_using_server __P((SERVER *, UINT4, VALUE_PAIR *, VALUE_PAIR **,
405 int rc_acct __P((UINT4, VALUE_PAIR *));
406 int rc_acct_using_server __P((SERVER *, UINT4, VALUE_PAIR *));
413 UINT4 rc_map2id __P((char *));
421 int rc_find_server __P((char *, UINT4 *, char *));
429 DICT_VALUE * rc_dict_getval __P((UINT4, char *));
[all …]
Dsendserver.c37 UINT4 lvalue; in rc_pack_list()
74 length = sizeof(UINT4); in rc_pack_list()
78 memcpy(buf, (char *) &lvalue, sizeof(UINT4)); in rc_pack_list()
167 *buf++ = sizeof (UINT4) + 2; in rc_pack_list()
169 memcpy (buf, (char *) &lvalue, sizeof (UINT4)); in rc_pack_list()
170 buf += sizeof (UINT4); in rc_pack_list()
171 total_length += sizeof (UINT4) + 2; in rc_pack_list()
201 UINT4 auth_ipaddr; in rc_send_server()
Dbuildreq.c26 UINT4 client_id; in rc_get_nas_id()
162 int rc_auth(UINT4 client_port, VALUE_PAIR *send, VALUE_PAIR **received, in rc_auth()
187 UINT4 client_port, in rc_auth_using_server()
290 UINT4 client_port, in rc_acct_using_server()
360 int rc_acct(UINT4 client_port, VALUE_PAIR *send) in rc_acct()
419 UINT4 service_type; in rc_check()
Dconfig.c410 static int find_match (UINT4 *ip_addr, char *hostname) in find_match()
412 UINT4 addr; in find_match()
431 addr = ** (UINT4 **) paddr; in find_match()
450 int rc_find_server (char *server_name, UINT4 *ip_addr, char *secret) in rc_find_server()
452 UINT4 myipaddr = 0; in rc_find_server()
463 if ((*ip_addr = rc_get_ipaddr (server_name)) == (UINT4) 0) in rc_find_server()
Davpair.c90 vp->lvalue = * (UINT4 *) pval; in rc_avpair_assign()
158 UINT4 lvalue; in rc_avpair_gen()
234 sizeof (UINT4)); in rc_avpair_gen()
268 UINT4 lvalue; in rc_extract_vendor_specific_attributes()
329 sizeof (UINT4)); in rc_extract_vendor_specific_attributes()
352 VALUE_PAIR *rc_avpair_get (VALUE_PAIR *vp, UINT4 attr) in rc_avpair_get()
641 pair->lvalue = (UINT4) timelocal (tm); in rc_avpair_parse()
643 pair->lvalue = (UINT4) mktime (tm); in rc_avpair_parse()
Dclientid.c17 UINT4 id;
104 UINT4 rc_map2id(char *name) in rc_map2id()
Dradius.c249 UINT4 av_type; in radius_pap_auth()
338 UINT4 av_type; in radius_chap_verify()
852 UINT4 av_type; in radius_acct_start()
939 UINT4 av_type; in radius_acct_stop()
1080 UINT4 av_type; in radius_acct_interim()
Ddict.c395 DICT_VALUE * rc_dict_getval (UINT4 value, char *attrname) in rc_dict_getval()
/external/ppp/pppd/
Dmd5.c76 {(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \
81 {(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
86 {(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \
91 {(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \
108 mdContext->i[0] = mdContext->i[1] = (UINT4)0;
112 mdContext->buf[0] = (UINT4)0x67452301;
113 mdContext->buf[1] = (UINT4)0xefcdab89;
114 mdContext->buf[2] = (UINT4)0x98badcfe;
115 mdContext->buf[3] = (UINT4)0x10325476;
127 UINT4 in[16];
[all …]
Dmd5.h44 typedef unsigned int UINT4; typedef
47 typedef unsigned long UINT4; typedef
54 UINT4 i[2]; /* number of _bits_ handled mod 2^64 */
55 UINT4 buf[4]; /* scratch buffer */