SIMPLE SOLUTIONS

LO(4FREEBSD) - Linux man page online | Special files

Software loopback network interface.

Chapter
January 25, 2012
LO(4) BSD Kernel Interfaces Manual LO(4)

NAME

lo — software loopback network interface

SYNOPSIS

device loop

DESCRIPTION

The loop interface is a software loopback mechanism which may be used for performance analy‐ sis, 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 config‐ ured, 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 flag is enabled on a loopback interface, check‐ sums will not be generated by IP, UDP, or TCP for packets sent on the interface. If the receive checksum offload capability flag is enabled on a loopback interface, check‐ sums will not be validated by IP, UDP, or TCP for packets received on the interface. By default, both receive and transmit checksum flags will be enabled, in order to avoid the overhead of checksumming for local communication where data corruption is unlikely. If transmit checksum generation is disabled, then validation should also be disabled in order to avoid packets being dropped due to invalid checksums.

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.

SEE ALSO

inet(4), intro(4)

HISTORY

The lo device appeared in 4.2BSD. The current checksum generation and validation avoidance policy appeared in FreeBSD 8.0.
BSD January 25, 2012 BSD
This manual Reference Other manuals
lo(4freebsd) referred by disc(4freebsd) | if_addmulti(9freebsd) | if_allmulti(9freebsd) | if_alloc(9freebsd) | if_attach(9freebsd) | if_data(9freebsd) | if_delmulti(9freebsd) | IF_DEQUEUE(9freebsd) | if_detach(9freebsd) | if_disc(4freebsd) | if_down(9freebsd) | if_findmulti(9freebsd) | if_free(9freebsd) | if_free_type(9freebsd) | if_up(9freebsd) | ifa_free(9freebsd) | ifa_ifwithaddr(9freebsd) | ifa_ifwithdstaddr(9freebsd) | ifa_ifwithnet(9freebsd) | ifa_ref(9freebsd)
refer to inet(4freebsd) | intro(4) | ioctl(2)
Download raw manual
Main page BSD Kernel Interfaces Manual (+773) BSD (+3984) № 4 (+981)
Go top