/freebsd-11-stable/usr.sbin/ppp/ |
H A D | acf.h | 31 struct lcp; 33 extern int acf_WrapperOctets(struct lcp *, u_short);
|
H A D | lcp.c | 30 * $FreeBSD: stable/11/usr.sbin/ppp/lcp.c 330449 2018-03-05 07:26:05Z eadler $ 62 #include "lcp.h" 161 struct lcp *lcp; local 164 lcp = &l->lcp; 166 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name, 167 State2Nam(lcp->fsm.state)); 171 lcp->his_mru, (u_long)lcp 242 lcp_SetupCallbacks(struct lcp *lcp) argument 251 lcp_Init(struct lcp *lcp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument 288 lcp_Setup(struct lcp *lcp, int openmode) argument 364 struct lcp *lcp = fsm2lcp(fp); local 385 struct lcp *lcp = fsm2lcp(fp); local 494 lcp_SendProtoRej(struct lcp *lcp, u_char *option, int count) argument 502 lcp_SendIdentification(struct lcp *lcp) argument 530 lcp_RecvIdentification(struct lcp *lcp, char *data) argument 558 struct lcp *lcp = fsm2lcp(fp); local 578 struct lcp *lcp = fsm2lcp(fp); local 623 lcp_auth_nak(struct lcp *lcp, struct fsm_decode *dec) argument 665 struct lcp *lcp = fsm2lcp(fp); local [all...] |
H A D | lqr.c | 53 #include "lcp.h" 77 SendEchoReq(struct lcp *lcp) argument 79 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; 82 echo.magic = htonl(lcp->want_magic); 85 fsm_Output(&lcp->fsm, CODE_ECHOREQ, hdlc->lqm.echo.seq_sent++, 93 struct lcp *lcp = fsm2lcp(fp); local 104 if (lqr.magic != 0 && lqr.magic != lcp->his_magic && 105 lqr.magic != lcp 142 SendLqrData(struct lcp *lcp) argument 167 struct lcp *lcp = (struct lcp *)v; local 207 struct lcp *lcp = p->hdlc.lqm.owner; local 270 lqr_Setup(struct lcp *lcp) argument 312 lqr_Start(struct lcp *lcp) argument 322 lqr_reStart(struct lcp *lcp) argument [all...] |
H A D | lcp.h | 30 * $FreeBSD: stable/11/usr.sbin/ppp/lcp.h 330449 2018-03-05 07:26:05Z eadler $ 51 struct lcp { struct 134 #define fsm2lcp(fp) (fp->proto == PROTO_LCP ? (struct lcp *)fp : NULL) 136 extern void lcp_Init(struct lcp *, struct bundle *, struct link *, 138 extern void lcp_Setup(struct lcp *, int); 140 extern void lcp_SendProtoRej(struct lcp *, u_char *, int); 141 extern int lcp_SendIdentification(struct lcp *); 142 extern void lcp_RecvIdentification(struct lcp *, char *); 145 extern void lcp_SetupCallbacks(struct lcp *);
|
H A D | lqr.h | 67 struct lcp; 77 extern void lqr_Start(struct lcp *); 78 extern void lqr_reStart(struct lcp *);
|
H A D | proto.h | 61 struct lcp; 63 extern int proto_WrapperOctets(struct lcp *, u_short);
|
H A D | async.h | 46 struct lcp;
|
H A D | acf.c | 47 #include "lcp.h" 55 acf_WrapperOctets(struct lcp *lcp, u_short proto) argument 57 return (proto == PROTO_LCP || lcp->his_acfcomp == 0) ? 2 : 0; 66 if (*proto == PROTO_LCP || l->lcp.his_acfcomp == 0) { 87 if (!p->link.lcp.want_acfcomp) {
|
H A D | proto.c | 47 #include "lcp.h" 52 proto_WrapperOctets(struct lcp *lcp, u_short proto) argument 54 return (lcp->his_protocomp && !(proto & 0xff00)) ? 1 : 2; 78 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp, 79 acf_WrapperOctets(&l->lcp, *proto));
|
H A D | hdlc.h | 58 struct lcp; 74 struct lcp *owner; /* parent LCP */ 106 extern void hdlc_Init(struct hdlc *, struct lcp *);
|
H A D | chap.c | 65 #include "lcp.h" 456 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 && 458 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || 459 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); 471 , chap->auth.physical->link.lcp.his_authtype, lanman 511 if (authp->physical->link.lcp.want_authtype == 0x80) 513 else if (authp->physical->link.lcp.want_authtype == 0x81) 532 authp->physical->link.lcp.want_authtype); 541 if (authp->physical->link.lcp.want_authtype == 0x81) 558 if (authp->physical->link.lcp [all...] |
H A D | link.h | 56 struct lcp lcp; /* Our line control FSM */ member in struct:link
|
H A D | datalink.c | 55 #include "lcp.h" 239 hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp); 242 lcp_Setup(&dl->physical->link.lcp, dl->state == DATALINK_READY ? 243 0 : dl->physical->link.lcp.cfg.openmode); 247 fsm_Up(&dl->physical->link.lcp.fsm); 248 fsm_Open(&dl->physical->link.lcp.fsm); 576 struct lcp *lcp = &dl->physical->link.lcp; local 580 lcp [all...] |
H A D | fsm.c | 59 #include "lcp.h" 225 lcp_SendIdentification(&fp->link->lcp); 394 lcp_SendIdentification(&fp->link->lcp); 506 if (fp->proto == PROTO_CCP && fp->link->lcp.fsm.state == ST_OPENED) { 514 lcp_SendProtoRej(&fp->link->lcp, MBUF_CTOP(bp), bp->m_len); 584 lcp_SendIdentification(&fp->link->lcp); 598 lcp_SendIdentification(&fp->link->lcp); 605 lcp_SendIdentification(&fp->link->lcp); 660 lcp_SendIdentification(&fp->link->lcp); 819 lcp_SendIdentification(&fp->link->lcp); 937 struct lcp *lcp = fsm2lcp(fp); local 953 struct lcp *lcp = fsm2lcp(fp); local [all...] |
H A D | pap.c | 54 #include "lcp.h" 156 authp->physical->link.lcp.auth_ineed = 0; 160 if (authp->physical->link.lcp.auth_iwait == 0) 285 if (p->link.lcp.auth_iwait == PROTO_PAP) { 286 p->link.lcp.auth_iwait = 0; 287 if (p->link.lcp.auth_ineed == 0)
|
H A D | physical.c | 70 #include "lcp.h" 192 hdlc_Init(&p->hdlc, &p->link.lcp); 214 lcp_Init(&p->link.lcp, dl->bundle, &p->link, &dl->fsmp); 558 if (p->link.lcp.fsm.state <= ST_CLOSED) { 606 p->link.lcp.fsm.bundle = dl->bundle; 607 p->link.lcp.fsm.link = &p->link; 608 memset(&p->link.lcp.fsm.FsmTimer, '\0', sizeof p->link.lcp.fsm.FsmTimer); 609 memset(&p->link.lcp.fsm.OpenTimer, '\0', sizeof p->link.lcp [all...] |
H A D | command.c | 75 #include "lcp.h" 268 Concatinate(arg->cx->physical->link.lcp.cfg.ident, 269 sizeof arg->cx->physical->link.lcp.cfg.ident, 281 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; 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}, 946 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) 950 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); 1004 {"lcp", NUL [all...] |
H A D | Makefile | 9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
|
H A D | mp.c | 70 #include "lcp.h" 286 lcp_Init(&mp->link.lcp, mp->bundle, &mp->link, NULL); 301 struct lcp *lcp = &dl->physical->link.lcp; local 315 if (mp->local_mrru != lcp->want_mrru || 316 mp->peer_mrru != lcp->his_mrru || 317 mp->local_is12bit != lcp->want_shortseq || 318 mp->peer_is12bit != lcp->his_shortseq) { 327 mp->local_mrru = lcp [all...] |
H A D | mppe.c | 52 #include "lcp.h" 449 struct lcp *lcp = &fp->link->lcp; local 450 ok = (lcp->want_auth == PROTO_CHAP && lcp->want_authtype == 0x81) || 451 (lcp->his_auth == PROTO_CHAP && lcp->his_authtype == 0x81);
|
/freebsd-11-stable/sys/net/ |
H A D | if_spppsubr.c | 92 * being one of "lcp", "ipcp", "cisco", "chap", "pap", etc. 392 static const struct cp lcp = { variable in typeref:struct:cp 393 PPP_LCP, IDX_LCP, CP_LCP, "lcp", 445 &lcp, /* IDX_LCP */ 578 sppp_cp_input(&lcp, sp, m); 816 lcp.Open(sp); 1211 lcp.Close(sp); 1222 lcp.Close(sp); 1226 lcp.Open(sp); 1243 if (ifr->ifr_mtu < 128 || ifr->ifr_mtu > sp->lcp [all...] |
H A D | if_sppp.h | 108 struct slcp lcp; /* LCP params */ member in struct:sppp_parms 162 struct slcp lcp; /* LCP params */ member in struct:sppp
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | log.c | 199 svn_log_changed_path2_t *lcp; local 204 lcp = svn_log_changed_path2_create(result_pool); 205 lcp->action = action; 206 lcp->copyfrom_rev = SVN_INVALID_REVNUM; 219 lcp->copyfrom_path = apr_pstrdup(result_pool, copyfrom_path); 220 lcp->copyfrom_rev = (svn_revnum_t)rev; 224 lcp->node_kind = svn_node_kind_from_word(svn_hash_gets(attrs, "node-kind")); 225 lcp->text_modified = svn_tristate__from_word(svn_hash_gets(attrs, 227 lcp->props_modified = svn_tristate__from_word(svn_hash_gets(attrs, 231 svn_hash_sets(paths, path, lcp); [all...] |
/freebsd-11-stable/usr.bin/tftp/ |
H A D | main.c | 440 char *lcp; local 447 lcp = argv[argc - 1]; 448 targ = strrchr(lcp, ':'); 450 if (lcp[0] == '[' && lcp[strlen(lcp) - 1] == ']') { 451 lcp[strlen(lcp) - 1] = '\0'; 452 lcp++; 454 setpeer0(lcp, NUL 553 char *lcp; local [all...] |
/freebsd-11-stable/sys/geom/multipath/ |
H A D | g_multipath.c | 131 struct g_consumer *lcp; local 138 LIST_FOREACH(lcp, &gp->consumer, consumer) { 139 if (lcp->provider == NULL || 140 (lcp->index & (MP_LOST | MP_NEW))) 142 if (sc->sc_ndisks > 1 && lcp == cp) 146 sc->sc_name, lcp->provider->name); 147 lcp->index &= ~MP_FAIL; 153 LIST_FOREACH(lcp, &gp->consumer, consumer) { 154 if ((lcp->index & MP_BAD) == 0) { 155 sc->sc_active = lcp; 692 struct g_consumer *lcp, *first_good_cp = NULL; local [all...] |