From 758ec1371860929f9a4021ec7b22766d33303e83 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 24 Feb 2022 10:35:02 +0000 Subject: ip: Path MTU DPO allocation function is public Type: refactor check for pool expansion in the DPO allocation, just in case. Signed-off-by: Neale Ranns Change-Id: I6ba7dd66313630d3f24a51700ab4486ba43d856b --- src/vnet/ip/ip_path_mtu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/ip/ip_path_mtu.h') diff --git a/src/vnet/ip/ip_path_mtu.h b/src/vnet/ip/ip_path_mtu.h index 2c54fcd7401..96a5227237a 100644 --- a/src/vnet/ip/ip_path_mtu.h +++ b/src/vnet/ip/ip_path_mtu.h @@ -100,6 +100,9 @@ extern int ip_path_mtu_replace_end (void); extern u32 ip_pmtu_get_table_id (const ip_pmtu_t *ipt); extern void ip_pmtu_get_ip (const ip_pmtu_t *ipt, ip_address_t *ip); +extern void ip_pmtu_dpo_add_or_lock (u16 pmtu, const dpo_id_t *parent, + dpo_id_t *dpo); + /** * Data-plane accessor functions */ -- cgit 1.2.3-korg