Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl:fix segfault when unshare NO_MQ session
[vpp.git]
/
src
/
vnet
/
interface_types.api
diff --git
a/src/vnet/interface_types.api
b/src/vnet/interface_types.api
index
c40f64e
..
4878387
100644
(file)
--- a/
src/vnet/interface_types.api
+++ b/
src/vnet/interface_types.api
@@
-49,7
+49,7
@@
enum sub_if_flags
SUB_IF_API_FLAG_DEFAULT = 32,
SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY = 64,
SUB_IF_API_FLAG_INNER_VLAN_ID_ANY = 128,
SUB_IF_API_FLAG_DEFAULT = 32,
SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY = 64,
SUB_IF_API_FLAG_INNER_VLAN_ID_ANY = 128,
- SUB_IF_API_FLAG_MASK_VNET = 254, /* use with vnet_sub_interface_t raw_flags */
+ SUB_IF_API_FLAG_MASK_VNET = 254,
/* use with vnet_sub_interface_t raw_flags */
SUB_IF_API_FLAG_DOT1AH = 256,
};
SUB_IF_API_FLAG_DOT1AH = 256,
};
@@
-64,11
+64,25
@@
enum rx_mode
enum if_type
{
enum if_type
{
-
/* A hw interface. */
-
IF_API_TYPE_HARDWARE = 0,
+ /* A hw interface. */
+ IF_API_TYPE_HARDWARE = 0,
-
/* A sub-interface. */
-
IF_API_TYPE_SUB = 1,
-
IF_API_TYPE_P2P = 2,
-
IF_API_TYPE_PIPE = 3,
+ /* A sub-interface. */
+ IF_API_TYPE_SUB = 1,
+ IF_API_TYPE_P2P = 2,
+ IF_API_TYPE_PIPE = 3,
};
};
+
+enum direction:u8
+{
+ RX = 0,
+ TX,
+};
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */