Home
last modified time | relevance | path

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

12

/freebsd/usr.sbin/ppp/
H A Dccp.c163 struct ccp *ccp; in ccp_ReportStatus() local
167 ccp = &l->ccp; in ccp_ReportStatus()
271 ccp_Setup(struct ccp *ccp) in ccp_Setup() argument
298 ccp_Required(struct ccp *ccp) in ccp_Required() argument
315 ccp_MTUOverhead(struct ccp *ccp) in ccp_MTUOverhead() argument
327 struct ccp *ccp = fsm2ccp(fp); in CcpInitRestartCounter() local
347 struct ccp *ccp = fsm2ccp(fp); in CcpSendConfigReq() local
402 struct ccp *ccp = fsm2ccp(fp); in ccp_SendResetReq() local
426 struct ccp *ccp = fsm2ccp(fp); in CcpRecvResetReq() local
436 struct ccp *ccp = fsm2ccp(fp); in CcpLayerStart() local
[all …]
H A 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 *);
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 *);
160 extern void ccp_SetupCallbacks(struct ccp *);
[all …]
H A 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
237 ccp->compin += olen; in Pred1Input()
250 fsm_Reopen(&ccp->fsm); in Pred1Input()
255 ccp->compin += len; in Pred1Input()
284 fsm_Reopen(&ccp->fsm); in Pred1Input()
[all …]
H A Ddeflate.c69 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument
156 ccp->uncompout += ilen; 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
317 ccp->compin += ilen; in DeflateInput()
318 ccp->uncompin += olen; in DeflateInput()
337 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) in DeflateDictSetup() argument
425 ccp->compin += len; in DeflateDictSetup()
[all …]
H A Dmppe.c158 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument
173 ccp->compout += 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()
369 ccp->uncompin += len; in MPPEInput()
[all …]
H A Dlink.h55 struct ccp ccp; /* Our compression FSM */ member
H A Dcommand.c1422 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout()
1770 l->ccp.cfg.deflate.in.winsize = 0; in SetVariable()
1785 l->ccp.cfg.mppe.keybits = 0; in SetVariable()
1786 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1787 l->ccp.cfg.mppe.required = 0; in SetVariable()
1817 l->ccp.cfg.mppe.keybits = long_val; in SetVariable()
1818 l->ccp.cfg.mppe.required = 1; in SetVariable()
2098 &l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq, in SetVariable()
2890 l->ccp.cfg.neg[CCP_NEG_MPPE] &= keep; in NegotiateSet()
2891 l->ccp.cfg.neg[CCP_NEG_MPPE] |= add; in NegotiateSet()
[all …]
H A Dphysical.c602 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical()
603 p->link.ccp.fsm.link = &p->link; in iov2physical()
605 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical()
606 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical()
607 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical()
608 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical()
609 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical()
610 ccp_SetupCallbacks(&p->link.ccp); in iov2physical()
674 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov()
676 timer_Stop(&p->link.ccp.fsm.OpenTimer); in physical2iov()
[all …]
H A 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 …]
H A 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()
H A DMakefile7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
H A Dphysical.h26 struct ccp;
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Damd-ccp.txt1 * AMD Cryptographic Coprocessor driver (ccp)
4 - compatible: Should be "amd,ccp-seattle-v1a"
12 ccp@e0100000 {
13 compatible = "amd,ccp-seattle-v1a";
/freebsd/sys/modules/ccp/
H A DMakefile2 .PATH: ${SRCTOP}/sys/crypto/ccp
4 KMOD= ccp
6 SRCS= ccp.c ccp_hardware.c ccp_lsb.c
7 SRCS+= ccp.h ccp_hardware.h ccp_lsb.h
/freebsd/contrib/nvi/ex/
H A Dex_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()
859 CC const *ccp; in csc_help() local
862 if ((ccp = lookup_ccmd(cmd)) == NULL) { in csc_help()
868 "Command: %s (%s)\n", ccp->name, ccp->help_msg); in csc_help()
875 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in csc_help()
876 ex_printf(sp, " %*s: %s\n", 5, ccp->name, ccp->help_msg); in csc_help()
1066 CC const *ccp; in lookup_ccmd() local
1070 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in lookup_ccmd()
[all …]
/freebsd/contrib/mandoc/
H A Dtbl_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()
H A Dtbl_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()
/freebsd/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c38 const char *ccp; in DestroyPath() member
42 any.ccp = pathname; in DestroyPath()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc182 const char *ccp, *proposal[PROPOSAL_MAX] = { KEX_CLIENT }; in do_kex_with_key() local
207 ccp = proposal[i]; in do_kex_with_key()
210 ccp = "none"; in do_kex_with_key()
213 ccp = keyname; in do_kex_with_key()
215 ccp = kex; in do_kex_with_key()
216 if ((myproposal[i] = strdup(ccp)) == NULL) { in do_kex_with_key()
/freebsd/sys/crypto/ccp/
H A Dccp.c637 DRIVER_MODULE(ccp, pci, ccp_driver, NULL, NULL);
638 MODULE_VERSION(ccp, 1);
639 MODULE_DEPEND(ccp, crypto, 1, 1, 1);
640 MODULE_DEPEND(ccp, random_device, 1, 1, 1);
642 MODULE_PNP_INFO("W32:vendor/device", pci, ccp, ccp_ids,
756 DB_SHOW_COMMAND(ccp, db_show_ccp) in DB_SHOW_COMMAND() argument
/freebsd/crypto/openssh/
H A Dcipher.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()
/freebsd/lib/libnvmf/
H A Dnvmf_controller.c139 struct nvmf_capsule **ccp, struct nvmf_fabric_connect_data *data) in nvmf_accept() argument
153 *ccp = NULL; in nvmf_accept()
321 *ccp = cc; in nvmf_accept()
/freebsd/contrib/tcsh/
H A Dsh.func.c1728 const Char *ccp; in tsetenv()
1738 for (ccp = name, dp = *ep; *ccp && Tolower(*ccp & TRIM) == Tolower(*dp); in tsetenv()
1739 ccp++, dp++) in tsetenv()
1741 for (ccp = name, dp = *ep; *ccp && (*ccp & TRIM) == *dp; ccp++, dp++) in tsetenv()
1744 if (*ccp != 0 || *dp != '=') in tsetenv()
/freebsd/sys/dev/ocs_fc/
H A Dsli4.h4193 ccp:8;
4249 ccp:8;
4314 ccp:8;
4391 ccp:8;
4449 ccp:8;
4504 ccp:8;
4575 ccp:8;
4637 ccp:8;
4699 ccp:8;
4766 ccp:8;
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/amd/
H A Damd-seattle-soc.dtsi208 ccp0: ccp@e0100000 {
210 compatible = "amd,ccp-seattle-v1a";

12