Sponge
CS144's user-space TCP library
Variables
tun.cc File Reference
#include "tun.hh"
#include "util.hh"
#include <cstring>
#include <fcntl.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <sys/ioctl.h>
Include dependency graph for tun.cc:

Go to the source code of this file.

Variables

static constexpr const char * CLONEDEV = "/dev/net/tun"
 

Variable Documentation

◆ CLONEDEV

constexpr const char* CLONEDEV = "/dev/net/tun"
staticconstexpr

Definition at line 11 of file tun.cc.