/external/libppp/src/ |
H A D | acf.c | 45 #include "lcp.h" 53 acf_WrapperOctets(struct lcp *lcp, u_short proto) argument 55 return (proto == PROTO_LCP || lcp->his_acfcomp == 0) ? 2 : 0; 64 if (*proto == PROTO_LCP || l->lcp.his_acfcomp == 0) { 85 if (!p->link.lcp.want_acfcomp) {
|
H A D | proto.c | 45 #include "lcp.h" 50 proto_WrapperOctets(struct lcp *lcp, u_short proto) argument 52 return (lcp->his_protocomp && !(proto & 0xff00)) ? 1 : 2; 76 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp, 77 acf_WrapperOctets(&l->lcp, *proto));
|
H A D | link.h | 54 struct lcp lcp; /* Our line control FSM */ member in struct:link
|
H A D | cbcp.c | 49 #include "lcp.h" 316 struct lcp *lcp = &cbcp->p->link.lcp; local 327 if (lcp->want_callback.opmask) {
|
H A D | hdlc.c | 50 #include "lcp.h" 99 hdlc_Init(struct hdlc *hdlc, struct lcp *lcp) argument 102 hdlc->lqm.owner = lcp;
|
H A D | lqr.c | 51 #include "lcp.h" 75 SendEchoReq(struct lcp *lcp) argument 77 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; 80 echo.magic = htonl(lcp->want_magic); 83 fsm_Output(&lcp->fsm, CODE_ECHOREQ, hdlc->lqm.echo.seq_sent++, 91 struct lcp *lcp = fsm2lcp(fp); local 102 if (lqr.magic != 0 && lqr.magic != lcp->his_magic && 103 lqr.magic != lcp 139 SendLqrData(struct lcp *lcp) argument 164 struct lcp *lcp = (struct lcp *)v; local 204 struct lcp *lcp = p->hdlc.lqm.owner; local 267 lqr_Setup(struct lcp *lcp) argument 309 lqr_Start(struct lcp *lcp) argument 319 lqr_reStart(struct lcp *lcp) argument [all...] |
H A D | lcp.c | 28 * $FreeBSD: src/usr.sbin/ppp/lcp.c,v 1.110.14.1 2010/12/21 17:10:29 kensmith Exp $ 60 #include "lcp.h" 159 struct lcp *lcp; local 162 lcp = &l->lcp; 164 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name, 165 State2Nam(lcp->fsm.state)); 169 lcp->his_mru, (u_long)lcp 240 lcp_SetupCallbacks(struct lcp *lcp) argument 249 lcp_Init(struct lcp *lcp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument 286 lcp_Setup(struct lcp *lcp, int openmode) argument 362 struct lcp *lcp = fsm2lcp(fp); local 383 struct lcp *lcp = fsm2lcp(fp); local 492 lcp_SendProtoRej(struct lcp *lcp, u_char *option, int count) argument 500 lcp_SendIdentification(struct lcp *lcp) argument 528 lcp_RecvIdentification(struct lcp *lcp, char *data) argument 556 struct lcp *lcp = fsm2lcp(fp); local 576 struct lcp *lcp = fsm2lcp(fp); local 621 lcp_auth_nak(struct lcp *lcp, struct fsm_decode *dec) argument 663 struct lcp *lcp = fsm2lcp(fp); local [all...] |
H A D | lcp.h | 28 * $FreeBSD: src/usr.sbin/ppp/lcp.h,v 1.31.26.1 2010/12/21 17:10:29 kensmith Exp $ 49 struct lcp { struct 132 #define fsm2lcp(fp) (fp->proto == PROTO_LCP ? (struct lcp *)fp : NULL) 134 extern void lcp_Init(struct lcp *, struct bundle *, struct link *, 136 extern void lcp_Setup(struct lcp *, int); 138 extern void lcp_SendProtoRej(struct lcp *, u_char *, int); 139 extern int lcp_SendIdentification(struct lcp *); 140 extern void lcp_RecvIdentification(struct lcp *, char *); 143 extern void lcp_SetupCallbacks(struct lcp *);
|
H A D | mppe.c | 50 #include "lcp.h" 447 struct lcp *lcp = &fp->link->lcp; local 448 ok = (lcp->want_auth == PROTO_CHAP && lcp->want_authtype == 0x81) || 449 (lcp->his_auth == PROTO_CHAP && lcp->his_authtype == 0x81);
|
H A D | datalink.c | 53 #include "lcp.h" 237 hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp); 240 lcp_Setup(&dl->physical->link.lcp, dl->state == DATALINK_READY ? 241 0 : dl->physical->link.lcp.cfg.openmode); 245 fsm_Up(&dl->physical->link.lcp.fsm); 246 fsm_Open(&dl->physical->link.lcp.fsm); 574 struct lcp *lcp = &dl->physical->link.lcp; local 578 lcp [all...] |
H A D | fsm.c | 57 #include "lcp.h" 223 lcp_SendIdentification(&fp->link->lcp); 392 lcp_SendIdentification(&fp->link->lcp); 504 if (fp->proto == PROTO_CCP && fp->link->lcp.fsm.state == ST_OPENED) { 512 lcp_SendProtoRej(&fp->link->lcp, MBUF_CTOP(bp), bp->m_len); 582 lcp_SendIdentification(&fp->link->lcp); 596 lcp_SendIdentification(&fp->link->lcp); 603 lcp_SendIdentification(&fp->link->lcp); 658 lcp_SendIdentification(&fp->link->lcp); 817 lcp_SendIdentification(&fp->link->lcp); 935 struct lcp *lcp = fsm2lcp(fp); local 951 struct lcp *lcp = fsm2lcp(fp); local [all...] |
H A D | mp.c | 68 #include "lcp.h" 284 lcp_Init(&mp->link.lcp, mp->bundle, &mp->link, NULL); 299 struct lcp *lcp = &dl->physical->link.lcp; local 313 if (mp->local_mrru != lcp->want_mrru || 314 mp->peer_mrru != lcp->his_mrru || 315 mp->local_is12bit != lcp->want_shortseq || 316 mp->peer_is12bit != lcp->his_shortseq) { 325 mp->local_mrru = lcp [all...] |
/external/ppp/pppd/ |
H A D | utils.c | 61 #include "lcp.h" 856 unsigned char *lcp = p + PPP_HDRLEN; local 857 int l = (lcp[2] << 8) + lcp[3]; 859 if ((lcp[0] == ECHOREQ || lcp[0] == ECHOREP)
|
/external/valgrind/main/memcheck/ |
H A D | mc_leakcheck.c | 901 static void get_printing_rules(LeakCheckParams* lcp, argument 920 switch (lcp->deltamode) { 939 *print_record = lcp->mode == LC_Full && delta_considered && 940 ( lcp->show_reachable || 942 ( lcp->show_possibly_lost && 944 // We don't count a leaks as errors with lcp->mode==LC_Summary. 950 *count_as_error = lcp->mode == LC_Full && delta_considered && 955 static void print_results(ThreadId tid, LeakCheckParams* lcp) argument 1064 if (lcp->mode == LC_Full && lcp 1328 detect_memory_leaks( ThreadId tid, LeakCheckParams* lcp) argument [all...] |
H A D | mc_main.c | 5162 LeakCheckParams lcp; local 5165 lcp.mode = LC_Full; 5166 lcp.show_reachable = False; 5167 lcp.show_possibly_lost = True; 5168 lcp.deltamode = LCD_Increased; 5169 lcp.max_loss_records_output = 999999999; 5170 lcp.requested_by_monitor_command = True; 5184 lcp.mode = LC_Full; break; 5186 lcp.mode = LC_Summary; break; 5188 lcp 5422 LeakCheckParams lcp; local 6149 LeakCheckParams lcp; local [all...] |