Lines Matching refs:pp_flags

170 	if (! (p->pp_flags & PP_TIMO))   in sppp_set_timeout()
176 p->pp_flags |= PP_TIMO; in sppp_set_timeout()
183 if (p->pp_flags & PP_TIMO) in sppp_clear_timeout()
186 p->pp_flags &= ~PP_TIMO; in sppp_clear_timeout()
222 if (sp->pp_flags & PP_DEBUG) in sppp_input()
235 invalid: if (sp->pp_flags & PP_DEBUG) in sppp_input()
243 if (sp->pp_flags & PP_CISCO) { in sppp_input()
244 if (sp->pp_flags & PP_DEBUG) in sppp_input()
256 if (sp->pp_flags & PP_DEBUG) in sppp_input()
274 if(sp->pp_flags&PP_DEBUG) in sppp_input()
296 if (! (sp->pp_flags & PP_CISCO)) { in sppp_input()
297 if (sp->pp_flags & PP_DEBUG) in sppp_input()
341 if(sp->pp_flags&PP_CISCO) in sppp_hard_header()
351 if(sp->pp_flags & PP_CISCO) in sppp_hard_header()
388 if (! (sp->pp_flags & PP_KEEPALIVE) || in sppp_keepalive()
393 if (! (sp->pp_flags & PP_CISCO) && in sppp_keepalive()
401 if (! (sp->pp_flags & PP_CISCO)) { in sppp_keepalive()
413 if (sp->pp_flags & PP_CISCO) in sppp_keepalive()
441 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
449 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
475 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
491 } else if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
577 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
629 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
654 if (sp->pp_flags & PP_DEBUG) in sppp_lcp_input()
675 if (sp->pp_flags & PP_DEBUG) in sppp_cisco_input()
682 if (sp->pp_flags & PP_DEBUG) in sppp_cisco_input()
689 if (sp->pp_flags & PP_DEBUG) in sppp_cisco_input()
787 if (sp->pp_flags & PP_DEBUG) { in sppp_cp_send()
837 if (sp->pp_flags & PP_DEBUG) in sppp_cisco_send()
882 if (!(sp->pp_flags & PP_CISCO)) { in sppp_open()
911 if (!(sp->pp_flags & PP_CISCO)) in sppp_reopen()
971 sp->pp_flags|=PP_CISCO; in sppp_do_ioctl()
975 sp->pp_flags&=~PP_CISCO; in sppp_do_ioctl()
979 sp->pp_flags&=~PP_DEBUG; in sppp_do_ioctl()
981 sp->pp_flags|=PP_DEBUG; in sppp_do_ioctl()
984 if(copy_to_user(ifr->ifr_data, &sp->pp_flags, sizeof(sp->pp_flags))) in sppp_do_ioctl()
988 if(copy_from_user(&sp->pp_flags, ifr->ifr_data, sizeof(sp->pp_flags))) in sppp_do_ioctl()
1033 sp->pp_flags = PP_KEEPALIVE|PP_CISCO|debug;/*PP_DEBUG;*/ in sppp_attach()
1160 if (sp->pp_flags & PP_DEBUG) in sppp_ipcp_input()
1167 if (sp->pp_flags & PP_DEBUG) { in sppp_ipcp_input()
1184 if (sp->pp_flags & PP_DEBUG) in sppp_ipcp_input()
1290 sp->pp_flags &= ~PP_TIMO; in sppp_cp_timeout()
1291 if (! (sp->pp_if->flags & IFF_UP) || (sp->pp_flags & PP_CISCO)) { in sppp_cp_timeout()