Lines Matching refs:physical

266   Concatinate(arg->cx->physical->link.lcp.cfg.ident,  in IdentCommand()
267 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
279 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification()
398 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand()
917 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape()
922 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
924 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
944 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped()
948 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
951 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
955 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
1258 if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) { in TerminalCommand()
1260 State2Nam(arg->cx->physical->link.lcp.fsm.state)); in TerminalCommand()
1292 if (cx->physical->link.lcp.fsm.state == ST_OPENED) in OpenCommand()
1293 fsm_Reopen(&cx->physical->link.lcp.fsm); in OpenCommand()
1374 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand()
1397 physical_SetSync(arg->cx->physical); in SetModemSpeed()
1407 if (physical_SetSpeed(arg->cx->physical, speed)) in SetModemSpeed()
1419 struct link *l = &arg->cx->physical->link; in SetStoppedTimeout()
1548 arg->cx->physical->async.cfg.EscMap[code] = 0; in SetEscape()
1553 arg->cx->physical->async.cfg.EscMap[code >> 3] |= (1 << (code & 7)); in SetEscape()
1554 arg->cx->physical->async.cfg.EscMap[32] = 1; in SetEscape()
1823 physical_SetDeviceList(cx->physical, arg->argc - arg->argn, in SetVariable()
1831 cx->physical->link.lcp.cfg.accmap = (u_int32_t)ulong_val; in SetVariable()
1995 cx->physical->link.lcp.cfg.openmode = arg->argc > arg->argn+1 ? in SetVariable()
1998 cx->physical->link.lcp.cfg.openmode = OPEN_PASSIVE; in SetVariable()
2079 &cx->physical->link.lcp.cfg.fsm.timeout, in SetVariable()
2080 &cx->physical->link.lcp.cfg.fsm.maxreq, in SetVariable()
2081 &cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES); in SetVariable()
2237 cx->physical->cfg.cd.delay = long_val; in SetVariable()
2238 cx->physical->cfg.cd.necessity = argp[strlen(argp)-1] == '!' ? in SetVariable()
2241 cx->physical->cfg.cd.necessity = CD_NOTREQUIRED; in SetVariable()
2243 cx->physical->cfg.cd.delay = 0; in SetVariable()
2244 cx->physical->cfg.cd.necessity = CD_DEFAULT; in SetVariable()
2250 res = physical_SetParity(arg->cx->physical, argp); in SetVariable()
2259 physical_SetRtsCts(arg->cx->physical, 1); in SetVariable()
2261 physical_SetRtsCts(arg->cx->physical, 0); in SetVariable()
2313 physical_SetPPPoEnonstandard(arg->cx->physical, 1); in SetVariable()
2315 physical_SetPPPoEnonstandard(arg->cx->physical, 0); in SetVariable()
2737 return &arg->cx->physical->link; in command_ChooseLink()
2741 return &dl->physical->link; in command_ChooseLink()
2864 cx->physical->link.lcp.cfg.acfcomp &= keep; in NegotiateSet()
2865 cx->physical->link.lcp.cfg.acfcomp |= add; in NegotiateSet()
2868 cx->physical->link.lcp.cfg.chap05 &= keep; in NegotiateSet()
2869 cx->physical->link.lcp.cfg.chap05 |= add; in NegotiateSet()
2873 cx->physical->link.lcp.cfg.chap80nt &= keep; in NegotiateSet()
2874 cx->physical->link.lcp.cfg.chap80nt |= add; in NegotiateSet()
2877 cx->physical->link.lcp.cfg.chap80lm &= keep; in NegotiateSet()
2878 cx->physical->link.lcp.cfg.chap80lm |= add; in NegotiateSet()
2881 cx->physical->link.lcp.cfg.chap81 &= keep; in NegotiateSet()
2882 cx->physical->link.lcp.cfg.chap81 |= add; in NegotiateSet()
2898 if (cx->physical->link.lcp.cfg.echo && !add) { in NegotiateSet()
2899 cx->physical->link.lcp.cfg.echo = 0; in NegotiateSet()
2900 cx->physical->hdlc.lqm.method &= ~LQM_ECHO; in NegotiateSet()
2901 if (cx->physical->hdlc.lqm.method & LQM_ECHO && in NegotiateSet()
2902 !cx->physical->link.lcp.want_lqrperiod && in NegotiateSet()
2903 cx->physical->hdlc.lqm.timer.load) { in NegotiateSet()
2904 cx->physical->hdlc.lqm.timer.load = 0; in NegotiateSet()
2905 lqr_StopTimer(cx->physical); in NegotiateSet()
2907 } else if (!cx->physical->link.lcp.cfg.echo && add) { in NegotiateSet()
2908 cx->physical->link.lcp.cfg.echo = 1; in NegotiateSet()
2909 cx->physical->hdlc.lqm.method |= LQM_ECHO; in NegotiateSet()
2910 cx->physical->hdlc.lqm.timer.load = in NegotiateSet()
2911 cx->physical->link.lcp.cfg.lqrperiod * SECTICKS; in NegotiateSet()
2912 if (cx->physical->link.lcp.fsm.state == ST_OPENED) in NegotiateSet()
2913 (*cx->physical->hdlc.lqm.timer.func)(&cx->physical->link.lcp); in NegotiateSet()
2921 cx->physical->link.lcp.cfg.lqr &= keep; in NegotiateSet()
2922 cx->physical->link.lcp.cfg.lqr |= add; in NegotiateSet()
2925 cx->physical->link.lcp.cfg.pap &= keep; in NegotiateSet()
2926 cx->physical->link.lcp.cfg.pap |= add; in NegotiateSet()
2937 cx->physical->link.lcp.cfg.protocomp &= keep; in NegotiateSet()
2938 cx->physical->link.lcp.cfg.protocomp |= add; in NegotiateSet()
3128 t = &cx->physical->link.stats.total; in ClearCommand()