Searched refs:MAXSTRLEN (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Dcall.h56 char dialed[MAXSTRLEN]; /* Number dialed for call */
57 char dialing[MAXSTRLEN]; /* Original caller ID */
58 char subaddy[MAXSTRLEN]; /* Sub address */
83 char errormsg[MAXSTRLEN]; /* Error message */
H A Daaa.h39 unsigned char secret[MAXSTRLEN]; /* The shared secret */
H A Dl2tp.h22 #define MAXSTRLEN 120 /* Maximum length of common strings */ macro
146 char hostname[MAXSTRLEN]; /* Remote hostname */
147 char vendor[MAXSTRLEN]; /* Vendor of remote product */
150 char secret[MAXSTRLEN]; /* Secret to use */
H A Dmisc.h39 char option[MAXSTRLEN];
H A Davp.c833 if (size > MAXSTRLEN - 1)
838 size = MAXSTRLEN - 1;
886 if (size > MAXSTRLEN - 1)
892 size = MAXSTRLEN - 1;
941 if (size > MAXSTRLEN - 1)
947 size = MAXSTRLEN - 1;
996 if (size > MAXSTRLEN - 1)
1002 size = MAXSTRLEN - 1;
1050 if (size > MAXSTRLEN - 1)
1055 size = MAXSTRLEN
[all...]
H A Dmisc.c189 /* Copies B into A (assuming A holds MAXSTRLEN bytes)
191 strncpy (a, b, MIN (size, MAXSTRLEN - 1));
192 a[MIN (size, MAXSTRLEN - 1)] = '\000';

Completed in 103 milliseconds