X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fnat%2Fnat_reass.h;h=11f9db5a252065b5f67639348099d539b20911f2;hb=684586786e98bc779e269c0d879a2a4d3f1f4bce;hp=e58db445e6e00e5926574e6f1dafd88995c8ffc8;hpb=830fe7370af7ac9e28e9be04b5b5712b22ad9c31;p=vpp.git 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. *