summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-11-03 16:23:51 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2023-12-14 14:56:44 +0100
commit8d0b4745a1acd5e363159a1b9732a0fd596413e5 (patch)
tree3bd842ffb6f6c3f18b77455b4d756e88ceac2801 /zebra/kernel_socket.c
parent959267f7c201a84b90cc00ac2b7a0c0b3490c8b6 (diff)
zebra: Add code to set SRv6 encap source addr in dplane
Add a bunch of set functions and associated data structure in zebra_dplane to allow the configuration of the source address for SRv6 encap in the data plane. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r--zebra/kernel_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index 4b42c134f5..b90be76e46 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -1622,6 +1622,7 @@ void kernel_update_multi(struct dplane_ctx_list_head *ctx_list)
case DPLANE_OP_INTF_ADDR_ADD:
case DPLANE_OP_INTF_ADDR_DEL:
case DPLANE_OP_STARTUP_STAGE:
+ case DPLANE_OP_SRV6_ENCAP_SRCADDR_SET:
zlog_err("Unhandled dplane data for %s",
dplane_op2str(dplane_ctx_get_op(ctx)));
res = ZEBRA_DPLANE_REQUEST_FAILURE;