Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tuntap-unix-bsd.c File Reference
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
#include <string.h>
#include "tuntap.h"

Functions

int tuntap_sys_set_ipv6 (struct device *dev, t_tun_in6_addr *s6, uint32_t bits)
 
int tuntap_sys_set_ifname (struct device *dev, const char *ifname, size_t len)
 

Function Documentation

int tuntap_sys_set_ifname ( struct device dev,
const char *  ifname,
size_t  len 
)

References tuntap_log, and TUNTAP_LOG_NOTICE.

int tuntap_sys_set_ipv6 ( struct device dev,
t_tun_in6_addr s6,
uint32_t  bits 
)

References tuntap_log, and TUNTAP_LOG_NOTICE.