is a virtual network device implemented entirely in software.
But how is this implementation actually accomplished and how do you manipulate it?
As far as I know, IPs are marked as local in the local routing table:
ip route show table local
Sending to an IP marked as local will trigger the loopback device. But is this detection done by purely by routing tables or also by some other kernel operations?
Edit: My ultimate goal is to manipulate the loop-device configuration, so that sending datagrams among my interfaces (two wlan adapters) on my laptop will result in real traffic / datagrams in the network and not in local loops. Interface 1 -> WLAN -> Interface 2 and NOT: Interface 1 -> LOOP -> Interface 2