summaryrefslogtreecommitdiff
path: root/lib/srv6.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-08-23 16:20:07 +0200
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-10-18 16:08:24 +0200
commit34e3711fb49212bc643a238d8a1e285a2fd5980d (patch)
treec4ea2407b710a785c1fc69e9866c0145b472a738 /lib/srv6.c
parentb3c5e11c8df2c7ec8f9e9a74c89dd5222ed35848 (diff)
zebra: Ensure SRv6 SID length does not exceed 128
According to RFC 8986, the SRv6 SID length cannot exceed 128 bits. This commit ensures that the condition `block_len + node_len + function_len + arg_len <= 128` is satisfied when a new SRv6 locator is created. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'lib/srv6.c')
0 files changed, 0 insertions, 0 deletions