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 246 extern char remote_number[MAXNAMELEN]; /* Remote telephone number, if avail. */ 291 extern char user[MAXNAMELEN];/* Our name for authenticating ourselves */ 296 extern char our_name[MAXNAMELEN];/* Our name for authentication purposes */ 297 extern char remote_name[MAXNAMELEN]; /* Peer's name for authentication */
|
D | chap-new.c | 91 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN) 92 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN) 318 char rname[MAXNAMELEN+1]; in chap_handle_response() 430 char rname[MAXNAMELEN+1]; in chap_respond()
|
D | auth.c | 129 char peer_authname[MAXNAMELEN]; 148 char remote_number[MAXNAMELEN]; 239 char remote_name[MAXNAMELEN]; /* Peer's name for authentication */ 359 OPT_PRIO | OPT_PRIV | OPT_STATIC, NULL, MAXNAMELEN }, 366 "Set name for auth with peer", OPT_PRIO | OPT_STATIC, NULL, MAXNAMELEN }, 377 &explicit_remote, MAXNAMELEN }, 394 NULL, MAXNAMELEN }, 412 char u[MAXNAMELEN], p[MAXSECRETLEN]; 432 if (fgets(u, MAXNAMELEN - 1, ufile) == NULL
|
D | options.c | 96 char user[MAXNAMELEN]; /* Username for PAP */ 99 char our_name[MAXNAMELEN]; /* Our name for authentication purposes */ 1497 gethostname(hostname, MAXNAMELEN); 1500 strncat(hostname, ".", MAXNAMELEN - strlen(hostname)); 1502 strncat(hostname, *argv, MAXNAMELEN - strlen(hostname)); 1504 hostname[MAXNAMELEN-1] = 0;
|
D | main.c | 134 char hostname[MAXNAMELEN]; /* Our hostname */ 330 if (gethostname(hostname, MAXNAMELEN) < 0 ) { 334 hostname[MAXNAMELEN-1] = 0;
|
/external/ppp/pppd/plugins/radius/ |
D | radius.c | 115 char user[MAXNAMELEN];
|