blob: 0dce72fe3c989ac5443c8037fe2bb929b27a5bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2018 Intel Corporation
*/
#ifndef _INCLUDE_TAP_H_
#define _INCLUDE_TAP_H_
#include <sys/queue.h>
#include "common.h"
struct tap {
TAILQ_ENTRY(tap) node;
char name[NAME_SIZE];
int fd;
};
TAILQ_HEAD(tap_list, tap);
int
tap_init(void);
struct tap *
tap_find(const char *name);
struct tap *
tap_create(const char *name);
#endif /* _INCLUDE_TAP_H_ */
|