/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ccp.c | 30 * $FreeBSD: stable/11/usr.sbin/ppp/ccp.c 330449 2018-03-05 07:26:05Z eadler $ 62 #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 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 D | ccp.h | 30 * $FreeBSD: stable/11/usr.sbin/ppp/ccp.h 330449 2018-03-05 07:26:05Z eadler $ 93 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 *); [all...] |
H A D | pred.c | 49 #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 D | link.h | 57 struct ccp ccp; /* Our compression FSM */ member in struct:link
|
H A D | deflate.c | 41 #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 D | mppe.c | 53 #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 D | Makefile | 7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
H A D | physical.c | 80 #include "ccp.h" 215 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); 615 p->link.ccp.fsm.bundle = dl->bundle; 616 p->link.ccp.fsm.link = &p->link; 617 /* Our in.state & out.state are NULL (no link-level ccp yet) */ 618 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); 619 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); 620 memset(&p->link.ccp [all...] |
H A D | command.c | 86 #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 D | datalink.c | 58 #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 D | physical.h | 28 struct ccp;
|
H A D | mp.c | 72 #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 D | ipv6cp.c | 66 #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)) {
|
H A D | ipcp.c | 84 #include "ccp.h" 1457 * If ccp is not open but is required, do nothing. 1459 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) {
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | fileHandlingTest.c | 38 const char *ccp; member in union:__anon4981 42 any.ccp = pathname;
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_cscope.c | 112 CC const *ccp; local 143 if ((ccp = lookup_ccmd(np)) == NULL) { 149 return (ccp->function(sp, cmdp, p)); 855 CC const *ccp; local 858 if ((ccp = lookup_ccmd(cmd)) == NULL) { 864 "Command: %s (%s)\n", ccp->name, ccp->help_msg); 865 ex_printf(sp, " Usage: %s\n", ccp->usage_msg); 870 for (ccp = cscope_cmds; ccp 1063 CC const *ccp; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/ |
H A D | callb.c | 396 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-11-stable/crypto/openssh/ |
H A D | cipher.c | 321 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, argument 333 *ccp = NULL; 419 *ccp = cc; 543 cipher_set_key_string(struct sshcipher_ctx **ccp, argument 554 r = cipher_init(ccp, cipher, digest, 16, NULL, 0, do_encrypt);
|
H A D | packet.c | 946 struct sshcipher_ctx **ccp; local 956 ccp = &state->send_context; 962 ccp = &state->receive_context; 972 cipher_free(*ccp); 973 *ccp = NULL; 1004 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len, 1008 (wmsg = cipher_warning_message(*ccp)) != NULL) {
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | sli4.h | 4086 /* Mask for ccp (CS_CTL) */ 4125 ccp:8; 4181 ccp:8; 4246 ccp:8; 4323 ccp:8; 4381 ccp:8; 4436 ccp:8; 4508 ccp:8; 4570 ccp:8; 4632 ccp [all...] |
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm.c | 579 const char *ccp; local 649 ccp = np->n_name + strlen(np->n_name) + 1; 650 if (strcmp(ccp, p->n_name) != 0)
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | sh.dir.c | 765 Char *ccp; local 767 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL) 770 dp->di_name = ccp;
|
/freebsd-11-stable/gnu/usr.bin/cc/cc_int/ |
H A D | Makefile | 24 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o \
|
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | tc-arm.c | 1007 arm_reg_parse_multi (char **ccp) 1009 char *start = *ccp; 1036 *ccp = p; 1041 arm_reg_alt_syntax (char **ccp, char *start, struct reg_entry *reg, 1059 unsigned long processor = strtoul (start, ccp, 10); 1060 if (*ccp != start && processor <= 15) 1082 arm_reg_parse (char **ccp, enum arm_reg_type type) 1084 char *start = *ccp; 1085 struct reg_entry *reg = arm_reg_parse_multi (ccp); 1095 if ((ret = arm_reg_alt_syntax (ccp, star 1005 arm_reg_parse_multi(char **ccp) argument 1039 arm_reg_alt_syntax(char **ccp, char *start, struct reg_entry *reg, enum arm_reg_type type) argument 1080 arm_reg_parse(char **ccp, enum arm_reg_type type) argument 1203 parse_neon_operand_type(struct neon_type_el *vectype, char **ccp) argument 1246 parse_typed_reg_or_scalar(char **ccp, enum arm_reg_type type, enum arm_reg_type *rtype, struct neon_typed_alias *typeinfo) argument 1358 arm_typed_reg_parse(char **ccp, enum arm_reg_type type, enum arm_reg_type *rtype, struct neon_type_el *vectype) argument 1391 parse_scalar(char **ccp, int elsize, struct neon_type_el *type) argument 1571 parse_vfp_reg_list(char **ccp, unsigned int *pbase, enum reg_list_els etype) argument 4158 parse_qfloat_immediate(char **ccp, int *immed) argument [all...] |
/freebsd-11-stable/contrib/opie/ |
H A D | configure | 1812 char const *const *ccp; 1821 ccp = &g + (g ? g-g : 0); 1823 ++ccp; 1824 p = (char**) ccp; 1825 ccp = (char const *const *) p;
|