path: root/VNFs/DPPD-PROX/prox_args.c
diff options
authorLuc Provoost <>2022-02-11 19:55:41 +0100
committerLuc Provoost <>2022-02-11 19:55:41 +0100
commit0a07d296d453c11a31356844a0aae140fe012324 (patch)
tree505c0e94a4f6416aac242f98f9ac914c3abf4f87 /VNFs/DPPD-PROX/prox_args.c
parentf7e3c60f502521862045a2de4bd25b6e5b2a49be (diff)
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
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
1 files changed, 3 insertions, 0 deletions
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)) {