Searched refs:islcp (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | ppp_async.c | 523 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument 524 if ((islcp && c < 0x20) || (ap->xaccm[c >> 5] & (1 << (c & 0x1f)))) {\ 537 int islcp; in ppp_async_encode() local 553 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_async_encode() 556 if (islcp) in ppp_async_encode() 563 if (islcp || flag_time == 0 || in ppp_async_encode() 572 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_async_encode() 573 PUT_BYTE(ap, buf, 0xff, islcp); in ppp_async_encode() 575 PUT_BYTE(ap, buf, 0x03, islcp); in ppp_async_encode() 591 PUT_BYTE(ap, buf, c, islcp); in ppp_async_encode() [all …]
|
D | ppp_synctty.c | 564 int islcp; in ppp_sync_txmunge() local 573 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_sync_txmunge() 576 if (data[0] == 0 && (ap->flags & SC_COMP_PROT) && !islcp) in ppp_sync_txmunge() 580 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_sync_txmunge()
|
D | pptp.c | 178 int islcp; in pptp_xmit() local 217 islcp = ((data[0] << 8) + data[1]) == PPP_LCP && 1 <= data[2] && data[2] <= 7; in pptp_xmit() 220 if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp) in pptp_xmit() 224 if ((opt->ppp_flags & SC_COMP_AC) == 0 || islcp) { in pptp_xmit()
|
/linux-2.6.39/net/irda/irnet/ |
D | irnet_ppp.c | 855 int islcp; /* Protocol == LCP */ in irnet_prepare_skb() local 868 islcp = (proto == PPP_LCP) && (1 <= data[2]) && (data[2] <= 7); in irnet_prepare_skb() 871 if((data[0] == 0) && (ap->flags & SC_COMP_PROT) && (!islcp)) in irnet_prepare_skb() 875 needaddr = 2*((ap->flags & SC_COMP_AC) == 0 || islcp); in irnet_prepare_skb()
|