Project

General

Profile

Actions

Bug #2291

closed

HopCount for cached Data.

Added by Spyros Mastorakis over 9 years ago. Updated over 9 years ago.

Status:
Abandoned
Priority:
Normal
Category:
-
Target version:
Start date:
12/12/2014
Due date:
% Done:

100%

Estimated time:

Description

Happens when data is cached. Hop count carried by the interest packet is not attached to the data packet.

Actions #1

Updated by Spyros Mastorakis over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by Alex Afanasyev over 9 years ago

I have another idea. There is no real value of including interest hop count, as data must follow path of Interests. So, I would propose change the way hop count is measured (the original measure is/was confusing anyways).

Actions #3

Updated by Spyros Mastorakis over 9 years ago

Yeah, I have also thought of that, but I wanted to provide the same functionality as before.
So, you suggest that I measure only the hops for the interest packet and just double that for the data packet?
I like the fact that the calculation now is symmetric... I mean as far as the code structure is concerned...

Actions #4

Updated by Alex Afanasyev over 9 years ago

No. There is no reason to double. The measure will just measure number of hops a packet has traveled. If someone is interested in number of hops Interest traveled, they can measure that in producer app. If someone wants to measure hops of Data packets, they can look for that inside consumer. If someone wants total count of hops for Interest + Data, then they always just multiply, but I don't think this is what people are really interested in.

Actions #5

Updated by Spyros Mastorakis over 9 years ago

So we will have two independent counters in an essence, right?
Ok, I can do that..

Actions #6

Updated by Spyros Mastorakis over 9 years ago

Addressed.

Actions #7

Updated by Alex Afanasyev over 9 years ago

  • Status changed from Resolved to Abandoned

There is no need to do any special handling for cached data. Hop count is automatically added for any packet send out through NetDeviceFace (and not any other).

Actions

Also available in: Atom PDF