diff options
| author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-12-19 17:45:26 +0900 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 10:24:48 -0400 | 
| commit | 92a9e6f296a4b3a2d23db14b22b62ebf6cf007cf (patch) | |
| tree | b24ef6563cc22a685946d8a01d160e1f3b03cebe /bgpd/bgp_memory.h | |
| parent | bc65dfafbcea33eeb7497cab0477b5bdc6458d3b (diff) | |
bgpd: add srv6 vpn base code (step4)
This commit add base-lines for BGP SRv6 VPN support.
srv6_locator_chunks property of struct bgp is used
to store BGPd's own SRv6 locator chunk getting with
ZEBRA_SRV6_MANAGER_GET_LOCATOR_CHUNK api.
And srv6_functions is used to store BGP's srv6
localsids. It's mainly used when new SID reservation
from locator chunks.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
base
Diffstat (limited to 'bgpd/bgp_memory.h')
| -rw-r--r-- | bgpd/bgp_memory.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_memory.h b/bgpd/bgp_memory.h index 4080248038..c5ba371498 100644 --- a/bgpd/bgp_memory.h +++ b/bgpd/bgp_memory.h @@ -139,5 +139,7 @@ DECLARE_MTYPE(BGP_FLOWSPEC_INDEX);  DECLARE_MTYPE(BGP_SRV6_L3VPN);  DECLARE_MTYPE(BGP_SRV6_VPN); +DECLARE_MTYPE(BGP_SRV6_SID); +DECLARE_MTYPE(BGP_SRV6_FUNCTION);  #endif /* _QUAGGA_BGP_MEMORY_H */  | 
