18const unsigned char V4mappedprefix[12] = {0,0,0,0, 0,0,0,0, 0,0,0xff,0xff};
19const unsigned char V6localnet[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0};
20const unsigned char V6loopback[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,1};
24 return if_nametoindex(ifname);
27static char ifname[IFNAMSIZ];
31 char *tmp = if_indextoname(scope_id,ifname);
uint32 socket_getifidx(const char *ifname)
const unsigned char V6loopback[16]
const unsigned char V4loopback[4]
const unsigned char V4localnet[4]
const unsigned char V4mappedprefix[12]
const unsigned char V6localnet[16]
const char * socket_getifname(uint32 scope_id)