Home
last modified time | relevance | path

Searched refs:protp (Results 1 – 5 of 5) sorted by relevance

/openbsd/usr.sbin/pppd/
H A Ddemand.c86 struct protent *protp; in demand_conf() local
112 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_conf()
113 if (!((*protp->demand_conf)(0))) in demand_conf()
126 struct protent *protp; in demand_drop() local
129 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_drop()
152 struct protent *protp; in demand_unblock() local
155 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_unblock()
324 struct protent *protp; local
335 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
336 if (!protp->enabled_flag)
[all …]
H A Dauth.c209 struct protent *protp; local
216 if (!protp->enabled_flag)
218 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL)
220 if (protp->protocol < 0xC000 && protp->close != NULL)
242 struct protent *protp; local
248 if (protp->protocol != PPP_LCP && protp->enabled_flag
250 (*protp->lowerup)(unit);
300 struct protent *protp; local
328 if (protp->protocol < 0xC000 && protp->enabled_flag
329 && protp->open != NULL) {
[all …]
H A Dmain.c187 struct protent *protp; local
223 (*protp->init)(0);
253 if (protp->check_options != NULL)
254 (*protp->check_options)();
642 struct protent *protp; in get_input() local
695 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
696 (*protp->input)(0, p, len); in get_input()
699 if (protocol == (protp->protocol & ~0x8000) && protp->enabled_flag in get_input()
1254 struct protent *protp; local
1261 if (proto == protp->protocol)
[all …]
H A Dlcp.c376 struct protent *protp; local
406 for (i = 0; (protp = protocols[i]) != NULL; ++i)
407 if (protp->protocol == prot && protp->enabled_flag) {
408 (*protp->protrej)(f->unit);
/openbsd/usr.bin/lex/
H A Dtblcmp.c865 int i, *sp = state, *ep = ext, *protp; local
868 protp = &protsave[numecs * (pr - 1)];
871 if (*++protp == *++sp)