diff options
author | Neale Ranns <neale@graphiant.com> | 2022-02-24 10:35:02 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-03-03 16:49:20 +0000 |
commit | 758ec1371860929f9a4021ec7b22766d33303e83 (patch) | |
tree | 0b14a6fe53765a64c7a0a407f5feb43d8d4cb564 /src/vnet/ip/ip_path_mtu.h | |
parent | 87e92c6586747a790ae514effb79b86a3e53958e (diff) |
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 <neale@graphiant.com>
Change-Id: I6ba7dd66313630d3f24a51700ab4486ba43d856b
Diffstat (limited to 'src/vnet/ip/ip_path_mtu.h')
-rw-r--r-- | src/vnet/ip/ip_path_mtu.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |