Home
last modified time | relevance | path

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

/external/ppp/pppd/
Ddemand.c82 struct protent *protp; in demand_conf() local
109 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_conf()
110 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_conf()
111 if (!((*protp->demand_conf)(0))) in demand_conf()
123 struct protent *protp; in demand_block() local
125 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_block()
126 if (protp->enabled_flag && protp->demand_conf != NULL) in demand_block()
127 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_QUEUE); in demand_block()
140 struct protent *protp; in demand_discard() local
142 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_discard()
[all …]
Dauth.c707 struct protent *protp; in upper_layers_down() local
709 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in upper_layers_down()
710 if (!protp->enabled_flag) in upper_layers_down()
712 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL) in upper_layers_down()
713 (*protp->lowerdown)(unit); in upper_layers_down()
714 if (protp->protocol < 0xC000 && protp->close != NULL) in upper_layers_down()
715 (*protp->close)(unit, "LCP down"); in upper_layers_down()
734 struct protent *protp; local
740 for (i = 0; (protp = protocols[i]) != NULL; ++i)
741 if (protp->protocol != PPP_LCP && protp->enabled_flag
[all …]
Dutils.c481 struct protent *protp; local
487 for (i = 0; (protp = protocols[i]) != NULL; ++i)
488 if (proto == protp->protocol)
490 if (protp != NULL) {
491 printer(arg, "[%s", protp->name);
492 n = (*protp->printpkt)(p, len, printer, arg);
497 for (i = 0; (protp = protocols[i]) != NULL; ++i)
498 if (proto == (protp->protocol & ~0x8000))
500 if (protp != 0 && protp->data_name != 0) {
501 printer(arg, "[%s data]", protp->data_name);
Dmain.c319 struct protent *protp; local
355 for (i = 0; (protp = protocols[i]) != NULL; ++i)
356 (*protp->init)(0);
451 for (i = 0; (protp = protocols[i]) != NULL; ++i)
452 if (protp->check_options != NULL)
453 (*protp->check_options)();
1078 struct protent *protp; in get_input() local
1136 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input()
1137 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
1138 (*protp->input)(0, p, len); in get_input()
[all …]
Dlcp.c560 struct protent *protp; local
585 for (i = 0; (protp = protocols[i]) != NULL; ++i)
586 if (protp->protocol == prot && protp->enabled_flag) {
592 (*protp->protrej)(f->unit);