ucspi-ssl
0.99e
TLS encryption for IPv6 communication
ucspi-ssl-0.99e
src
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
}
socket_getifidx
uint32 socket_getifidx(const char *ifname)
Definition:
socket_getifidx.c:6
socket.h
Generated on Wed Jul 11 2018 22:50:46 for ucspi-ssl by
1.8.13