HomeSort by relevance Sort by last modified time
    Searched refs:lcp (Results 1 - 25 of 39) sorted by null

1 2

  /external/libppp/src/
acf.h 29 struct lcp;
31 extern int acf_WrapperOctets(struct lcp *, u_short);
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"
116 {"LCP restart", "LCP openmode", "LCP stopped"};
159 struct lcp *lcp; local
162 lcp = &l->lcp;
164 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name
362 struct lcp *lcp = fsm2lcp(fp); local
383 struct lcp *lcp = fsm2lcp(fp); local
556 struct lcp *lcp = fsm2lcp(fp); local
576 struct lcp *lcp = fsm2lcp(fp); local
663 struct lcp *lcp = fsm2lcp(fp); local
    [all...]
lqr.c 51 #include "lcp.h"
75 SendEchoReq(struct lcp *lcp)
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->want_magic)
164 struct lcp *lcp = (struct lcp *)v; local
204 struct lcp *lcp = p->hdlc.lqm.owner; local
    [all...]
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 *);
lqr.h 65 struct lcp;
75 extern void lqr_Start(struct lcp *);
76 extern void lqr_reStart(struct lcp *);
proto.h 59 struct lcp;
61 extern int proto_WrapperOctets(struct lcp *, u_short);
async.h 44 struct lcp;
acf.c 45 #include "lcp.h"
53 acf_WrapperOctets(struct lcp *lcp, u_short proto)
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) {
proto.c 45 #include "lcp.h"
50 proto_WrapperOctets(struct lcp *lcp, u_short proto)
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));
hdlc.h 56 struct lcp;
72 struct lcp *owner; /* parent LCP */
104 extern void hdlc_Init(struct hdlc *, struct lcp *);
chap.c 63 #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.want_authtype == 0x81)
    [all...]
link.h 54 struct lcp lcp; /* Our line control FSM */ member in struct:link
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->auth_ineed = lcp->want_auth
    [all...]
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...]
pap.c 52 #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)
physical.c 69 #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) {
578 /* LCP packet is detected. Turn ourselves into packet mode */
588 /* In -dedicated mode, we just discard input until LCP is started */
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)
    [all...]
command.c 73 #include "lcp.h"
263 Concatinate(arg->cx->physical->link.lcp.cfg.ident,
264 sizeof arg->cx->physical->link.lcp.cfg.ident,
273 log_Printf(LogWARN, "sendident: link has not reached LCP\n");
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},
936 prompt_Printf(arg->prompt, " Stopped Timer: LCP: ");
937 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load
    [all...]
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->want_mrru
    [all...]
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);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
ant.cmd 59 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...]
antenv.cmd 28 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/
Android.mk 8 lcp.c \
Makefile.sol2 11 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
Makefile.linux 14 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/
mc_leakcheck.c     [all...]

Completed in 319 milliseconds

1 2