Home
last modified time | relevance | path

Searched refs:protp (Results 1 – 8 of 8) 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.c316 struct protent *protp; local
352 for (i = 0; (protp = protocols[i]) != NULL; ++i)
353 (*protp->init)(0);
448 for (i = 0; (protp = protocols[i]) != NULL; ++i)
449 if (protp->check_options != NULL)
450 (*protp->check_options)();
1075 struct protent *protp; in get_input() local
1133 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input()
1134 if (protp->protocol == protocol && protp->enabled_flag) { in get_input()
1135 (*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);
/external/syslinux/core/lwip/src/netif/ppp/
Dauth.c410 struct protent *protp; in link_down() local
418 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) { in link_down()
419 if (!protp->enabled_flag) { in link_down()
422 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL) { in link_down()
423 (*protp->lowerdown)(unit); in link_down()
425 if (protp->protocol < 0xC000 && protp->close != NULL) { in link_down()
426 (*protp->close)(unit, "LCP down"); in link_down()
447 struct protent *protp; in link_established() local
458 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) { in link_established()
459 if (protp->protocol != PPP_LCP && protp->enabled_flag && protp->lowerup != NULL) { in link_established()
[all …]
Dppp.c434 struct protent *protp; in pppInit() local
447 for (j = 0; (protp = ppp_protocols[j]) != NULL; ++j) { in pppInit()
448 (*protp->init)(i); in pppInit()
1672 struct protent *protp; in pppInput() local
1678 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) { in pppInput()
1679 if (protp->protocol == protocol && protp->enabled_flag) { in pppInput()
1680 PPPDEBUG(LOG_INFO, ("pppInput[%d]: %s len=%d\n", pd, protp->name, nb->len)); in pppInput()
1682 (*protp->input)(pd, nb->payload, nb->len); in pppInput()
Dlcp.c449 struct protent *protp; in lcp_rprotrej() local
473 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) { in lcp_rprotrej()
474 if (protp->protocol == prot && protp->enabled_flag) { in lcp_rprotrej()
475 (*protp->protrej)(f->unit); in lcp_rprotrej()