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

12

/freebsd-current/usr.sbin/ppp/
H A Dccp.c60 #include "ccp.h"
163 struct ccp *ccp; local
167 ccp = &l->ccp;
169 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, ccp->fsm.name,
170 State2Nam(ccp->fsm.state));
171 if (ccp->fsm.state == ST_OPENED) {
173 protoname(ccp->my_proto), protoname(ccp
235 ccp_SetupCallbacks(struct ccp *ccp) argument
244 ccp_Init(struct ccp *ccp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
271 ccp_Setup(struct ccp *ccp) argument
298 ccp_Required(struct ccp *ccp) argument
315 ccp_MTUOverhead(struct ccp *ccp) argument
327 struct ccp *ccp = fsm2ccp(fp); local
347 struct ccp *ccp = fsm2ccp(fp); local
402 struct ccp *ccp = fsm2ccp(fp); local
426 struct ccp *ccp = fsm2ccp(fp); local
436 struct ccp *ccp = fsm2ccp(fp); local
446 struct ccp *ccp = fsm2ccp(fp); local
474 struct ccp *ccp = fsm2ccp(fp); local
501 struct ccp *ccp = fsm2ccp(fp); local
570 struct ccp *ccp = fsm2ccp(fp); local
693 struct ccp *ccp = fsm2ccp(fp); local
788 ccp_Proto(struct ccp *ccp) argument
795 ccp_SetOpenMode(struct ccp *ccp) argument
[all...]
H A Dccp.h91 struct ccp { struct
121 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL)
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 Dpred.c47 #include "ccp.h"
174 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, argument
198 ccp->uncompout += orglen;
202 ccp->compout += len;
206 ccp->compout += orglen;
212 *proto = ccp_Proto(ccp);
217 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) argument
234 ccp
[all...]
H A Dlink.h55 struct ccp ccp; /* Our compression FSM */ member in struct:link
H A Ddeflate.c39 #include "ccp.h"
69 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, argument
156 ccp->uncompout += ilen;
157 ccp->compout += ilen; /* We measure this stuff too */
177 ccp->uncompout += ilen;
178 ccp->compout += olen;
183 *proto = ccp_Proto(ccp);
199 DeflateInput(void *v, struct ccp *ccp, u_shor argument
337 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) argument
[all...]
H A Dmppe.c51 #include "ccp.h"
158 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, argument
173 ccp->compout += ilen;
174 ccp->uncompout += ilen;
223 *proto = ccp_Proto(ccp);
225 ccp->uncompout += ilen;
226 ccp->compout += len;
241 MPPEInput(void *v, struct ccp *ccp, u_shor argument
[all...]
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.c78 #include "ccp.h"
206 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp);
602 p->link.ccp.fsm.bundle = dl->bundle;
603 p->link.ccp.fsm.link = &p->link;
604 /* Our in.state & out.state are NULL (no link-level ccp yet) */
605 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer);
606 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer);
607 memset(&p->link.ccp
[all...]
H A Dcommand.c84 #include "ccp.h"
855 "Close an FSM", "close [lcp|ccp]", NULL},
867 "Generate a down event", "down [ccp|lcp]", NULL},
885 "Open an FSM", "open! [lcp|ccp|ipcp]", (void *)1},
951 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
955 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
982 {"ccp", NULL, ccp_ReportStatus, LOCAL_AUTH | LOCAL_CX_OPT,
1298 } else if (!strcasecmp(arg->argv[arg->argn], "ccp")) {
1301 fp = &command_ChooseLink(arg)->ccp.fsm;
1339 else if (!strcasecmp(arg->argv[arg->argn], "ccp") ||
[all...]
H A Ddatalink.c56 #include "ccp.h"
242 ccp_Setup(&dl->physical->link.ccp);
593 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm);
614 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp);
629 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */
649 fsm_Up(&dl->physical->link.ccp.fsm);
650 fsm_Open(&dl->physical->link.ccp.fsm);
758 fsm2initial(&dl->physical->link.ccp.fsm);
919 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp
[all...]
H A Dphysical.h26 struct ccp;
H A Dmp.c70 #include "ccp.h"
166 /* The given FSM (ccp) is about to start up ! */
172 /* The given fsm (ccp) is now up */
180 /* The given FSM (ccp) has been told to come down */
186 /* The given fsm (ccp) is now down */
285 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp);
367 if (ccp_SetOpenMode(&mp->link.ccp)) {
368 fsm_Up(&mp->link.ccp.fsm);
369 fsm_Open(&mp->link.ccp.fsm);
393 fsm2initial(&mp->link.ccp
[all...]
/freebsd-current/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-current/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c38 const char *ccp; member in union:__anon5500
42 any.ccp = pathname;
/freebsd-current/contrib/mandoc/
H A Dtbl_html.c122 const char *ccp; local
261 if ((ccp = strrchr(dp->string,
265 ccp = strchr(dp->string, '\0');
267 ccp++;
270 if (*ccp == '\0')
275 ccp++;
H A Dtbl_data.c49 const char *ccp; local
58 ccp = p + startpos;
59 while (*ccp != '\0' && *ccp != tbl->opts.tab)
60 if (*ccp++ == '\\')
61 mandoc_escape(&ccp, NULL, NULL);
62 *pos = ccp - p;
/freebsd-current/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));
859 CC const *ccp; local
862 if ((ccp = lookup_ccmd(cmd)) == NULL) {
868 "Command: %s (%s)\n", ccp->name, ccp->help_msg);
869 ex_printf(sp, " Usage: %s\n", ccp->usage_msg);
875 for (ccp = cscope_cmds; ccp
1066 CC const *ccp; local
[all...]
/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc182 const char *ccp, *proposal[PROPOSAL_MAX] = { KEX_CLIENT }; local
207 ccp = proposal[i];
210 ccp = "none";
213 ccp = keyname;
215 ccp = kex;
216 if ((myproposal[i] = strdup(ccp)) == NULL) {
/freebsd-current/sys/crypto/ccp/
H A Dccp.c58 #include "ccp.h"
61 MALLOC_DEFINE(M_CCP, "ccp", "AMD CCP crypto");
148 mtx_init(&qp->cq_lock, "ccp queue", NULL, MTX_DEF);
193 mtx_init(&sc->lock, "ccp", NULL, MTX_DEF);
632 "ccp",
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_id
[all...]
/freebsd-current/crypto/openssh/
H A Dcipher.c246 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, argument
257 *ccp = NULL;
322 *ccp = cc;
H A Dpacket.c868 struct sshcipher_ctx **ccp; local
878 ccp = &state->send_context;
883 ccp = &state->receive_context;
913 cipher_free(*ccp);
914 *ccp = NULL;
915 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len,
919 (wmsg = cipher_warning_message(*ccp)) != NULL) {
/freebsd-current/lib/libnvmf/
H A Dnvmf_controller.c139 struct nvmf_capsule **ccp, struct nvmf_fabric_connect_data *data)
153 *ccp = NULL;
321 *ccp = cc;
138 nvmf_accept(struct nvmf_association *na, const struct nvmf_qpair_params *params, struct nvmf_capsule **ccp, struct nvmf_fabric_connect_data *data) argument
H A Dlibnvmf.h194 * in '*ccp' and the connect data is saved in 'data'. The caller
198 const struct nvmf_qpair_params *params, struct nvmf_capsule **ccp,
/freebsd-current/sys/dev/ocs_fc/
H A Dsli4.h4154 /* Mask for ccp (CS_CTL) */
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
[all...]
/freebsd-current/lib/libkvm/
H A Dkvm_private.c568 const char *ccp; local
638 ccp = np->n_name + strlen(np->n_name) + 1;
639 if (strcmp(ccp, p->n_name) != 0)

Completed in 364 milliseconds

12