private void setDataPacketContents() {
		
		short payloadLength = (short) this.payload.length;
		short dataParcelLength = (short) (DATA_HDR_SIZE + DATA_XHDR_SIZE + payloadLength);
		
		Parcel dataParcel = new Parcel(dataParcelLength);
		
		// HDR-DST-ID (8)
		dataParcel.add(this.hdr_dst.getAddress());
		
		// HDR-DST-LOC (24)
		dataParcel.add(this.hdr_dst.getLocation());
		
		// HDR-FWD-DST-ID (8)
		// Next Hop ID initially set to 0
		if(this.fwd_dst_set)
			dataParcel.add(this.hdr_fwd_dst_id);
		else
			for(int i=0; i<8; i++)
				dataParcel.add((byte)0x0);
		
		// HDR-FWD-MODE (1)
		dataParcel.add(this.hdr_fwd_mode);
		
		// HDR-DATA-LEN (2)
		dataParcel.add(payloadLength);
		
		// HDR-QOS (1)
		// Quality of Service set to MEDIUM
		dataParcel.add(this.hdr_qos);
		
		// HDR-HDR-CHK (4)
		dataParcel.add(this.hdr_hdr_chk);
		
		// XHDR (96)
		if(this.hdr_fwd_mode == ForwardMode.PERIMETER){
			dataParcel.add(this.xhdr_entered_loc);
			dataParcel.add(this.xhdr_face_entered_loc);
			dataParcel.add(this.xhdr_face_first_edge_src);
			dataParcel.add(this.xhdr_face_first_edge_dst);
		}
		else{
			for(int i=0; i<DATA_XHDR_SIZE; i++) {
				dataParcel.add(((byte)0x0));
			}
		}
			
		
		// Add data payload
		dataParcel.add(this.payload);
		
		super.setContents(dataParcel);
		
	}