Lines Matching refs:physical
263 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
264 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
276 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification()
395 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand()
910 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape()
915 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
917 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
937 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped()
941 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
944 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
948 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
1251 if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) { in TerminalCommand()
1253 State2Nam(arg->cx->physical->link.lcp.fsm.state)); in TerminalCommand()
1285 if (cx->physical->link.lcp.fsm.state == ST_OPENED) in OpenCommand()
1286 fsm_Reopen(&cx->physical->link.lcp.fsm); in OpenCommand()
1367 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand()
1390 physical_SetSync(arg->cx->physical); in SetModemSpeed()
1400 if (physical_SetSpeed(arg->cx->physical, speed)) in SetModemSpeed()
1412 struct link *l = &arg->cx->physical->link; in SetStoppedTimeout()
1541 arg->cx->physical->async.cfg.EscMap[code] = 0; in SetEscape()
1546 arg->cx->physical->async.cfg.EscMap[code >> 3] |= (1 << (code & 7)); in SetEscape()
1547 arg->cx->physical->async.cfg.EscMap[32] = 1; in SetEscape()
1816 physical_SetDeviceList(cx->physical, arg->argc - arg->argn, in SetVariable()
1824 cx->physical->link.lcp.cfg.accmap = (u_int32_t)ulong_val; in SetVariable()
1988 cx->physical->link.lcp.cfg.openmode = arg->argc > arg->argn+1 ? in SetVariable()
1991 cx->physical->link.lcp.cfg.openmode = OPEN_PASSIVE; in SetVariable()
2072 &cx->physical->link.lcp.cfg.fsm.timeout, in SetVariable()
2073 &cx->physical->link.lcp.cfg.fsm.maxreq, in SetVariable()
2074 &cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES); in SetVariable()
2230 cx->physical->cfg.cd.delay = long_val; in SetVariable()
2231 cx->physical->cfg.cd.necessity = argp[strlen(argp)-1] == '!' ? in SetVariable()
2234 cx->physical->cfg.cd.necessity = CD_NOTREQUIRED; in SetVariable()
2236 cx->physical->cfg.cd.delay = 0; in SetVariable()
2237 cx->physical->cfg.cd.necessity = CD_DEFAULT; in SetVariable()
2243 res = physical_SetParity(arg->cx->physical, argp); in SetVariable()
2252 physical_SetRtsCts(arg->cx->physical, 1); in SetVariable()
2254 physical_SetRtsCts(arg->cx->physical, 0); in SetVariable()
2306 physical_SetPPPoEnonstandard(arg->cx->physical, 1); in SetVariable()
2308 physical_SetPPPoEnonstandard(arg->cx->physical, 0); in SetVariable()
2730 return &arg->cx->physical->link; in command_ChooseLink()
2734 return &dl->physical->link; in command_ChooseLink()
2857 cx->physical->link.lcp.cfg.acfcomp &= keep; in NegotiateSet()
2858 cx->physical->link.lcp.cfg.acfcomp |= add; in NegotiateSet()
2861 cx->physical->link.lcp.cfg.chap05 &= keep; in NegotiateSet()
2862 cx->physical->link.lcp.cfg.chap05 |= add; in NegotiateSet()
2866 cx->physical->link.lcp.cfg.chap80nt &= keep; in NegotiateSet()
2867 cx->physical->link.lcp.cfg.chap80nt |= add; in NegotiateSet()
2870 cx->physical->link.lcp.cfg.chap80lm &= keep; in NegotiateSet()
2871 cx->physical->link.lcp.cfg.chap80lm |= add; in NegotiateSet()
2874 cx->physical->link.lcp.cfg.chap81 &= keep; in NegotiateSet()
2875 cx->physical->link.lcp.cfg.chap81 |= add; in NegotiateSet()
2891 if (cx->physical->link.lcp.cfg.echo && !add) { in NegotiateSet()
2892 cx->physical->link.lcp.cfg.echo = 0; in NegotiateSet()
2893 cx->physical->hdlc.lqm.method &= ~LQM_ECHO; in NegotiateSet()
2894 if (cx->physical->hdlc.lqm.method & LQM_ECHO && in NegotiateSet()
2895 !cx->physical->link.lcp.want_lqrperiod && in NegotiateSet()
2896 cx->physical->hdlc.lqm.timer.load) { in NegotiateSet()
2897 cx->physical->hdlc.lqm.timer.load = 0; in NegotiateSet()
2898 lqr_StopTimer(cx->physical); in NegotiateSet()
2900 } else if (!cx->physical->link.lcp.cfg.echo && add) { in NegotiateSet()
2901 cx->physical->link.lcp.cfg.echo = 1; in NegotiateSet()
2902 cx->physical->hdlc.lqm.method |= LQM_ECHO; in NegotiateSet()
2903 cx->physical->hdlc.lqm.timer.load = in NegotiateSet()
2904 cx->physical->link.lcp.cfg.lqrperiod * SECTICKS; in NegotiateSet()
2905 if (cx->physical->link.lcp.fsm.state == ST_OPENED) in NegotiateSet()
2906 (*cx->physical->hdlc.lqm.timer.func)(&cx->physical->link.lcp); in NegotiateSet()
2914 cx->physical->link.lcp.cfg.lqr &= keep; in NegotiateSet()
2915 cx->physical->link.lcp.cfg.lqr |= add; in NegotiateSet()
2918 cx->physical->link.lcp.cfg.pap &= keep; in NegotiateSet()
2919 cx->physical->link.lcp.cfg.pap |= add; in NegotiateSet()
2930 cx->physical->link.lcp.cfg.protocomp &= keep; in NegotiateSet()
2931 cx->physical->link.lcp.cfg.protocomp |= add; in NegotiateSet()
3121 t = &cx->physical->link.stats.total; in ClearCommand()