Searched refs:CALLBACK_BIT (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.0-release/usr.sbin/ppp/
H A Dlcp.h40 #define CALLBACK_BIT(n) ((n) < 0 ? 0 : 1 << (n)) macro
H A Dlcp.c451 if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
454 } else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
457 } else if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {
1110 if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(op)) &&
1114 lcp->his_callback.opmask = CALLBACK_BIT(op);
1122 } else if ((p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) &&
1126 } else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
1129 } else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {
1132 } else if (p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
1144 if (lcp->want_callback.opmask & CALLBACK_BIT(CALLBACK_AUT
[all...]
H A Ddatalink.c676 CALLBACK_BIT(CALLBACK_CBCP) ||
678 CALLBACK_BIT(CALLBACK_CBCP)) &&
680 CALLBACK_BIT(CALLBACK_AUTH))) {
696 case CALLBACK_BIT(CALLBACK_AUTH):
717 case CALLBACK_BIT(CALLBACK_E164):
1114 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) {
1118 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) {
1122 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164)) {
1128 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) {
H A Dcommand.c2153 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_AUTH);
2155 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_CBCP);
2160 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_E164);
2166 cx->cfg.callback.opmask |= CALLBACK_BIT(CALLBACK_NONE);
2172 if (cx->cfg.callback.opmask == CALLBACK_BIT(CALLBACK_NONE))
H A Dcbcp.c363 if (cbcp->p->dl->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE))

Completed in 79 milliseconds