Commit 0056cea7 authored by Lionel Gauthier's avatar Lionel Gauthier

Remove user pdu hex dump

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5999 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 5df0cabf
...@@ -473,9 +473,9 @@ static void *gtpv1u_thread(void *args) ...@@ -473,9 +473,9 @@ static void *gtpv1u_thread(void *args)
data_req_p = &received_message_p->ittiMsg.gtpv1uTunnelDataReq; data_req_p = &received_message_p->ittiMsg.gtpv1uTunnelDataReq;
GTPU_DEBUG("-- GTPV1U_TUNNEL_DATA_REQ -----------------------------------------------------\n%s :\n", //GTPU_DEBUG("-- GTPV1U_TUNNEL_DATA_REQ -----------------------------------------------------\n%s :\n",
__FUNCTION__); // __FUNCTION__);
gtpu_print_hex_octets(data_req_p->buffer, data_req_p->length); //gtpu_print_hex_octets(data_req_p->buffer, data_req_p->length);
memset(&stack_req, 0, sizeof(NwGtpv1uUlpApiT)); memset(&stack_req, 0, sizeof(NwGtpv1uUlpApiT));
......
...@@ -93,8 +93,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int ...@@ -93,8 +93,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int
dest4_addr = iph_p->daddr; dest4_addr = iph_p->daddr;
if (hashtable_get(sgi_data_pP->addr_v4_mapping, dest4_addr, (void**)&addr_mapping_p) == HASH_TABLE_OK) { if (hashtable_get(sgi_data_pP->addr_v4_mapping, dest4_addr, (void**)&addr_mapping_p) == HASH_TABLE_OK) {
memcpy(eh_p->ether_dhost, addr_mapping_p->ue_mac_addr, ETH_ALEN); memcpy(eh_p->ether_dhost, addr_mapping_p->ue_mac_addr, ETH_ALEN);
SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); //SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__);
sgi_print_hex_octets(data_pP, packet_sizeP); //sgi_print_hex_octets(data_pP, packet_sizeP);
} else { } else {
if (sgi_data_pP->ipv4_addr == dest4_addr) { if (sgi_data_pP->ipv4_addr == dest4_addr) {
...@@ -116,8 +116,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int ...@@ -116,8 +116,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int
memcpy(dest6_addr.__in6_u.__u6_addr8, ip6h_p->daddr.__in6_u.__u6_addr8, 16); memcpy(dest6_addr.__in6_u.__u6_addr8, ip6h_p->daddr.__in6_u.__u6_addr8, 16);
if (obj_hashtable_get(sgi_data_pP->addr_v6_mapping, (void*)&dest6_addr, sizeof(struct in6_addr), (void**)&addr_mapping_p) == HASH_TABLE_OK) { if (obj_hashtable_get(sgi_data_pP->addr_v6_mapping, (void*)&dest6_addr, sizeof(struct in6_addr), (void**)&addr_mapping_p) == HASH_TABLE_OK) {
memcpy(eh_p->ether_dhost, addr_mapping_p->ue_mac_addr, ETH_ALEN); memcpy(eh_p->ether_dhost, addr_mapping_p->ue_mac_addr, ETH_ALEN);
SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); //SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__);
sgi_print_hex_octets(data_pP, packet_sizeP); //sgi_print_hex_octets(data_pP, packet_sizeP);
} else { } else {
//SGI_IF_WARNING("%s Dropping incoming egress IPV6 packet, IPV6 dest %X:%X:%X:%X:%X:%X:%X:%X not found \n", __FUNCTION__, NIP6ADDR(&dest6_addr)); //SGI_IF_WARNING("%s Dropping incoming egress IPV6 packet, IPV6 dest %X:%X:%X:%X:%X:%X:%X:%X not found \n", __FUNCTION__, NIP6ADDR(&dest6_addr));
return; return;
...@@ -226,7 +226,7 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int ...@@ -226,7 +226,7 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int
switch (htons(eh_p->ether_type)) { switch (htons(eh_p->ether_type)) {
sgi_print_hex_octets(data_pP, packet_sizeP); //sgi_print_hex_octets(data_pP, packet_sizeP);
//******************* //*******************
case ETHERTYPE_IP: case ETHERTYPE_IP:
...@@ -315,8 +315,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int ...@@ -315,8 +315,8 @@ void sgi_process_raw_packet(sgi_data_t *sgi_data_pP, unsigned char* data_pP, int
//SGI_IF_ERROR("%s UNHANDLED ether type %d of incoming egress packet\n", __FUNCTION__, eh_p->ether_type); //SGI_IF_ERROR("%s UNHANDLED ether type %d of incoming egress packet\n", __FUNCTION__, eh_p->ether_type);
return; return;
} }
SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); //SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__);
sgi_print_hex_octets(data_pP+sizeof(sgi_data_pP->eh), packet_sizeP - sizeof(sgi_data_pP->eh)); //sgi_print_hex_octets(data_pP+sizeof(sgi_data_pP->eh), packet_sizeP - sizeof(sgi_data_pP->eh));
message_p = itti_alloc_new_message(TASK_FW_IP, GTPV1U_TUNNEL_DATA_REQ); message_p = itti_alloc_new_message(TASK_FW_IP, GTPV1U_TUNNEL_DATA_REQ);
if (message_p == NULL) { if (message_p == NULL) {
......
...@@ -347,10 +347,10 @@ static void *udp_intertask_interface(void *args_p) ...@@ -347,10 +347,10 @@ static void *udp_intertask_interface(void *args_p)
udp_data_req_p = &received_message_p->ittiMsg.udp_data_req; udp_data_req_p = &received_message_p->ittiMsg.udp_data_req;
UDP_DEBUG("-- UDP_DATA_REQ -----------------------------------------------------\n%s :\n", //UDP_DEBUG("-- UDP_DATA_REQ -----------------------------------------------------\n%s :\n",
__FUNCTION__); // __FUNCTION__);
udp_print_hex_octets(&udp_data_req_p->buffer[udp_data_req_p->buffer_offset], //udp_print_hex_octets(&udp_data_req_p->buffer[udp_data_req_p->buffer_offset],
udp_data_req_p->buffer_length); // udp_data_req_p->buffer_length);
memset(&peer_addr, 0, sizeof(struct sockaddr_in)); memset(&peer_addr, 0, sizeof(struct sockaddr_in));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment