mirror of
https://github.com/markqvist/tncattach.git
synced 2024-12-22 18:45:39 -05:00
15 lines
305 B
C
15 lines
305 B
C
#include <fcntl.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <sys/ioctl.h>
|
|
#include <net/if.h>
|
|
#include <linux/if_tun.h>
|
|
#include <sys/socket.h>
|
|
#include <arpa/inet.h>
|
|
#include "Constants.h"
|
|
|
|
int open_tap(void);
|
|
int close_tap(int tap_fd); |