/dragonfly/usr.sbin/ppp/ |
H A D | ccp.c | 163 struct ccp *ccp; in ccp_ReportStatus() local 167 ccp = &l->ccp; in ccp_ReportStatus() 271 ccp_Setup(struct ccp *ccp) in ccp_Setup() argument 298 ccp_Required(struct ccp *ccp) in ccp_Required() argument 315 ccp_MTUOverhead(struct ccp *ccp) in ccp_MTUOverhead() argument 327 struct ccp *ccp = fsm2ccp(fp); in CcpInitRestartCounter() local 347 struct ccp *ccp = fsm2ccp(fp); in CcpSendConfigReq() local 398 struct ccp *ccp = fsm2ccp(fp); in ccp_SendResetReq() local 422 struct ccp *ccp = fsm2ccp(fp); in CcpRecvResetReq() local 432 struct ccp *ccp = fsm2ccp(fp); in CcpLayerStart() local [all …]
|
H A D | ccp.h | 92 struct ccp { struct 122 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL) argument 135 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *); 136 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *); 151 extern void ccp_Init(struct ccp *, struct bundle *, struct link *, 153 extern void ccp_Setup(struct ccp *); 154 extern int ccp_Required(struct ccp *); 155 extern int ccp_MTUOverhead(struct ccp *); 160 extern u_short ccp_Proto(struct ccp *); 161 extern void ccp_SetupCallbacks(struct ccp *); [all …]
|
H A D | pred.c | 200 ccp->uncompout += orglen; in Pred1Output() 204 ccp->compout += len; in Pred1Output() 208 ccp->compout += orglen; in Pred1Output() 214 *proto = ccp_Proto(ccp); in Pred1Output() 219 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) in Pred1Input() argument 236 ccp->uncompin += len & 0x7fff; in Pred1Input() 239 ccp->compin += olen; in Pred1Input() 243 fsm_Reopen(&ccp->fsm); in Pred1Input() 252 fsm_Reopen(&ccp->fsm); in Pred1Input() 257 ccp->compin += len; in Pred1Input() [all …]
|
H A D | deflate.c | 70 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument 157 ccp->uncompout += ilen; in DeflateOutput() 178 ccp->uncompout += ilen; in DeflateOutput() 179 ccp->compout += olen; in DeflateOutput() 184 *proto = ccp_Proto(ccp); in DeflateOutput() 200 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) in DeflateInput() argument 318 ccp->compin += ilen; in DeflateInput() 319 ccp->uncompin += olen; in DeflateInput() 338 DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi) in DeflateDictSetup() argument 426 ccp->compin += len; in DeflateDictSetup() [all …]
|
H A D | mppe.c | 159 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument 174 ccp->compout += ilen; in MPPEOutput() 224 *proto = ccp_Proto(ccp); in MPPEOutput() 226 ccp->uncompout += ilen; in MPPEOutput() 227 ccp->compout += len; in MPPEOutput() 242 MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) in MPPEInput() argument 251 ccp->compin += ilen; in MPPEInput() 316 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 331 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 370 ccp->uncompin += len; in MPPEInput() [all …]
|
H A D | command.c | 1394 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 1742 l->ccp.cfg.deflate.in.winsize = 0; in SetVariable() 1757 l->ccp.cfg.mppe.keybits = 0; in SetVariable() 1758 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable() 1759 l->ccp.cfg.mppe.required = 0; in SetVariable() 1789 l->ccp.cfg.mppe.keybits = long_val; in SetVariable() 1790 l->ccp.cfg.mppe.required = 1; in SetVariable() 2047 &l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq, in SetVariable() 2783 l->ccp.cfg.neg[CCP_NEG_MPPE] &= keep; in NegotiateSet() 2784 l->ccp.cfg.neg[CCP_NEG_MPPE] |= add; in NegotiateSet() [all …]
|
H A D | physical.c | 600 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical() 601 p->link.ccp.fsm.link = &p->link; in iov2physical() 603 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical() 604 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical() 605 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical() 606 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical() 607 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical() 608 ccp_SetupCallbacks(&p->link.ccp); in iov2physical() 672 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov() 674 timer_Stop(&p->link.ccp.fsm.OpenTimer); in physical2iov() [all …]
|
H A D | link.h | 56 struct ccp ccp; /* Our compression FSM */ member
|
H A D | datalink.c | 241 ccp_Setup(&dl->physical->link.ccp); in datalink_LoginDone() 592 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm); in datalink_LayerUp() 613 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp); in datalink_NCPUp() 628 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ in datalink_NCPUp() 648 fsm_Up(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 649 fsm_Open(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 757 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_LayerDown() 918 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg, in datalink_Clone() 919 sizeof dl->physical->link.ccp.cfg); in datalink_Clone() 1007 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_Close() [all …]
|
H A D | mp.c | 286 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp); in mp_Init() 368 if (ccp_SetOpenMode(&mp->link.ccp)) { in mp_Up() 369 fsm_Up(&mp->link.ccp.fsm); in mp_Up() 370 fsm_Open(&mp->link.ccp.fsm); in mp_Up() 394 fsm2initial(&mp->link.ccp.fsm); in mp_Down() 658 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
|
H A D | Makefile | 5 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
H A D | physical.h | 27 struct ccp;
|
H A D | ipv6cp.c | 435 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in ipv6cp_PushPacket()
|
H A D | README.changes | 82 `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
|
/dragonfly/contrib/nvi2/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() 845 CC const *ccp; in csc_help() local 848 if ((ccp = lookup_ccmd(cmd)) == NULL) { in csc_help() 854 "Command: %s (%s)\n", ccp->name, ccp->help_msg); in csc_help() 860 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in csc_help() 861 ex_printf(sp, " %*s: %s\n", 5, ccp->name, ccp->help_msg); in csc_help() 1051 CC const *ccp; in lookup_ccmd() local 1055 for (ccp = cscope_cmds; ccp->name != NULL; ++ccp) in lookup_ccmd() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | tbl_html.c | 122 const char *ccp; in print_tbl() local 261 if ((ccp = strrchr(dp->string, in print_tbl() 265 ccp = strchr(dp->string, '\0'); in print_tbl() 267 ccp++; in print_tbl() 270 if (*ccp == '\0') in print_tbl() 275 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()
|
/dragonfly/libexec/tftpd/ |
H A D | tftpd.c | 352 char *filename, *mode = NULL, *option, *ccp; in tftp() local 390 for (i = 2, ccp = cp; i > 0; ccp++) { in tftp() 391 if (ccp >= buf + size) { in tftp() 400 } else if (*ccp == '\0') in tftp() 411 cp = ccp-1; in tftp()
|
/dragonfly/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()
|
H A D | packet.c | 867 struct sshcipher_ctx **ccp; in ssh_set_newkeys() local 877 ccp = &state->send_context; in ssh_set_newkeys() 882 ccp = &state->receive_context; in ssh_set_newkeys() 912 cipher_free(*ccp); in ssh_set_newkeys() 913 *ccp = NULL; in ssh_set_newkeys() 914 if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len, in ssh_set_newkeys() 918 (wmsg = cipher_warning_message(*ccp)) != NULL) { in ssh_set_newkeys()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.func.c | 1678 const Char *ccp; in tsetenv() 1688 for (ccp = name, dp = *ep; *ccp && Tolower(*ccp & TRIM) == Tolower(*dp); in tsetenv() 1689 ccp++, dp++) in tsetenv() 1691 for (ccp = name, dp = *ep; *ccp && (*ccp & TRIM) == *dp; ccp++, dp++) in tsetenv() 1694 if (*ccp != 0 || *dp != '=') in tsetenv()
|
H A D | sh.dir.c | 754 Char *ccp; in dopushd() local 756 if ((ccp = dfollow(cp, dflag & DIR_OLD)) == NULL) in dopushd() 759 dp->di_name = ccp; in dopushd()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | dbgcnt.def | 145 DEBUG_COUNTER (ccp)
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | dbgcnt.def | 146 DEBUG_COUNTER (ccp)
|
/dragonfly/gnu/usr.bin/cc80/support-libs/liblto_plugin/ |
H A D | Makefile.headers | 339 tree-ssa-ccp.h \
|