Searched refs:opt_tab (Results 1 – 1 of 1) sorted by relevance
3102 struct nmreq_option **next, *src, **opt_tab; in nmreq_copyin() local3139 NETMAP_REQ_OPT_MAX * sizeof(opt_tab); in nmreq_copyin()3162 opt_tab = (struct nmreq_option **)p; in nmreq_copyin()3163 p += sizeof(opt_tab) * NETMAP_REQ_OPT_MAX; in nmreq_copyin()3206 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()3210 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()3214 opt_tab[opt->nro_reqtype] = opt; in nmreq_copyin()3329 struct nmreq_option **opt_tab; in nmreq_getoption() local3334 opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) - in nmreq_getoption()3336 return opt_tab[reqtype]; in nmreq_getoption()