/*
* this function extracts the link local address and interface index
* from PATH_PROC_NET_IF_INET6. Note: 'sock' unused in Linux.
*/
int setup_linklocal_addr(struct Interface *iface)
This function opens a file, PATH_PROC_NET_IF_INET6, reading each line until it collects the link local and interface index for the interface. There must be a direct way to do this...
This function opens a file, PATH_PROC_NET_IF_INET6, reading each line until it collects the link local and interface index for the interface. There must be a direct way to do this...