Searched refs:enddisc (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.sbin/ppp/ |
H A D | mp.c | 94 peer->enddisc.class = 0; in peerid_Init() 95 *peer->enddisc.address = '\0'; in peerid_Init() 96 peer->enddisc.len = 0; in peerid_Init() 104 p1->enddisc.class == p2->enddisc.class && in peerid_Equal() 105 p1->enddisc.len == p2->enddisc.len && in peerid_Equal() 106 !memcmp(p1->enddisc.address, p2->enddisc.address, p1->enddisc.len); in peerid_Equal() 280 mp->cfg.enddisc.class = 0; in mp_Init() 281 *mp->cfg.enddisc.address = '\0'; in mp_Init() 282 mp->cfg.enddisc.len = 0; in mp_Init() 306 mp_Enddisc(mp->peer.enddisc.class, mp->peer.enddisc.address, in mp_Up() [all …]
|
H A D | mp.h | 51 struct enddisc { struct 58 struct enddisc enddisc; /* Peers endpoint discriminator */ argument 99 struct enddisc enddisc; /* endpoint discriminator */ member
|
H A D | lcp.c | 480 if (mp->cfg.enddisc.class != 0 && IsEnabled(mp->cfg.negenddisc) && in LcpSendConfigReq() 482 *o->data = mp->cfg.enddisc.class; in LcpSendConfigReq() 483 memcpy(o->data+1, mp->cfg.enddisc.address, mp->cfg.enddisc.len); in LcpSendConfigReq() 484 INC_FSM_OPT(TY_ENDDISC, mp->cfg.enddisc.len + 3, o); in LcpSendConfigReq() 1210 } else if (opt->hdr.len < sizeof p->dl->peer.enddisc.address + 3 && in LcpDecodeConfig() 1212 p->dl->peer.enddisc.class = opt->data[0]; in LcpDecodeConfig() 1213 p->dl->peer.enddisc.len = opt->hdr.len - 3; in LcpDecodeConfig() 1214 memcpy(p->dl->peer.enddisc.address, opt->data + 1, opt->hdr.len - 3); in LcpDecodeConfig() 1215 p->dl->peer.enddisc.address[opt->hdr.len - 3] = '\0'; in LcpDecodeConfig() 1224 (long)(sizeof p->dl->peer.enddisc.address - 1)); in LcpDecodeConfig()
|
H A D | datalink.c | 1081 mp_Enddisc(arg->cx->peer.enddisc.class, in datalink_Show() 1082 arg->cx->peer.enddisc.address, in datalink_Show() 1083 arg->cx->peer.enddisc.len)); in datalink_Show()
|
H A D | command.c | 555 mp_Enddisc(bundle->ncp.mp.cfg.enddisc.class, in command_Expand() 556 bundle->ncp.mp.cfg.enddisc.address, in command_Expand() 557 bundle->ncp.mp.cfg.enddisc.len)); in command_Expand() 595 mp_Enddisc(bundle->ncp.mp.peer.enddisc.class, in command_Expand() 596 bundle->ncp.mp.peer.enddisc.address, in command_Expand() 597 bundle->ncp.mp.peer.enddisc.len)); in command_Expand()
|
/freebsd/share/examples/ppp/ |
H A D | ppp.conf.span-isp.working | 65 set enddisc LABEL 89 set enddisc label
|
H A D | ppp.conf.span-isp | 142 set enddisc LABEL 187 set enddisc label
|