| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | ccp.c | 165 struct ccp *ccp; in ccp_ReportStatus() local 169 ccp = &l->ccp; in ccp_ReportStatus() 273 ccp_Setup(struct ccp *ccp) in ccp_Setup() argument 300 ccp_Required(struct ccp *ccp) in ccp_Required() argument 317 ccp_MTUOverhead(struct ccp *ccp) in ccp_MTUOverhead() argument 329 struct ccp *ccp = fsm2ccp(fp); in CcpInitRestartCounter() local 349 struct ccp *ccp = fsm2ccp(fp); in CcpSendConfigReq() local 404 struct ccp *ccp = fsm2ccp(fp); in ccp_SendResetReq() local 428 struct ccp *ccp = fsm2ccp(fp); in CcpRecvResetReq() local 438 struct ccp *ccp = fsm2ccp(fp); in CcpLayerStart() local [all …]
|
| H A D | ccp.h | 93 struct ccp { struct 123 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL) argument 136 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *); 137 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *); 152 extern void ccp_Init(struct ccp *, struct bundle *, struct link *, 154 extern void ccp_Setup(struct ccp *); 155 extern int ccp_Required(struct ccp *); 156 extern int ccp_MTUOverhead(struct ccp *); 161 extern u_short ccp_Proto(struct ccp *); 162 extern void ccp_SetupCallbacks(struct ccp *); [all …]
|
| H A D | pred.c | 176 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, 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 239 ccp->compin += olen; in Pred1Input() 252 fsm_Reopen(&ccp->fsm); in Pred1Input() 257 ccp->compin += len; in Pred1Input() 286 fsm_Reopen(&ccp->fsm); in Pred1Input() [all …]
|
| H A D | deflate.c | 71 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument 158 ccp->uncompout += ilen; in DeflateOutput() 179 ccp->uncompout += ilen; in DeflateOutput() 180 ccp->compout += olen; in DeflateOutput() 185 *proto = ccp_Proto(ccp); in DeflateOutput() 201 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) in DeflateInput() argument 319 ccp->compin += ilen; in DeflateInput() 320 ccp->uncompin += olen; in DeflateInput() 339 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) in DeflateDictSetup() argument 427 ccp->compin += len; in DeflateDictSetup() [all …]
|
| H A D | mppe.c | 160 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument 175 ccp->compout += ilen; in MPPEOutput() 225 *proto = ccp_Proto(ccp); in MPPEOutput() 227 ccp->uncompout += ilen; in MPPEOutput() 228 ccp->compout += len; in MPPEOutput() 243 MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) in MPPEInput() argument 252 ccp->compin += ilen; in MPPEInput() 317 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 332 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 371 ccp->uncompin += len; in MPPEInput() [all …]
|
| H A D | link.h | 57 struct ccp ccp; /* Our compression FSM */ member
|
| H A D | command.c | 1424 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 1772 l->ccp.cfg.deflate.in.winsize = 0; in SetVariable() 1787 l->ccp.cfg.mppe.keybits = 0; in SetVariable() 1788 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable() 1789 l->ccp.cfg.mppe.required = 0; in SetVariable() 1819 l->ccp.cfg.mppe.keybits = long_val; in SetVariable() 1820 l->ccp.cfg.mppe.required = 1; in SetVariable() 2100 &l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq, in SetVariable() 2892 l->ccp.cfg.neg[CCP_NEG_MPPE] &= keep; in NegotiateSet() 2893 l->ccp.cfg.neg[CCP_NEG_MPPE] |= add; in NegotiateSet() [all …]
|
| H A D | physical.c | 604 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical() 605 p->link.ccp.fsm.link = &p->link; in iov2physical() 607 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical() 608 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical() 609 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical() 610 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical() 611 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical() 612 ccp_SetupCallbacks(&p->link.ccp); in iov2physical() 676 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov() 678 timer_Stop(&p->link.ccp.fsm.OpenTimer); in physical2iov() [all …]
|
| H A D | datalink.c | 244 ccp_Setup(&dl->physical->link.ccp); in datalink_LoginDone() 595 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm); in datalink_LayerUp() 616 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp); in datalink_NCPUp() 631 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ in datalink_NCPUp() 651 fsm_Up(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 652 fsm_Open(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 760 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_LayerDown() 921 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg, in datalink_Clone() 922 sizeof dl->physical->link.ccp.cfg); in datalink_Clone() 1011 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_Close() [all …]
|
| H A D | mp.c | 287 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp); in mp_Init() 369 if (ccp_SetOpenMode(&mp->link.ccp)) { in mp_Up() 370 fsm_Up(&mp->link.ccp.fsm); in mp_Up() 371 fsm_Open(&mp->link.ccp.fsm); in mp_Up() 395 fsm2initial(&mp->link.ccp.fsm); in mp_Down() 659 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
|
| H A D | Makefile | 8 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
| H A D | physical.h | 28 struct ccp;
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/crypto/ |
| H A D | amd-ccp.txt | 1 * AMD Cryptographic Coprocessor driver (ccp) 4 - compatible: Should be "amd,ccp-seattle-v1a" 12 ccp@e0100000 { 13 compatible = "amd,ccp-seattle-v1a";
|
| /freebsd-13.1/sys/modules/ccp/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/crypto/ccp 5 KMOD= ccp 7 SRCS= ccp.c ccp_hardware.c ccp_lsb.c 8 SRCS+= ccp.h ccp_hardware.h ccp_lsb.h
|
| /freebsd-13.1/contrib/nvi/ex/ |
| H A D | ex_cscope.c | 108 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-13.1/contrib/ntp/sntp/tests/ |
| H A D | fileHandlingTest.c | 38 const char *ccp; in DestroyPath() member 42 any.ccp = pathname; in DestroyPath()
|
| /freebsd-13.1/crypto/openssh/regress/misc/fuzz-harness/ |
| H A D | kex_fuzz.cc | 183 const char *ccp, *proposal[PROPOSAL_MAX] = { KEX_CLIENT }; in do_kex_with_key() local 208 ccp = proposal[i]; in do_kex_with_key() 211 ccp = "none"; in do_kex_with_key() 214 ccp = keyname; in do_kex_with_key() 216 ccp = kex; in do_kex_with_key() 217 if ((myproposal[i] = strdup(ccp)) == NULL) { in do_kex_with_key()
|
| /freebsd-13.1/sys/crypto/ccp/ |
| H A D | ccp.c | 645 DRIVER_MODULE(ccp, pci, ccp_driver, ccp_devclass, NULL, NULL); 646 MODULE_VERSION(ccp, 1); 647 MODULE_DEPEND(ccp, crypto, 1, 1, 1); 648 MODULE_DEPEND(ccp, random_device, 1, 1, 1); 650 MODULE_PNP_INFO("W32:vendor/device", pci, ccp, ccp_ids, 764 DB_SHOW_COMMAND(ccp, db_show_ccp) in DB_SHOW_COMMAND() argument
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | cipher.c | 248 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, in cipher_init() argument 259 *ccp = NULL; in cipher_init() 324 *ccp = cc; in cipher_init()
|
| H A D | packet.c | 869 struct sshcipher_ctx **ccp; in ssh_set_newkeys() local 879 ccp = &state->send_context; in ssh_set_newkeys() 884 ccp = &state->receive_context; in ssh_set_newkeys() 914 cipher_free(*ccp); in ssh_set_newkeys() 915 *ccp = NULL; in ssh_set_newkeys() 916 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len, in ssh_set_newkeys() 920 (wmsg = cipher_warning_message(*ccp)) != NULL) { in ssh_set_newkeys()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | sh.func.c | 1728 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()
|
| H A D | sh.dir.c | 754 Char *ccp; in dopushd() local 756 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL) in dopushd() 759 dp->di_name = ccp; in dopushd()
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm64/amd/ |
| H A D | amd-seattle-soc.dtsi | 198 ccp0: ccp@e0100000 { 200 compatible = "amd,ccp-seattle-v1a";
|
| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | sli4.h | 4195 ccp:8; 4251 ccp:8; 4316 ccp:8; 4393 ccp:8; 4451 ccp:8; 4506 ccp:8; 4577 ccp:8; 4639 ccp:8; 4701 ccp:8; 4768 ccp:8; [all …]
|
| /freebsd-13.1/lib/libkvm/ |
| H A D | kvm_private.c | 571 const char *ccp; in kvm_fdnlist_prefix() local 641 ccp = np->n_name + strlen(np->n_name) + 1; in kvm_fdnlist_prefix() 642 if (strcmp(ccp, p->n_name) != 0) in kvm_fdnlist_prefix()
|