Searched refs:islcp (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | ppp_async.c | 535 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument 536 if ((islcp && c < 0x20) || (ap->xaccm[c >> 5] & (1 << (c & 0x1f)))) {\ 549 int islcp; in ppp_async_encode() local 565 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_async_encode() 568 if (islcp) in ppp_async_encode() 575 if (islcp || flag_time == 0 in ppp_async_encode() 584 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_async_encode() 585 PUT_BYTE(ap, buf, 0xff, islcp); in ppp_async_encode() 587 PUT_BYTE(ap, buf, 0x03, islcp); in ppp_async_encode() 603 PUT_BYTE(ap, buf, c, islcp); in ppp_async_encode() [all …]
|
D | ppp_synctty.c | 540 int islcp; in ppp_sync_txmunge() local 549 islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7; in ppp_sync_txmunge() 552 if (data[0] == 0 && (ap->flags & SC_COMP_PROT) && !islcp) in ppp_sync_txmunge() 556 if ((ap->flags & SC_COMP_AC) == 0 || islcp) { in ppp_sync_txmunge()
|
/linux-2.4.37.9/net/irda/irnet/ |
D | irnet_ppp.c | 775 int islcp; /* Protocol == LCP */ in irnet_prepare_skb() local 788 islcp = (proto == PPP_LCP) && (1 <= data[2]) && (data[2] <= 7); in irnet_prepare_skb() 791 if((data[0] == 0) && (ap->flags & SC_COMP_PROT) && (!islcp)) in irnet_prepare_skb() 795 needaddr = 2*((ap->flags & SC_COMP_AC) == 0 || islcp); in irnet_prepare_skb()
|