Searched refs:opmask (Results 1 – 5 of 5) sorted by relevance
299 lcp->his_callback.opmask = 0; in lcp_Setup()340 lcp->want_callback.opmask = 0; in lcp_Setup()349 lcp->want_callback.opmask = 0; in lcp_Setup()451 if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) { in LcpSendConfigReq()454 } else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) { in LcpSendConfigReq()457 } else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_E164)) { in LcpSendConfigReq()1110 if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(op)) && in LcpDecodeConfig()1114 lcp->his_callback.opmask = CALLBACK_BIT(op); in LcpDecodeConfig()1122 } else if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) && in LcpDecodeConfig()1126 } else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) { in LcpDecodeConfig()[all …]
130 dl->cfg.callback.opmask = 0; in datalink_HangupDone()675 if ((dl->physical->link.lcp.his_callback.opmask & in datalink_AuthOk()677 dl->physical->link.lcp.want_callback.opmask & in datalink_AuthOk()679 !(dl->physical->link.lcp.want_callback.opmask & in datalink_AuthOk()684 } else if (dl->physical->link.lcp.want_callback.opmask) { in datalink_AuthOk()691 switch (dl->physical->link.lcp.his_callback.opmask) { in datalink_AuthOk()838 dl->cfg.callback.opmask = 0; in datalink_Create()1109 if (!arg->cx->cfg.callback.opmask) in datalink_Show()1114 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) { in datalink_Show()1118 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) { in datalink_Show()[all …]
43 int opmask; /* want these types of callback */ member
327 if (lcp->want_callback.opmask) { in cbcp_Up()363 if (cbcp->p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) in cbcp_AdjustResponse()
2143 cx->cfg.callback.opmask = 0; in SetVariable()2146 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_AUTH); in SetVariable()2148 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_CBCP); in SetVariable()2153 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_E164); in SetVariable()2159 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_NONE); in SetVariable()2165 if (cx->cfg.callback.opmask == CALLBACK_BIT(CALLBACK_NONE)) in SetVariable()2166 cx->cfg.callback.opmask = 0; in SetVariable()