Searched refs:NIOCREGIF (Results 1 - 5 of 5) sorted by relevance

/freebsd-11.0-release/sys/net/
H A Dnetmap.h108 * + NIOCREGIF can request the allocation of extra spare buffers from
118 * + NIOCREGIF can request space for extra rings (and buffers)
123 * + NIOCREGIF can attach to PIPE rings sharing the same memory
129 * + NIOCREGIF can also attach to 'monitor' rings that replicate
338 * The area is filled up by the kernel on NIOCREGIF,
345 #ifndef NIOCREGIF
350 * whose identity is set in NIOCREGIF through nr_ringid.
359 * NIOCREGIF takes an interface name within a struct nmre,
362 * The argument to NIOCGINFO/NIOCREGIF overlays struct ifreq so we
367 * The following are used in NIOCREGIF whe
533 #define NIOCREGIF macro
[all...]
H A Dnetmap_user.h527 if (ioctl(d->fd, NIOCREGIF, &d->req)) {
528 snprintf(errmsg, MAXERRMSG, "NIOCREGIF failed: %s", strerror(errno));
/freebsd-11.0-release/tools/tools/netmap/
H A Dvale-ctl.c110 error = ioctl(fd, NIOCREGIF, &nmr);
123 error = ioctl(fd, NIOCREGIF, &nmr);
H A Dpkt-gen.c724 err = ioctl(t->fd, NIOCREGIF, &req);
/freebsd-11.0-release/sys/dev/netmap/
H A Dnetmap.c136 * initialized on ioctl(NIOCREGIF).
147 * Implemented by netmap_ioctl(), NIOCREGIF case, with nmr->nr_cmd==0.
190 * then attached like normal NICs. The NIOCREGIF we are examining
252 * VALE switches are controlled by issuing a NIOCREGIF with a non-null
967 * Action: undo all the things done by NIOCREGIF,
2068 * - NIOCREGIF
2090 if (cmd == NIOCGINFO || cmd == NIOCREGIF) {
2153 case NIOCREGIF:
2168 /* protect access to priv from concurrent NIOCREGIF */

Completed in 64 milliseconds