Searched refs:MAXNAMELEN (Results 1 – 6 of 6) sorted by relevance
/external/ppp/pppd/ |
D | pppd.h | 81 #define MAXNAMELEN 256 /* max length of hostname or name for auth */ macro 247 extern char remote_number[MAXNAMELEN]; /* Remote telephone number, if avail. */ 296 extern char user[MAXNAMELEN];/* Our name for authenticating ourselves */ 302 extern char our_name[MAXNAMELEN];/* Our name for authentication purposes */ 303 extern char remote_name[MAXNAMELEN]; /* Peer's name for authentication */
|
D | chap-new.c | 92 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN) 93 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN) 317 char rname[MAXNAMELEN+1]; in chap_handle_response() 445 char rname[MAXNAMELEN+1]; in chap_respond()
|
D | auth.c | 127 char peer_authname[MAXNAMELEN]; 143 char remote_number[MAXNAMELEN]; 240 char remote_name[MAXNAMELEN]; /* Peer's name for authentication */ 358 OPT_PRIO | OPT_PRIV | OPT_STATIC, NULL, MAXNAMELEN }, 366 &explicit_user, MAXNAMELEN }, 378 &explicit_remote, MAXNAMELEN }, 398 NULL, MAXNAMELEN }, 417 char u[MAXNAMELEN], p[MAXSECRETLEN]; 442 if (fgets(u, MAXNAMELEN - 1, ufile) == NULL
|
D | options.c | 101 char user[MAXNAMELEN]; /* Username for PAP */ 104 char our_name[MAXNAMELEN]; /* Our name for authentication purposes */ 1529 gethostname(hostname, MAXNAMELEN); 1532 strncat(hostname, ".", MAXNAMELEN - strlen(hostname)); 1534 strncat(hostname, *argv, MAXNAMELEN - strlen(hostname)); 1536 hostname[MAXNAMELEN-1] = 0;
|
D | main.c | 136 char hostname[MAXNAMELEN]; /* Our hostname */ 330 if (gethostname(hostname, MAXNAMELEN) < 0 ) { 334 hostname[MAXNAMELEN-1] = 0;
|
/external/ppp/pppd/plugins/radius/ |
D | radius.c | 117 char user[MAXNAMELEN];
|