Searched refs:islcp (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ppp/ |
D | ppp_async.c | 519 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument 520 if ((islcp && c < 0x20) || (ap->xaccm[c >> 5] & (1 << (c & 0x1f)))) {\ 533 int islcp; in ppp_async_encode() local 549 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_async_encode() 552 if (islcp) in ppp_async_encode() 559 if (islcp || flag_time == 0 || in ppp_async_encode() 568 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_async_encode() 569 PUT_BYTE(ap, buf, 0xff, islcp); in ppp_async_encode() 571 PUT_BYTE(ap, buf, 0x03, islcp); in ppp_async_encode() 587 PUT_BYTE(ap, buf, c, islcp); in ppp_async_encode() [all …]
|
D | ppp_synctty.c | 512 int islcp; in ppp_sync_txmunge() local 521 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_sync_txmunge() 524 if (data[0] == 0 && (ap->flags & SC_COMP_PROT) && !islcp) in ppp_sync_txmunge() 528 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_sync_txmunge()
|
D | pptp.c | 140 int islcp; in pptp_xmit() local 179 islcp = ((data[0] << 8) + data[1]) == PPP_LCP && 1 <= data[2] && data[2] <= 7; in pptp_xmit() 182 if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp) in pptp_xmit() 186 if ((opt->ppp_flags & SC_COMP_AC) == 0 || islcp) { in pptp_xmit()
|