aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/drop_dpo.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-02-13 23:55:27 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-02-16 16:24:19 +0000
commitb69111e167f5be70b3721ed5c2e5e02b971c3f67 (patch)
treee6bbd56317bb0dfbb2f00adb1b7a6e74d43664a8 /src/vnet/dpo/drop_dpo.c
parent6085e16d924f12d57779d7d7692016ec9fc19a9d (diff)
Add NSH load-balance and drop DPO
Also adds missing gpe nsh address type functions. Change-Id: I3353a23c0518da9ce3b221ddf8c5bd0364930154 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/dpo/drop_dpo.c')
-rw-r--r--src/vnet/dpo/drop_dpo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/dpo/drop_dpo.c b/src/vnet/dpo/drop_dpo.c
index 5118d2a45b7..a1821dddfcc 100644
--- a/src/vnet/dpo/drop_dpo.c
+++ b/src/vnet/dpo/drop_dpo.c
@@ -91,12 +91,18 @@ const static char* const drop_ethernet_nodes[] =
"error-drop",
NULL,
};
+const static char* const drop_nsh_nodes[] =
+{
+ "error-drop",
+ NULL,
+};
const static char* const * const drop_nodes[DPO_PROTO_NUM] =
{
[DPO_PROTO_IP4] = drop_ip4_nodes,
[DPO_PROTO_IP6] = drop_ip6_nodes,
[DPO_PROTO_MPLS] = drop_mpls_nodes,
[DPO_PROTO_ETHERNET] = drop_ethernet_nodes,
+ [DPO_PROTO_NSH] = drop_nsh_nodes,
};
void