Searched refs:lcp (Results 1 - 25 of 38) sorted by relevance

12

/external/libppp/src/
H A Dacf.h29 struct lcp;
31 extern int acf_WrapperOctets(struct lcp *, u_short);
H A Dlcp.c28 * $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 Dlqr.c51 #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 Dlcp.h28 * $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 Dlqr.h65 struct lcp;
75 extern void lqr_Start(struct lcp *);
76 extern void lqr_reStart(struct lcp *);
H A Dproto.h59 struct lcp;
61 extern int proto_WrapperOctets(struct lcp *, u_short);
H A Dasync.h44 struct lcp;
H A Dacf.c45 #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 Dproto.c45 #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 Dhdlc.h56 struct lcp;
72 struct lcp *owner; /* parent LCP */
104 extern void hdlc_Init(struct hdlc *, struct lcp *);
H A Dchap.c63 #include "lcp.h"
454 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 &&
456 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) ||
457 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt));
469 , chap->auth.physical->link.lcp.his_authtype, lanman
509 if (authp->physical->link.lcp.want_authtype == 0x80)
511 else if (authp->physical->link.lcp.want_authtype == 0x81)
530 authp->physical->link.lcp.want_authtype);
539 if (authp->physical->link.lcp.want_authtype == 0x81)
556 if (authp->physical->link.lcp
[all...]
H A Dlink.h54 struct lcp lcp; /* Our line control FSM */ member in struct:link
H A Ddatalink.c53 #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 Dfsm.c57 #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 Dpap.c52 #include "lcp.h"
154 authp->physical->link.lcp.auth_ineed = 0;
158 if (authp->physical->link.lcp.auth_iwait == 0)
283 if (p->link.lcp.auth_iwait == PROTO_PAP) {
284 p->link.lcp.auth_iwait = 0;
285 if (p->link.lcp.auth_ineed == 0)
H A Dphysical.c69 #include "lcp.h"
203 hdlc_Init(&p->hdlc, &p->link.lcp);
225 lcp_Init(&p->link.lcp, dl->bundle, &p->link, &dl->fsmp);
569 if (p->link.lcp.fsm.state <= ST_CLOSED) {
618 p->link.lcp.fsm.bundle = dl->bundle;
619 p->link.lcp.fsm.link = &p->link;
620 memset(&p->link.lcp.fsm.FsmTimer, '\0', sizeof p->link.lcp.fsm.FsmTimer);
621 memset(&p->link.lcp.fsm.OpenTimer, '\0', sizeof p->link.lcp
[all...]
H A Dcommand.c73 #include "lcp.h"
263 Concatinate(arg->cx->physical->link.lcp.cfg.ident,
264 sizeof arg->cx->physical->link.lcp.cfg.ident,
276 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1;
848 "Close an FSM", "close [lcp|ccp]", NULL},
860 "Generate a down event", "down [ccp|lcp]", NULL},
878 "Open an FSM", "open! [lcp|ccp|ipcp]", (void *)1},
937 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load)
941 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS);
995 {"lcp", NUL
[all...]
H A Dmp.c68 #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...]
H A Dmppe.c50 #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);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
H A Dant.cmd59 lcp = value('LOCALCLASSPATH',,env)
62 if lcp \= '' & right(lcp, 1) \= ';' then lcp = lcp || ';'
63 lcp = lcp || cp
66 if lcp\='' then lcp = '-classpath' lcp
[all...]
H A Dantenv.cmd28 lcp = ''
33 when param='-lcp' then mode = 'l'
41 when mode = 'l' then lcp = space(lcp param, 1)
67 if lcp\='' then interpret 'call "' || envset || '"' '"; LOCALCLASSPATH"' '"' || lcp || '"'
/external/ppp/pppd/
H A DAndroid.mk8 lcp.c \
H A DMakefile.sol211 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
H A DMakefile.linux14 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c md5.c ccp.c \
19 ipxcp.h lcp.h magic.h md5.h patchlevel.h pathnames.h pppd.h \
23 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o \
/external/valgrind/main/memcheck/
H A Dmc_leakcheck.c901 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...]

Completed in 713 milliseconds

12