From 684586786e98bc779e269c0d879a2a4d3f1f4bce Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Mon, 18 Feb 2019 01:54:16 -0800 Subject: NAT44: fix snat_get_worker_out2in_cb (VPP-1536) Change-Id: I9c562f8e3407ca60a4412a162015fa505b7590b6 Signed-off-by: Matus Fabian --- src/plugins/nat/nat_reass.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/plugins/nat/nat_reass.h') diff --git a/src/plugins/nat/nat_reass.h b/src/plugins/nat/nat_reass.h index e58db445e6e..11f9db5a252 100644 --- a/src/plugins/nat/nat_reass.h +++ b/src/plugins/nat/nat_reass.h @@ -213,6 +213,19 @@ nat_reass_ip4_t *nat_ip4_reass_find (ip4_address_t src, ip4_address_t dst, u16 frag_id, u8 proto); +/** + * @brief Create reassembly. + * + * @param src Source IPv4 address. + * @param dst Destination IPv4 address. + * @param frag_id Fragment ID. + * @param proto L4 protocol. + * + * @returns Reassembly data or 0 on failure. + */ +nat_reass_ip4_t *nat_ip4_reass_create (ip4_address_t src, ip4_address_t dst, + u16 frag_id, u8 proto); + /** * @brief Find or create reassembly. * -- cgit 1.2.3-korg