Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c249 unsigned char *mssopt = NULL; in clampMSS() local
342 mssopt = opt; in clampMSS()
360 if (mssopt) break; in clampMSS()
364 if (mssopt) { in clampMSS()
365 unsigned mss = mssopt[2] * 256 + mssopt[3]; in clampMSS()
370 mssopt[2] = (((unsigned) clampMss) >> 8) & 0xFF; in clampMSS()
371 mssopt[3] = ((unsigned) clampMss) & 0xFF; in clampMSS()