/freebsd/usr.sbin/ppp/ |
H A D | ccp.c | 163 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 …]
|
H A D | ccp.h | 91 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 …]
|
H A D | pred.c | 174 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 …]
|
H A D | deflate.c | 69 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 …]
|
H A D | mppe.c | 158 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 …]
|
H A D | link.h | 55 struct ccp ccp; /* Our compression FSM */ member
|
H A D | command.c | 955 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped() 959 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped() 1305 fp = &command_ChooseLink(arg)->ccp.fsm; in OpenCommand() 1347 fp = &command_ChooseLink(arg)->ccp.fsm; in CloseCommand() 1378 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand() 1379 &arg->bundle->ncp.mp.link.ccp.fsm; in DownCommand() 1426 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 1431 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS; in SetStoppedTimeout() 1758 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]); in SetVariable() 1759 if (l->ccp.cfg.deflate.out.winsize < 8 || in SetVariable() [all …]
|
H A D | physical.c | 206 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); in physical_Create() 602 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() [all …]
|
H A D | datalink.c | 242 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 D | mp.c | 285 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 D | Makefile | 6 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
H A D | physical.h | 26 struct ccp;
|
/freebsd/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/sys/modules/ccp/ |
H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/crypto/ccp 3 KMOD= ccp 5 SRCS= ccp.c ccp_hardware.c ccp_lsb.c 6 SRCS+= ccp.h ccp_hardware.h ccp_lsb.h
|
/freebsd/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() 869 ex_printf(sp, " Usage: %s\n", ccp->usage_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 [all …]
|
/freebsd/contrib/mandoc/ |
H A D | tbl_html.c | 126 const char *ccp; in print_tbl() local 267 if ((ccp = strrchr(dp->string, in print_tbl() 271 ccp = strchr(dp->string, '\0'); in print_tbl() 273 ccp++; in print_tbl() 276 if (*ccp == '\0') in print_tbl() 281 ccp++; in print_tbl()
|
H A D | tbl_data.c | 49 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 D | fileHandlingTest.c | 38 const char *ccp; in DestroyPath() member 42 any.ccp = pathname; in DestroyPath()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | kex_fuzz.cc | 181 const char *ccp, *proposal[PROPOSAL_MAX] = { KEX_CLIENT }; in do_kex_with_key() local 206 ccp = proposal[i]; in do_kex_with_key() 209 ccp = "none"; in do_kex_with_key() 212 ccp = keyname; in do_kex_with_key() 214 ccp = kex; in do_kex_with_key() 215 if ((myproposal[i] = strdup(ccp)) == NULL) { in do_kex_with_key()
|
/freebsd/sys/crypto/ccp/ |
H A D | ccp.c | 637 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 D | cipher.c | 246 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 D | nvmf_controller.c | 139 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 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()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | sli4.h | 4193 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 D | amd-seattle-soc.dtsi | 208 ccp0: ccp@e0100000 { 210 compatible = "amd,ccp-seattle-v1a";
|