diff options
author | 2019-02-21 11:40:21 +0100 | |
---|---|---|
committer | 2019-02-21 11:40:21 +0100 | |
commit | a7b633f4c8b4d7245c4411cdf249f6e0809fb60b (patch) | |
tree | 0887427c62dd7e81401fdc65e169dd0e5dc4dc55 /hicn-plugin/src/faces/ip | |
parent | 0d0e74ffb9207cb56fcf4d5b034906a406c1bffa (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')
-rw-r--r-- | hicn-plugin/src/faces/ip/face_ip_node.c | 8 | ||||
-rw-r--r-- | hicn-plugin/src/faces/ip/iface_ip_node.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/hicn-plugin/src/faces/ip/face_ip_node.c b/hicn-plugin/src/faces/ip/face_ip_node.c index f0408860e..7b32f7355 100644 --- a/hicn-plugin/src/faces/ip/face_ip_node.c +++ b/hicn-plugin/src/faces/ip/face_ip_node.c @@ -56,7 +56,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_face_ip4_input_trace_t; @@ -74,7 +74,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_face_ip6_input_trace_t; @@ -483,7 +483,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_face_ip4_output_trace_t; @@ -493,7 +493,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_face_ip6_output_trace_t; 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 |