I know that this isn't exactly a kernel issue,
but how do I go about binding a socket to, for
i.e. at what stage in the:
should I do the ioctl(fd,SO_BINDTODEVICE,&ifr);?
Also, if I bind, say, an inetd socket to "eth0",
will it allow connections from "lo"?
I'm looking to patch inetd so that the third argument
can optionally become tcp:eth0, or udp:lo, etc....