diff --git a/openair-cn/GTPV1-U/gtpv1u_task.c b/openair-cn/GTPV1-U/gtpv1u_task.c index dab243d29408fcc7caa557955d1fdec27f9d4091..17f25d38e982de9141f81937b0e4cec53ed0b2df 100644 --- a/openair-cn/GTPV1-U/gtpv1u_task.c +++ b/openair-cn/GTPV1-U/gtpv1u_task.c @@ -473,9 +473,9 @@ static void *gtpv1u_thread(void *args) data_req_p = &received_message_p->ittiMsg.gtpv1uTunnelDataReq; - GTPU_DEBUG("-- GTPV1U_TUNNEL_DATA_REQ -----------------------------------------------------\n%s :\n", - __FUNCTION__); - gtpu_print_hex_octets(data_req_p->buffer, data_req_p->length); + //GTPU_DEBUG("-- GTPV1U_TUNNEL_DATA_REQ -----------------------------------------------------\n%s :\n", + // __FUNCTION__); + //gtpu_print_hex_octets(data_req_p->buffer, data_req_p->length); memset(&stack_req, 0, sizeof(NwGtpv1uUlpApiT)); diff --git a/openair-cn/SGI/sgi_egress.c b/openair-cn/SGI/sgi_egress.c index 00cf6ab5e8fdb765e677ebfef8f637a08834c24d..01bdecace1a8badb3ab19c20dd0ab9beeeee2761 100755 --- a/openair-cn/SGI/sgi_egress.c +++ b/openair-cn/SGI/sgi_egress.c @@ -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; 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); - SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); - sgi_print_hex_octets(data_pP, packet_sizeP); + //SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); + //sgi_print_hex_octets(data_pP, packet_sizeP); } else { 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 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) { memcpy(eh_p->ether_dhost, addr_mapping_p->ue_mac_addr, ETH_ALEN); - SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); - sgi_print_hex_octets(data_pP, packet_sizeP); + //SGI_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); + //sgi_print_hex_octets(data_pP, packet_sizeP); } 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)); return; @@ -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)) { - sgi_print_hex_octets(data_pP, packet_sizeP); + //sgi_print_hex_octets(data_pP, packet_sizeP); //******************* case ETHERTYPE_IP: @@ -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); return; } - 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_IF_DEBUG("--------------------------------------------------------------\n%s :\n", __FUNCTION__); + //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); if (message_p == NULL) { diff --git a/openair-cn/UDP/udp_primitives_server.c b/openair-cn/UDP/udp_primitives_server.c index f897aa9b7ee6108398623acf810069baa5ac3b63..794f336642cd14d471f01eb40a8a99e7d7b4a5fb 100644 --- a/openair-cn/UDP/udp_primitives_server.c +++ b/openair-cn/UDP/udp_primitives_server.c @@ -347,10 +347,10 @@ static void *udp_intertask_interface(void *args_p) udp_data_req_p = &received_message_p->ittiMsg.udp_data_req; - UDP_DEBUG("-- UDP_DATA_REQ -----------------------------------------------------\n%s :\n", - __FUNCTION__); - udp_print_hex_octets(&udp_data_req_p->buffer[udp_data_req_p->buffer_offset], - udp_data_req_p->buffer_length); + //UDP_DEBUG("-- UDP_DATA_REQ -----------------------------------------------------\n%s :\n", + // __FUNCTION__); + //udp_print_hex_octets(&udp_data_req_p->buffer[udp_data_req_p->buffer_offset], + // udp_data_req_p->buffer_length); memset(&peer_addr, 0, sizeof(struct sockaddr_in));