Searched refs:ccp (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-13-stable/usr.sbin/ppp/
H A Dccp.c62 #include "ccp.h"
165 struct ccp *ccp; local
169 ccp = &l->ccp;
171 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, ccp->fsm.name,
172 State2Nam(ccp->fsm.state));
173 if (ccp->fsm.state == ST_OPENED) {
175 protoname(ccp->my_proto), protoname(ccp
237 ccp_SetupCallbacks(struct ccp *ccp) argument
246 ccp_Init(struct ccp *ccp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
273 ccp_Setup(struct ccp *ccp) argument
300 ccp_Required(struct ccp *ccp) argument
317 ccp_MTUOverhead(struct ccp *ccp) argument
329 struct ccp *ccp = fsm2ccp(fp); local
349 struct ccp *ccp = fsm2ccp(fp); local
404 struct ccp *ccp = fsm2ccp(fp); local
428 struct ccp *ccp = fsm2ccp(fp); local
438 struct ccp *ccp = fsm2ccp(fp); local
448 struct ccp *ccp = fsm2ccp(fp); local
476 struct ccp *ccp = fsm2ccp(fp); local
503 struct ccp *ccp = fsm2ccp(fp); local
572 struct ccp *ccp = fsm2ccp(fp); local
695 struct ccp *ccp = fsm2ccp(fp); local
790 ccp_Proto(struct ccp *ccp) argument
797 ccp_SetOpenMode(struct ccp *ccp) argument
[all...]
H A Dccp.h93 struct ccp { struct
123 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL)
136 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *);
137 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *);
147 struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *,
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 *);
[all...]
H A Dpred.c49 #include "ccp.h"
176 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, argument
200 ccp->uncompout += orglen;
204 ccp->compout += len;
208 ccp->compout += orglen;
214 *proto = ccp_Proto(ccp);
219 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) argument
236 ccp
[all...]
H A Dlink.h57 struct ccp ccp; /* Our compression FSM */ member in struct:link
H A Ddeflate.c41 #include "ccp.h"
71 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, argument
158 ccp->uncompout += ilen;
159 ccp->compout += ilen; /* We measure this stuff too */
179 ccp->uncompout += ilen;
180 ccp->compout += olen;
185 *proto = ccp_Proto(ccp);
201 DeflateInput(void *v, struct ccp *ccp, u_shor argument
339 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) argument
[all...]
H A Dmppe.c53 #include "ccp.h"
160 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, argument
175 ccp->compout += ilen;
176 ccp->uncompout += ilen;
225 *proto = ccp_Proto(ccp);
227 ccp->uncompout += ilen;
228 ccp->compout += len;
243 MPPEInput(void *v, struct ccp *ccp, u_shor argument
[all...]
H A DMakefile8 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
H A Dphysical.c80 #include "ccp.h"
208 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp);
604 p->link.ccp.fsm.bundle = dl->bundle;
605 p->link.ccp.fsm.link = &p->link;
606 /* Our in.state & out.state are NULL (no link-level ccp yet) */
607 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer);
608 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer);
609 memset(&p->link.ccp
[all...]
H A Dcommand.c86 #include "ccp.h"
857 "Close an FSM", "close [lcp|ccp]", NULL},
869 "Generate a down event", "down [ccp|lcp]", NULL},
887 "Open an FSM", "open! [lcp|ccp|ipcp]", (void *)1},
953 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
957 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
984 {"ccp", NULL, ccp_ReportStatus, LOCAL_AUTH | LOCAL_CX_OPT,
1300 } else if (!strcasecmp(arg->argv[arg->argn], "ccp")) {
1303 fp = &command_ChooseLink(arg)->ccp.fsm;
1341 else if (!strcasecmp(arg->argv[arg->argn], "ccp") ||
[all...]
H A Ddatalink.c58 #include "ccp.h"
244 ccp_Setup(&dl->physical->link.ccp);
595 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm);
616 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp);
631 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */
651 fsm_Up(&dl->physical->link.ccp.fsm);
652 fsm_Open(&dl->physical->link.ccp.fsm);
760 fsm2initial(&dl->physical->link.ccp.fsm);
921 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp
[all...]
H A Dphysical.h28 struct ccp;
H A Dmp.c72 #include "ccp.h"
168 /* The given FSM (ccp) is about to start up ! */
174 /* The given fsm (ccp) is now up */
182 /* The given FSM (ccp) has been told to come down */
188 /* The given fsm (ccp) is now down */
287 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp);
369 if (ccp_SetOpenMode(&mp->link.ccp)) {
370 fsm_Up(&mp->link.ccp.fsm);
371 fsm_Open(&mp->link.ccp.fsm);
395 fsm2initial(&mp->link.ccp
[all...]
H A Dipv6cp.c66 #include "ccp.h"
436 * If ccp is not open but is required, do nothing.
438 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
/freebsd-13-stable/sys/modules/ccp/
H A DMakefile3 .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-stable/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c38 const char *ccp; member in union:__anon5435
42 any.ccp = pathname;
/freebsd-13-stable/contrib/nvi/ex/
H A Dex_cscope.c108 CC const *ccp; local
139 if ((ccp = lookup_ccmd(np)) == NULL) {
145 return (ccp->function(sp, cmdp, p));
845 CC const *ccp; local
848 if ((ccp = lookup_ccmd(cmd)) == NULL) {
854 "Command: %s (%s)\n", ccp->name, ccp->help_msg);
855 ex_printf(sp, " Usage: %s\n", ccp->usage_msg);
861 for (ccp = cscope_cmds; ccp
1052 CC const *ccp; local
[all...]
/freebsd-13-stable/sys/crypto/ccp/
H A Dccp.c60 #include "ccp.h"
63 MALLOC_DEFINE(M_CCP, "ccp", "AMD CCP crypto");
147 mtx_init(&qp->cq_lock, "ccp queue", NULL, MTX_DEF);
192 mtx_init(&sc->lock, "ccp", NULL, MTX_DEF);
636 "ccp",
642 DRIVER_MODULE(ccp, pci, ccp_driver, ccp_devclass, NULL, NULL);
643 MODULE_VERSION(ccp, 1);
644 MODULE_DEPEND(ccp, crypto, 1, 1, 1);
645 MODULE_DEPEND(ccp, random_device, 1, 1, 1);
647 MODULE_PNP_INFO("W32:vendor/device", pci, ccp, ccp_id
[all...]
/freebsd-13-stable/crypto/openssh/
H A Dcipher.c236 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, argument
247 *ccp = NULL;
311 *ccp = cc;
H A Dpacket.c837 struct sshcipher_ctx **ccp; local
846 ccp = &state->send_context;
851 ccp = &state->receive_context;
863 cipher_free(*ccp);
864 *ccp = NULL;
883 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len,
887 (wmsg = cipher_warning_message(*ccp)) != NULL) {
/freebsd-13-stable/sys/dev/ocs_fc/
H A Dsli4.h4060 /* Mask for ccp (CS_CTL) */
4099 ccp:8;
4155 ccp:8;
4220 ccp:8;
4297 ccp:8;
4355 ccp:8;
4410 ccp:8;
4481 ccp:8;
4543 ccp:8;
4605 ccp
[all...]
/freebsd-13-stable/lib/libkvm/
H A Dkvm_private.c571 const char *ccp; local
641 ccp = np->n_name + strlen(np->n_name) + 1;
642 if (strcmp(ccp, p->n_name) != 0)
/freebsd-13-stable/contrib/tcsh/
H A Dsh.dir.c754 Char *ccp; local
756 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL)
759 dp->di_name = ccp;
/freebsd-13-stable/tests/sys/opencrypto/
H A Dcryptotest.py458 ccp = GenTestCase('ccp0') variable
/freebsd-13-stable/sys/modules/
H A DMakefile735 _ccp= ccp
/freebsd-13-stable/contrib/opie/
H A Dconfigure1812 char const *const *ccp;
1821 ccp = &g + (g ? g-g : 0);
1823 ++ccp;
1824 p = (char**) ccp;
1825 ccp = (char const *const *) p;

Completed in 298 milliseconds

12