Searched refs:p_methods (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/sbin/ifconfig/ |
H A D | parse.h | 38 const struct parser_methods *p_methods; member 73 .pt_parser = {.p_name = (__name), .p_methods = &pterm_methods, \ 80 .pb_parser = {.p_name = (__name), .p_methods = &pbranch_methods},\ 94 .ps_parser = {.p_name = (__name), .p_methods = &pstr_methods, \ 104 .pa_parser = {.p_name = (__name), .p_methods = &paddr_methods, \ 115 .pif_parser = {.p_name = (__name), .p_methods = &piface_methods,\ 124 .pi_parser = {.p_name = (__name), .p_methods = &pinteger_methods,\ 144 .p_methods = &pkw_methods, \
|
H A D | parse.c | 588 matchfunc = nextp->p_methods->pm_match; in pbranch_match() 712 pa->pa_parser.p_methods = &paddr_methods; in paddr_create() 732 pif->pif_parser.p_methods = &piface_methods; in piface_create() 820 pb->pb_parser.p_methods = &pbranch_methods; in pbranch_create() 910 pk->pk_parser.p_methods = &pkw_methods; in pkw_create() 939 rc = (*p->p_methods->pm_match)(p, lastm, m, i, argv[i]); in parse() 946 rc = (*p->p_methods->pm_match)(p, lastm, m, i, NULL); in parse() 991 if (p->p_methods->pm_init == NULL) in parser_init() 993 return (*p->p_methods->pm_init)(p); in parser_init()
|