Lines Matching defs:opt
575 struct nmreq_option *opt;
652 opt = nmreq_getoption(hdr, NETMAP_REQ_OPT_SYNC_KLOOP_MODE);
653 if (opt != NULL) {
655 (struct nmreq_opt_sync_kloop_mode *)opt;
661 opt->nro_status = err = EINVAL;
664 opt->nro_status = 0;
666 opt = nmreq_getoption(hdr, NETMAP_REQ_OPT_SYNC_KLOOP_EVENTFDS);
667 if (opt != NULL) {
668 if (opt->nro_size != sizeof(*eventfds_opt) +
672 opt->nro_status = err = EINVAL;
676 eventfds_opt = (struct nmreq_opt_sync_kloop_eventfds *)opt;
677 opt->nro_status = 0;
692 opt->nro_status = err = EINVAL;
807 opt->nro_status = EOPNOTSUPP;