/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/ip_pipeline/tap.h
29 строк
421 B
Jasvinder Singh
examples/ip_pipeline: add tap object
05 апр 2018, 19:23
05 апр 2018, 19:23
2f74ae2
Код
Авторство
О чём код?
/* 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_ */