loop4
Software loopback network interface
Part of lo(4).
Usage
device loop
Overview
The loop interface is a software loopback mechanism which may be used for performance analysis, software testing, and/or local communication. As with other network interfaces, the loopback interface must have network addresses assigned for each address family with which it is to be used. These addresses may be set with the appropriate ioctl(2) commands for corresponding address families. The loopback interface should be the last interface configured, as protocols may use the order of configuration as an indication of priority. The loopback should never be configured first unless no hardware interfaces exist.
If the transmit checksum offload capability is enabled on a loopback interface, checksums will not be generated by IP, UDP, TCP, or SCTP for packets sent on the interface. By default, this capability is enabled to avoid the overhead of checksumming for local communication where data corruption is unlikely.
If the receive checksum offload capability is disabled on a loopback interface, the flags that indicate a valid checksum will be unset if set previously. By default, this capability is enabled to avoid another checksum validation if it has already been validated.
Diagnostics
- lo%d: can't handle af%d.
-
The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped.
Releases
63 releases since FreeBSD 4.6-RELEASE; the text changed 38 times.