CALLBACK_BIT
if (cbcp->p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE))
cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_AUTH);
cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_CBCP);
cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_E164);
cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_NONE);
if (cx->cfg.callback.opmask == CALLBACK_BIT(CALLBACK_NONE))
if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) {
if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {
if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
CALLBACK_BIT(CALLBACK_CBCP) ||
CALLBACK_BIT(CALLBACK_CBCP)) &&
CALLBACK_BIT(CALLBACK_AUTH))) {
case CALLBACK_BIT(CALLBACK_AUTH):
case CALLBACK_BIT(CALLBACK_E164):
if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(op)) &&
lcp->his_callback.opmask = CALLBACK_BIT(op);
} else if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) &&
} else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
} else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {
} else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_AUTH))
lcp->want_callback.opmask &= ~CALLBACK_BIT(CALLBACK_AUTH);
else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_CBCP))
lcp->want_callback.opmask &= ~CALLBACK_BIT(CALLBACK_CBCP);
else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_E164))
lcp->want_callback.opmask &= ~CALLBACK_BIT(CALLBACK_E164);
if (lcp->want_callback.opmask == CALLBACK_BIT(CALLBACK_NONE)) {
if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) {
!(p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE))) {
if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) &&
else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP))
else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164))
if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
} else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
} else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {