Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-305: Documentation for vnet/vnet/unix
[vpp.git]
/
vnet
/
vnet
/
unix
/
tapcli.h
diff --git
a/vnet/vnet/unix/tapcli.h
b/vnet/vnet/unix/tapcli.h
index
e9228d7
..
fcd82db
100644
(file)
--- a/
vnet/vnet/unix/tapcli.h
+++ b/
vnet/vnet/unix/tapcli.h
@@
-14,11
+14,16
@@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+/**
+ * @file
+ * @brief TAPCLI definitions
+ */
#ifndef __included_tapcli_h__
#define __included_tapcli_h__
#ifndef __included_tapcli_h__
#define __included_tapcli_h__
-#define foreach_tapcli_error \
+/** TAP CLI errors */
+#define foreach_tapcli_error \
/* Must be first. */ \
_(NONE, "no error") \
_(READ, "read error") \
/* Must be first. */ \
_(NONE, "no error") \
_(READ, "read error") \
@@
-32,6
+37,7
@@
typedef enum {
TAPCLI_N_ERROR,
} tapcli_error_t;
TAPCLI_N_ERROR,
} tapcli_error_t;
+/** TAP CLI interface details struct */
typedef struct {
u32 sw_if_index;
u8 dev_name[64];
typedef struct {
u32 sw_if_index;
u8 dev_name[64];