Searched refs:protp (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/ |
D | demand.c | 82 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 …]
|
D | auth.c | 707 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 …]
|
D | utils.c | 481 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);
|
D | main.c | 316 struct protent *protp; local 352 for (i = 0; (protp = protocols[i]) != NULL; ++i) 353 (*protp->init)(0); 425 for (i = 0; (protp = protocols[i]) != NULL; ++i) 426 if (protp->check_options != NULL) 427 (*protp->check_options)(); 1052 struct protent *protp; in get_input() local 1110 for (i = 0; (protp = protocols[i]) != NULL; ++i) { in get_input() 1111 if (protp->protocol == protocol && protp->enabled_flag) { in get_input() 1112 (*protp->input)(0, p, len); in get_input() [all …]
|
D | lcp.c | 560 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);
|