aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/unix/tapcli.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/unix/tapcli.h')
-rw-r--r--vnet/vnet/unix/tapcli.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/vnet/vnet/unix/tapcli.h b/vnet/vnet/unix/tapcli.h
index e9228d7cb0e..fcd82dbf25d 100644
--- 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.
*/
+/**
+ * @file
+ * @brief TAPCLI definitions
+ */
#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") \
@@ -32,6 +37,7 @@ typedef enum {
TAPCLI_N_ERROR,
} tapcli_error_t;
+/** TAP CLI interface details struct */
typedef struct {
u32 sw_if_index;
u8 dev_name[64];