Sends data through a software loopback interface.
#include <sys/types.h> #include <sys/errno.h>
int looutput (ifp, m0, dst) struct ifnet *ifp; struct mbuf *m0; struct sockaddr *dst;
The looutput kernel service sends data through a software loopback interface. The data in the m0 parameter is passed to the input handler of the protocol specified by the dst parameter.
The looutput kernel service can be called from either the process or interrupt environment.
0 | Indicates that the data was successfully sent. |
ENOBUFS | Indicates that resource allocation failed. |
EAFNOSUPPORT | Indicates that the address family specified by the dst parameter is not supported. |
The looutput kernel service is part of Base Operating System (BOS) Runtime.
The loifp kernel service.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.