diff options
author | Florin Coras <fcoras@cisco.com> | 2016-04-06 08:05:17 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2016-04-06 08:05:17 -0700 |
commit | df2b0fd80281886cbfbe6c699f968b439cc3cd5f (patch) | |
tree | 8b5c9820c41312aa9fc56d595057f75745c2f1f5 /vnet | |
parent | a292c8c35794531d27a068310a76d067f2ccf56a (diff) |
Fix ip4 udp encap length type
Change-Id: If666cda99a5fd92e904898ced40bcf2b5ac2d3a5
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/ip/udp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/ip/udp.h b/vnet/vnet/ip/udp.h index 3aedf671779..2b82139dbd3 100644 --- a/vnet/vnet/ip/udp.h +++ b/vnet/vnet/ip/udp.h @@ -112,7 +112,7 @@ void udp_register_dst_port (vlib_main_t * vm, u32 node_index, u8 is_ip4); always_inline void -ip4_udp_encap_one (vlib_main_t * vm, vlib_buffer_t * b0, u8 * ec0, u32 ec_len) +ip4_udp_encap_one (vlib_main_t * vm, vlib_buffer_t * b0, u8 * ec0, word ec_len) { ip4_header_t * ip0; ip_csum_t sum0; @@ -150,7 +150,7 @@ ip4_udp_encap_one (vlib_main_t * vm, vlib_buffer_t * b0, u8 * ec0, u32 ec_len) always_inline void ip4_udp_encap_two (vlib_main_t * vm, vlib_buffer_t * b0, vlib_buffer_t * b1, - u8 * ec0, u8 * ec1, u32 ec_len) + u8 * ec0, u8 * ec1, word ec_len) { ip4_header_t * ip0, *ip1; ip_csum_t sum0, sum1; |