Home
last modified time | relevance | path

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

/freebsd/sys/dev/netmap/
H A Dnetmap.c3371 struct nmreq_option **next, *src, **opt_tab, *opt; in nmreq_copyin() local
3408 NETMAP_REQ_OPT_MAX * sizeof(opt_tab); in nmreq_copyin()
3437 opt_tab = (struct nmreq_option **)p; in nmreq_copyin()
3438 p += sizeof(opt_tab) * NETMAP_REQ_OPT_MAX; in nmreq_copyin()
3490 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()
3494 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()
3498 opt_tab[opt->nro_reqtype] = opt; in nmreq_copyin()
3613 struct nmreq_option **opt_tab; in nmreq_getoption() local
3618 opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) - in nmreq_getoption()
3620 return opt_tab[reqtype]; in nmreq_getoption()