Home
last modified time | relevance | path

Searched refs:ccp (Results 1 – 25 of 51) sorted by relevance

123

/NextBSD/usr.sbin/ppp/
HDccp.c163 struct ccp *ccp; in ccp_ReportStatus() local
167 ccp = &l->ccp; in ccp_ReportStatus()
169 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, ccp->fsm.name, in ccp_ReportStatus()
170 State2Nam(ccp->fsm.state)); in ccp_ReportStatus()
171 if (ccp->fsm.state == ST_OPENED) { in ccp_ReportStatus()
173 protoname(ccp->my_proto), protoname(ccp->his_proto)); in ccp_ReportStatus()
175 ccp->uncompout, ccp->compout, in ccp_ReportStatus()
176 ccp->compin, ccp->uncompin); in ccp_ReportStatus()
179 if (ccp->in.algorithm != -1) in ccp_ReportStatus()
181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt)); in ccp_ReportStatus()
[all …]
HDccp.h91 struct ccp { struct
121 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL) argument
134 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *);
135 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *);
145 struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *,
150 extern void ccp_Init(struct ccp *, struct bundle *, struct link *,
152 extern void ccp_Setup(struct ccp *);
153 extern int ccp_Required(struct ccp *);
154 extern int ccp_MTUOverhead(struct ccp *);
159 extern u_short ccp_Proto(struct ccp *);
[all …]
HDpred.c174 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, in Pred1Output() argument
198 ccp->uncompout += orglen; in Pred1Output()
202 ccp->compout += len; in Pred1Output()
206 ccp->compout += orglen; in Pred1Output()
212 *proto = ccp_Proto(ccp); in Pred1Output()
217 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) in Pred1Input() argument
234 ccp->uncompin += len & 0x7fff; in Pred1Input()
237 ccp->compin += olen; in Pred1Input()
241 fsm_Reopen(&ccp->fsm); in Pred1Input()
250 fsm_Reopen(&ccp->fsm); in Pred1Input()
[all …]
HDdeflate.c69 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument
156 ccp->uncompout += ilen; in DeflateOutput()
157 ccp->compout += ilen; /* We measure this stuff too */ in DeflateOutput()
177 ccp->uncompout += ilen; in DeflateOutput()
178 ccp->compout += olen; in DeflateOutput()
183 *proto = ccp_Proto(ccp); in DeflateOutput()
199 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) in DeflateInput() argument
227 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
264 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
306 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
[all …]
HDmppe.c158 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument
173 ccp->compout += ilen; in MPPEOutput()
174 ccp->uncompout += ilen; in MPPEOutput()
223 *proto = ccp_Proto(ccp); in MPPEOutput()
225 ccp->uncompout += ilen; in MPPEOutput()
226 ccp->compout += len; in MPPEOutput()
241 MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) in MPPEInput() argument
250 ccp->compin += ilen; in MPPEInput()
315 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput()
330 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput()
[all …]
HDcommand.c951 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
955 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
1301 fp = &command_ChooseLink(arg)->ccp.fsm; in OpenCommand()
1343 fp = &command_ChooseLink(arg)->ccp.fsm; in CloseCommand()
1374 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand()
1375 &arg->bundle->ncp.mp.link.ccp.fsm; in DownCommand()
1422 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout()
1427 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS; in SetStoppedTimeout()
1754 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]); in SetVariable()
1755 if (l->ccp.cfg.deflate.out.winsize < 8 || in SetVariable()
[all …]
HDlink.h55 struct ccp ccp; /* Our compression FSM */ member
HDphysical.c215 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); in physical_Create()
615 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical()
616 p->link.ccp.fsm.link = &p->link; in iov2physical()
618 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical()
619 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical()
620 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical()
621 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical()
622 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical()
623 ccp_SetupCallbacks(&p->link.ccp); in iov2physical()
687 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov()
[all …]
HDdatalink.c242 ccp_Setup(&dl->physical->link.ccp); in datalink_LoginDone()
593 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm); in datalink_LayerUp()
614 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp); in datalink_NCPUp()
629 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ in datalink_NCPUp()
649 fsm_Up(&dl->physical->link.ccp.fsm); in datalink_NCPUp()
650 fsm_Open(&dl->physical->link.ccp.fsm); in datalink_NCPUp()
758 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_LayerDown()
919 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg, in datalink_Clone()
920 sizeof dl->physical->link.ccp.cfg); in datalink_Clone()
1009 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_Close()
[all …]
HDmp.c285 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp); in mp_Init()
367 if (ccp_SetOpenMode(&mp->link.ccp)) { in mp_Up()
368 fsm_Up(&mp->link.ccp.fsm); in mp_Up()
369 fsm_Open(&mp->link.ccp.fsm); in mp_Up()
393 fsm2initial(&mp->link.ccp.fsm); in mp_Down()
657 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
HDMakefile7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
HDphysical.h28 struct ccp;
HDipv6cp.c436 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipv6cp_PushPacket()
HDREADME.changes81 `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
HDipcp.c1457 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipcp_PushPacket()
HDbundle.c1891 overhead = ccp_MTUOverhead(&dl->physical->link.ccp); in bundle_CalculateBandwidth()
1913 overhead = ccp_MTUOverhead(&bundle->ncp.mp.link.ccp); in bundle_CalculateBandwidth()
/NextBSD/contrib/nvi/ex/
HDex_cscope.c112 CC const *ccp; in ex_cscope() local
143 if ((ccp = lookup_ccmd(np)) == NULL) { in ex_cscope()
149 return (ccp->function(sp, cmdp, p)); in ex_cscope()
855 CC const *ccp; in csc_help() local
858 if ((ccp = lookup_ccmd(cmd)) == NULL) { in csc_help()
864 "Command: %s (%s)\n", ccp->name, ccp->help_msg); in csc_help()
865 ex_printf(sp, " Usage: %s\n", ccp->usage_msg); in csc_help()
870 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in csc_help()
871 ex_printf(sp, " %*s: %s\n", 5, ccp->name, ccp->help_msg); in csc_help()
1063 CC const *ccp; in lookup_ccmd() local
[all …]
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/os/
HDcallb.c396 callb_cpr_t *ccp = (callb_cpr_t *)cp->c_arg; in callb_is_stopped() local
399 mutex_enter(ccp->cc_lockp); in callb_is_stopped()
401 if (ccp->cc_events & CALLB_CPR_SAFE) { in callb_is_stopped()
404 mutex_exit(ccp->cc_lockp); in callb_is_stopped()
417 (ccp->cc_events & CALLB_CPR_ALWAYS_SAFE) != 0; in callb_is_stopped()
418 mutex_exit(ccp->cc_lockp); in callb_is_stopped()
/NextBSD/contrib/tcsh/
HDsh.func.c1708 const Char *ccp; in tsetenv()
1718 for (ccp = name, dp = *ep; *ccp && Tolower(*ccp & TRIM) == Tolower(*dp); in tsetenv()
1719 ccp++, dp++) in tsetenv()
1721 for (ccp = name, dp = *ep; *ccp && (*ccp & TRIM) == *dp; ccp++, dp++) in tsetenv()
1724 if (*ccp != 0 || *dp != '=') in tsetenv()
HDsh.dir.c765 Char *ccp; in dopushd() local
767 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL) in dopushd()
770 dp->di_name = ccp; in dopushd()
/NextBSD/contrib/gcc/
HDChangeLog.tree-ssa301 * fold-const.c, tree-ssa-ccp.c, tree-ssa-dom.c,
499 * tree-ssa-ccp.c (maybe_fold_stmt_addition): Rename from
512 * tree-ssa-ccp.c (fold_stmt_r): Fix whitespace formatting.
560 * tree-ssa-ccp.c (ccp_fold): Tighten tests on return value from
808 tree-nrv.c, tree-sra.c, tree-ssa-alias.c, tree-ssa-ccp.c,
820 (tree-ssa-ccp.o): Ditto.
842 * tree-ssa-ccp.c: Include langhooks.h.
930 * tree-ssa-ccp.c (get_default_value): Expect only SSA_NAME and DECLs.
1133 * tree-ssa-ccp.c (ccp_fold_builtin): Don't call them.
1145 * tree-ssa-ccp.c (ccp_fold_builtin, case BUILT_IN_STRLEN): Do not
[all …]
/NextBSD/lib/libkvm/
HDkvm.c559 const char *ccp; in kvm_fdnlist_prefix() local
629 ccp = np->n_name + strlen(np->n_name) + 1; in kvm_fdnlist_prefix()
630 if (strcmp(ccp, p->n_name) != 0) in kvm_fdnlist_prefix()
/NextBSD/gnu/usr.bin/cc/cc_int/
HDMakefile24 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o \
/NextBSD/contrib/binutils/gas/config/
HDtc-arm.c1005 arm_reg_parse_multi (char **ccp) in arm_reg_parse_multi() argument
1007 char *start = *ccp; in arm_reg_parse_multi()
1034 *ccp = p; in arm_reg_parse_multi()
1039 arm_reg_alt_syntax (char **ccp, char *start, struct reg_entry *reg, in arm_reg_alt_syntax() argument
1057 unsigned long processor = strtoul (start, ccp, 10); in arm_reg_alt_syntax()
1058 if (*ccp != start && processor <= 15) in arm_reg_alt_syntax()
1080 arm_reg_parse (char **ccp, enum arm_reg_type type) in arm_reg_parse() argument
1082 char *start = *ccp; in arm_reg_parse()
1083 struct reg_entry *reg = arm_reg_parse_multi (ccp); in arm_reg_parse()
1093 if ((ret = arm_reg_alt_syntax (ccp, start, reg, type)) != FAIL) in arm_reg_parse()
[all …]
/NextBSD/contrib/opie/
HDconfigure1812 char const *const *ccp;
1821 ccp = &g + (g ? g-g : 0);
1823 ++ccp;
1824 p = (char**) ccp;
1825 ccp = (char const *const *) p;

123