Home
last modified time | relevance | path

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

12

/dragonfly/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.h92 struct ccp { struct
122 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL) argument
135 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *);
136 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *);
146 struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *,
151 extern void ccp_Init(struct ccp *, struct bundle *, struct link *,
153 extern void ccp_Setup(struct ccp *);
154 extern int ccp_Required(struct ccp *);
155 extern int ccp_MTUOverhead(struct ccp *);
160 extern u_short ccp_Proto(struct ccp *);
[all …]
HDpred.c176 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, u_short *proto, in Pred1Output() argument
200 ccp->uncompout += orglen; in Pred1Output()
204 ccp->compout += len; in Pred1Output()
208 ccp->compout += orglen; in Pred1Output()
214 *proto = ccp_Proto(ccp); in Pred1Output()
219 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) in Pred1Input() argument
236 ccp->uncompin += len & 0x7fff; in Pred1Input()
239 ccp->compin += olen; in Pred1Input()
243 fsm_Reopen(&ccp->fsm); in Pred1Input()
252 fsm_Reopen(&ccp->fsm); in Pred1Input()
[all …]
HDdeflate.c70 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument
157 ccp->uncompout += ilen; in DeflateOutput()
158 ccp->compout += ilen; /* We measure this stuff too */ in DeflateOutput()
178 ccp->uncompout += ilen; in DeflateOutput()
179 ccp->compout += olen; in DeflateOutput()
184 *proto = ccp_Proto(ccp); in DeflateOutput()
200 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) in DeflateInput() argument
228 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
265 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
307 ccp_SendResetReq(&ccp->fsm); in DeflateInput()
[all …]
HDmppe.c159 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument
174 ccp->compout += ilen; in MPPEOutput()
175 ccp->uncompout += ilen; in MPPEOutput()
224 *proto = ccp_Proto(ccp); in MPPEOutput()
226 ccp->uncompout += ilen; in MPPEOutput()
227 ccp->compout += len; in MPPEOutput()
242 MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) in MPPEInput() argument
251 ccp->compin += ilen; in MPPEInput()
316 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput()
331 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput()
[all …]
HDcommand.c919 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
923 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
1273 fp = &command_ChooseLink(arg)->ccp.fsm; in OpenCommand()
1315 fp = &command_ChooseLink(arg)->ccp.fsm; in CloseCommand()
1346 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand()
1347 &arg->bundle->ncp.mp.link.ccp.fsm; in DownCommand()
1394 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout()
1399 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS; in SetStoppedTimeout()
1726 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]); in SetVariable()
1727 if (l->ccp.cfg.deflate.out.winsize < 8 || in SetVariable()
[all …]
HDphysical.c204 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); in physical_Create()
600 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical()
601 p->link.ccp.fsm.link = &p->link; in iov2physical()
603 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical()
604 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical()
605 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical()
606 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical()
607 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical()
608 ccp_SetupCallbacks(&p->link.ccp); in iov2physical()
672 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov()
[all …]
HDlink.h56 struct ccp ccp; /* Our compression FSM */ member
HDdatalink.c241 ccp_Setup(&dl->physical->link.ccp); in datalink_LoginDone()
592 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm); in datalink_LayerUp()
613 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp); in datalink_NCPUp()
628 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ in datalink_NCPUp()
648 fsm_Up(&dl->physical->link.ccp.fsm); in datalink_NCPUp()
649 fsm_Open(&dl->physical->link.ccp.fsm); in datalink_NCPUp()
757 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_LayerDown()
918 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg, in datalink_Clone()
919 sizeof dl->physical->link.ccp.cfg); in datalink_Clone()
1007 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_Close()
[all …]
HDmp.c286 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp); in mp_Init()
368 if (ccp_SetOpenMode(&mp->link.ccp)) { in mp_Up()
369 fsm_Up(&mp->link.ccp.fsm); in mp_Up()
370 fsm_Open(&mp->link.ccp.fsm); in mp_Up()
394 fsm2initial(&mp->link.ccp.fsm); in mp_Down()
658 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
HDMakefile5 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
HDphysical.h27 struct ccp;
HDipv6cp.c435 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipv6cp_PushPacket()
HDREADME.changes82 `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
/dragonfly/contrib/nvi2/ex/
HDex_cscope.c108 CC const *ccp; in ex_cscope() local
139 if ((ccp = lookup_ccmd(np)) == NULL) { in ex_cscope()
145 return (ccp->function(sp, cmdp, p)); in ex_cscope()
845 CC const *ccp; in csc_help() local
848 if ((ccp = lookup_ccmd(cmd)) == NULL) { in csc_help()
854 "Command: %s (%s)\n", ccp->name, ccp->help_msg); in csc_help()
855 ex_printf(sp, " Usage: %s\n", ccp->usage_msg); in csc_help()
860 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in csc_help()
861 ex_printf(sp, " %*s: %s\n", 5, ccp->name, ccp->help_msg); in csc_help()
1051 CC const *ccp; in lookup_ccmd() local
[all …]
/dragonfly/contrib/mdocml/
HDtbl_html.c122 const char *ccp; in print_tbl() local
261 if ((ccp = strrchr(dp->string, in print_tbl()
265 ccp = strchr(dp->string, '\0'); in print_tbl()
267 ccp++; in print_tbl()
270 if (*ccp == '\0') in print_tbl()
275 ccp++; in print_tbl()
HDtbl_data.c49 const char *ccp; in getdata() local
58 ccp = p + startpos; in getdata()
59 while (*ccp != '\0' && *ccp != tbl->opts.tab) in getdata()
60 if (*ccp++ == '\\') in getdata()
61 mandoc_escape(&ccp, NULL, NULL); in getdata()
62 *pos = ccp - p; in getdata()
/dragonfly/libexec/tftpd/
HDtftpd.c352 char *filename, *mode = NULL, *option, *ccp; in tftp() local
390 for (i = 2, ccp = cp; i > 0; ccp++) { in tftp()
391 if (ccp >= buf + size) { in tftp()
400 } else if (*ccp == '\0') in tftp()
411 cp = ccp-1; in tftp()
/dragonfly/crypto/openssh/
HDcipher.c246 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, in cipher_init() argument
257 *ccp = NULL; in cipher_init()
322 *ccp = cc; in cipher_init()
HDpacket.c959 struct sshcipher_ctx **ccp; in ssh_set_newkeys() local
969 ccp = &state->send_context; in ssh_set_newkeys()
974 ccp = &state->receive_context; in ssh_set_newkeys()
1004 cipher_free(*ccp); in ssh_set_newkeys()
1005 *ccp = NULL; in ssh_set_newkeys()
1006 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len, in ssh_set_newkeys()
1010 (wmsg = cipher_warning_message(*ccp)) != NULL) { in ssh_set_newkeys()
/dragonfly/contrib/tcsh-6/
HDsh.func.c1678 const Char *ccp; in tsetenv()
1688 for (ccp = name, dp = *ep; *ccp && Tolower(*ccp & TRIM) == Tolower(*dp); in tsetenv()
1689 ccp++, dp++) in tsetenv()
1691 for (ccp = name, dp = *ep; *ccp && (*ccp & TRIM) == *dp; ccp++, dp++) in tsetenv()
1694 if (*ccp != 0 || *dp != '=') in tsetenv()
HDsh.dir.c754 Char *ccp; in dopushd() local
756 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL) in dopushd()
759 dp->di_name = ccp; in dopushd()
/dragonfly/contrib/gcc-4.7/gcc/
HDdbgcnt.def145 DEBUG_COUNTER (ccp)
/dragonfly/contrib/gcc-8.0/gcc/
HDdbgcnt.def146 DEBUG_COUNTER (ccp)
/dragonfly/gnu/usr.bin/cc80/support-libs/liblto_plugin/
HDMakefile.headers339 tree-ssa-ccp.h \

12