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

12

/freebsd-9.3-release/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 Dphysical.c80 #include "ccp.h"
215 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp);
616 p->link.ccp.fsm.bundle = dl->bundle;
617 p->link.ccp.fsm.link = &p->link;
618 /* Our in.state & out.state are NULL (no link-level ccp yet) */
619 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer);
620 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer);
621 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 DMakefile7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
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.h28 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...]
H A Dipv6cp.c64 #include "ccp.h"
434 * If ccp is not open but is required, do nothing.
436 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
H A Dipcp.c82 #include "ccp.h"
1455 * If ccp is not open but is required, do nothing.
1457 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
H A Dbundle.c76 #include "ccp.h"
1891 overhead = ccp_MTUOverhead(&dl->physical->link.ccp);
1913 overhead = ccp_MTUOverhead(&bundle->ncp.mp.link.ccp);
/freebsd-9.3-release/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c38 const char *ccp; member in union:__anon34
42 any.ccp = pathname;
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_cscope.c115 CC const *ccp; local
142 if ((ccp = lookup_ccmd(cmd)) == NULL) {
148 return (ccp->function(sp, cmdp, p));
826 CC const *ccp; local
829 if ((ccp = lookup_ccmd(cmd)) == NULL) {
835 "Command: %s (%s)\n", ccp->name, ccp->help_msg);
836 ex_printf(sp, " Usage: %s\n", ccp->usage_msg);
841 for (ccp = cscope_cmds; ccp
1021 CC const *ccp; local
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c396 callb_cpr_t *ccp = (callb_cpr_t *)cp->c_arg; local
399 mutex_enter(ccp->cc_lockp);
401 if (ccp->cc_events & CALLB_CPR_SAFE) {
404 mutex_exit(ccp->cc_lockp);
417 (ccp->cc_events & CALLB_CPR_ALWAYS_SAFE) != 0;
418 mutex_exit(ccp->cc_lockp);
/freebsd-9.3-release/lib/libkvm/
H A Dkvm.c291 const char *ccp; local
361 ccp = np->n_name + strlen(np->n_name) + 1;
362 if (strcmp(ccp, p->n_name) != 0)
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.dir.c765 Char *ccp; local
767 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL)
770 dp->di_name = ccp;
/freebsd-9.3-release/gnu/usr.bin/cc/cc_int/
H A DMakefile22 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o \
/freebsd-9.3-release/contrib/lukemftpd/
H A Dconfigure2861 char const *const *ccp;
2870 ccp = &g + (g ? g-g : 0);
2872 ++ccp;
2873 p = (char**) ccp;
2874 ccp = (char const *const *) p;
/freebsd-9.3-release/contrib/nvi/build/
H A Dconfigure2027 char const *const *ccp;
2036 ccp = &g + (g ? g-g : 0);
2038 ++ccp;
2039 p = (char**) ccp;
2040 ccp = (char const *const *) p;
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-arm.c1005 arm_reg_parse_multi (char **ccp)
1007 char *start = *ccp;
1034 *ccp = p;
1039 arm_reg_alt_syntax (char **ccp, char *start, struct reg_entry *reg,
1057 unsigned long processor = strtoul (start, ccp, 10);
1058 if (*ccp != start && processor <= 15)
1080 arm_reg_parse (char **ccp, enum arm_reg_type type)
1082 char *start = *ccp;
1083 struct reg_entry *reg = arm_reg_parse_multi (ccp);
1093 if ((ret = arm_reg_alt_syntax (ccp, star
1003 arm_reg_parse_multi(char **ccp) argument
1037 arm_reg_alt_syntax(char **ccp, char *start, struct reg_entry *reg, enum arm_reg_type type) argument
1078 arm_reg_parse(char **ccp, enum arm_reg_type type) argument
1201 parse_neon_operand_type(struct neon_type_el *vectype, char **ccp) argument
1244 parse_typed_reg_or_scalar(char **ccp, enum arm_reg_type type, enum arm_reg_type *rtype, struct neon_typed_alias *typeinfo) argument
1356 arm_typed_reg_parse(char **ccp, enum arm_reg_type type, enum arm_reg_type *rtype, struct neon_type_el *vectype) argument
1389 parse_scalar(char **ccp, int elsize, struct neon_type_el *type) argument
1569 parse_vfp_reg_list(char **ccp, unsigned int *pbase, enum reg_list_els etype) argument
4121 parse_qfloat_immediate(char **ccp, int *immed) argument
[all...]
/freebsd-9.3-release/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 330 milliseconds

12