Remove user pdu hex dump
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5999 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user