Home
last modified time | relevance | path

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

123

/freebsd-9-stable/usr.sbin/ppp/
Dccp.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 …]
Dccp.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 …]
Dpred.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 …]
Ddeflate.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 …]
Dmppe.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 …]
Dcommand.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 …]
Dlink.h55 struct ccp ccp; /* Our compression FSM */ member
Dphysical.c215 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); in physical_Create()
616 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical()
617 p->link.ccp.fsm.link = &p->link; in iov2physical()
619 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical()
620 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical()
621 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical()
622 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical()
623 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical()
624 ccp_SetupCallbacks(&p->link.ccp); in iov2physical()
688 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov()
[all …]
Ddatalink.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 …]
Dmp.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()
DMakefile7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
Dphysical.h28 struct ccp;
Dipv6cp.c436 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipv6cp_PushPacket()
DREADME.changes81 `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
Dipcp.c1457 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipcp_PushPacket()
/freebsd-9-stable/contrib/nvi/ex/
Dex_cscope.c115 CC const *ccp; local
142 if ((ccp = lookup_ccmd(cmd)) == NULL) {
148 return (ccp->function(sp, cmdp, p));
826 CC const *ccp; local
829 if ((ccp = lookup_ccmd(cmd)) == NULL) {
835 "Command: %s (%s)\n", ccp->name, ccp->help_msg);
836 ex_printf(sp, " Usage: %s\n", ccp->usage_msg);
841 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp)
842 ex_printf(sp, " %*s: %s\n", 5, ccp->name, ccp->help_msg);
1021 CC const *ccp; local
[all …]
/freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/os/
Dcallb.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()
/freebsd-9-stable/contrib/ntp/sntp/tests/
DfileHandlingTest.c38 const char *ccp; in DestroyPath() member
42 any.ccp = pathname; in DestroyPath()
/freebsd-9-stable/lib/libkvm/
Dkvm.c291 const char *ccp; in kvm_fdnlist_prefix() local
361 ccp = np->n_name + strlen(np->n_name) + 1; in kvm_fdnlist_prefix()
362 if (strcmp(ccp, p->n_name) != 0) in kvm_fdnlist_prefix()
/freebsd-9-stable/contrib/tcsh/
Dsh.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()
Dsh.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()
/freebsd-9-stable/contrib/gcc/
DChangeLog.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 …]
/freebsd-9-stable/contrib/nvi/build/
Dconfigure2027 char const *const *ccp;
2036 ccp = &g + (g ? g-g : 0);
2038 ++ccp;
2039 p = (char**) ccp;
2040 ccp = (char const *const *) p;
/freebsd-9-stable/gnu/usr.bin/cc/cc_int/
DMakefile22 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o \
/freebsd-9-stable/contrib/binutils/gas/config/
Dtc-arm.c1003 arm_reg_parse_multi (char **ccp) in arm_reg_parse_multi() argument
1005 char *start = *ccp; in arm_reg_parse_multi()
1032 *ccp = p; in arm_reg_parse_multi()
1037 arm_reg_alt_syntax (char **ccp, char *start, struct reg_entry *reg, in arm_reg_alt_syntax() argument
1055 unsigned long processor = strtoul (start, ccp, 10); in arm_reg_alt_syntax()
1056 if (*ccp != start && processor <= 15) in arm_reg_alt_syntax()
1078 arm_reg_parse (char **ccp, enum arm_reg_type type) in arm_reg_parse() argument
1080 char *start = *ccp; in arm_reg_parse()
1081 struct reg_entry *reg = arm_reg_parse_multi (ccp); in arm_reg_parse()
1091 if ((ret = arm_reg_alt_syntax (ccp, start, reg, type)) != FAIL) in arm_reg_parse()
[all …]

123