Home
last modified time | relevance | path

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

/drivers/net/ppp/
Dppp_async.c514 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument
515 if ((islcp && c < 0x20) || (ap->xaccm[c >> 5] & (1 << (c & 0x1f)))) {\
528 int islcp; in ppp_async_encode() local
544 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_async_encode()
547 if (islcp) in ppp_async_encode()
554 if (islcp || flag_time == 0 || in ppp_async_encode()
563 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_async_encode()
564 PUT_BYTE(ap, buf, 0xff, islcp); in ppp_async_encode()
566 PUT_BYTE(ap, buf, 0x03, islcp); in ppp_async_encode()
582 PUT_BYTE(ap, buf, c, islcp); in ppp_async_encode()
[all …]
Dppp_synctty.c507 int islcp; in ppp_sync_txmunge() local
516 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_sync_txmunge()
519 if (data[0] == 0 && (ap->flags & SC_COMP_PROT) && !islcp) in ppp_sync_txmunge()
523 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_sync_txmunge()
Dpptp.c158 int islcp; in pptp_xmit() local
193 islcp = ((data[0] << 8) + data[1]) == PPP_LCP && 1 <= data[2] && data[2] <= 7; in pptp_xmit()
196 if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp) in pptp_xmit()
200 if ((opt->ppp_flags & SC_COMP_AC) == 0 || islcp) { in pptp_xmit()