summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/faces/ip/iface_ip_node.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-02-21 11:40:21 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-02-21 11:40:21 +0100
commita7b633f4c8b4d7245c4411cdf249f6e0809fb60b (patch)
tree0887427c62dd7e81401fdc65e169dd0e5dc4dc55 /hicn-plugin/src/faces/ip/iface_ip_node.c
parent0d0e74ffb9207cb56fcf4d5b034906a406c1bffa (diff)
[HICN-75] fixed forwarding issue in udp face and improved packet tracing to show the hicn name
Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/faces/ip/iface_ip_node.c')
-rw-r--r--hicn-plugin/src/faces/ip/iface_ip_node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hicn-plugin/src/faces/ip/iface_ip_node.c b/hicn-plugin/src/faces/ip/iface_ip_node.c
index a0baa7d8c..fcf43ebd7 100644
--- a/hicn-plugin/src/faces/ip/iface_ip_node.c
+++ b/hicn-plugin/src/faces/ip/iface_ip_node.c
@@ -77,7 +77,7 @@ typedef struct
u32 next_index;
u32 sw_if_index;
u8 pkt_type;
- u8 packet_data[128 - 1 * sizeof (u32)];
+ u8 packet_data[60];
} hicn_iface_ip4_input_trace_t;
typedef enum
@@ -94,7 +94,7 @@ typedef struct
u32 next_index;
u32 sw_if_index;
u8 pkt_type;
- u8 packet_data[128 - 1 * sizeof (u32)];
+ u8 packet_data[60];
} hicn_iface_ip6_input_trace_t;
typedef enum
@@ -530,7 +530,7 @@ typedef struct
u32 next_index;
u32 sw_if_index;
u8 pkt_type;
- u8 packet_data[128 - 1 * sizeof (u32)];
+ u8 packet_data[60];
} hicn_iface_ip4_output_trace_t;
typedef enum
@@ -546,7 +546,7 @@ typedef struct
u32 next_index;
u32 sw_if_index;
u8 pkt_type;
- u8 packet_data[128 - 1 * sizeof (u32)];
+ u8 packet_data[60];
} hicn_iface_ip6_output_trace_t;
typedef enum