mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 16:57:25 +00:00

Add default SRv6 Function Length for usecases like SRv6 L3VPN. The default value (16) comes from the default Function length for SRv6 L3VPN in BGPd. Signed-off-by: Ryoga Saito <ryoga.saito@linecorp.com>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/*
|
|
* Zebra SRv6 VTY functions
|
|
* Copyright (C) 2020 Hiroki Shirokura, LINE Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
* Software Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; see the file COPYING; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _ZEBRA_SRV6_VTY_H
|
|
#define _ZEBRA_SRV6_VTY_H
|
|
|
|
#define ZEBRA_SRV6_LOCATOR_BLOCK_LENGTH 40
|
|
#define ZEBRA_SRV6_LOCATOR_NODE_LENGTH 24
|
|
#define ZEBRA_SRV6_FUNCTION_LENGTH 16
|
|
|
|
extern void zebra_srv6_vty_init(void);
|
|
|
|
#endif /* _ZEBRA_SRV6_VTY_H */
|