disc(4) software discard network interface


device disc


The interface is a software discard mechanism which may be used for performance analysis and/or software testing. As with other network interfaces, the discard interface must have network addresses assigned for each address family with which it is to be used. These addresses may be set or changed with the SIOCSIFADDR ioctl(2).

Each interface is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using the cloned_interfaces variable in rc.conf5.


The device appears to have been derived from the lo(4) device around the time of BSD 4.4 This manpage was adapted from lo(4) and first appeared in Fx 5.0 .