From 0a07d296d453c11a31356844a0aae140fe012324 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Fri, 11 Feb 2022 19:55:41 +0100 Subject: Fix issues when handling unkown ipv6 packets In order to fix this, a new parameter has been introduced: "ipv6 mask length". This can be specified in the port section of the config file. The default value is 8 (bytes). Signed-off-by: Luc Provoost Change-Id: I88b0b3906cc247ae5653ad59b8aa425f0cddf347 --- VNFs/DPPD-PROX/prox_args.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'VNFs/DPPD-PROX/prox_args.c') diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index e8c275bb..0ef1f8b1 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -542,6 +542,9 @@ static int get_port_cfg(unsigned sindex, char *str, void *data) else if (STR_EQ(str, "tx desc")) { return parse_int(&cfg->n_txd, pkey); } + else if (STR_EQ(str, "ipv6 mask length")) { + return parse_int(&cfg->v6_mask_length, pkey); + } else if (STR_EQ(str, "all_rx_queues")) { uint32_t val; if (parse_bool(&val, pkey)) { -- cgit 1.2.3-korg