aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_frag.h
diff options
context:
space:
mode:
authorVijayabhaskar Katamreddy <vkatamre@cisco.com>2018-06-28 11:08:29 -0700
committerDamjan Marion <dmarion@me.com>2018-06-29 09:58:39 +0000
commite95d1a1a081e96989740eb1b46ed83ffb6fa0cc0 (patch)
tree0bf989788a15ff211c070b6ef9f546b4b8daaa94 /src/vnet/ip/ip_frag.h
parentc667ffd4af4bb0a0576ceefcc29e3bb086a823c2 (diff)
Removing the static keyword do_fragment routines, so that could be accessed outside the ip_frag nodes
Change-Id: I46d3d10fa763fcf7a579620ec7cf1b204a53bce8 Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip_frag.h')
-rw-r--r--src/vnet/ip/ip_frag.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_frag.h b/src/vnet/ip/ip_frag.h
index 348f5a2fbc6..9d19299e2a5 100644
--- a/src/vnet/ip/ip_frag.h
+++ b/src/vnet/ip/ip_frag.h
@@ -84,7 +84,12 @@ typedef enum
void ip_frag_set_vnet_buffer (vlib_buffer_t * b, u16 offset, u16 mtu,
u8 next_index, u8 flags);
-
+void
+ip4_frag_do_fragment (vlib_main_t * vm, u32 pi, u32 ** buffer,
+ ip_frag_error_t * error);
+void
+ip6_frag_do_fragment (vlib_main_t * vm, u32 pi, u32 ** buffer,
+ ip_frag_error_t * error);
#endif /* ifndef IP_FRAG_H */
/*