ucspi-ssl  0.99e
TLS encryption for IPv6 communication
socket_getifidx.c
Go to the documentation of this file.
1 #include <sys/types.h>
2 #include <sys/socket.h>
3 #include <net/if.h>
4 #include "socket.h"
5 
6 uint32 socket_getifidx(const char* ifname) {
7  return if_nametoindex(ifname);
8 }
uint32 socket_getifidx(const char *ifname)