This PR removes the members freshnessperiod and status from struct ccnl_content_s. The freshness period indicates how long a node should wait after the arrival of the data packet before marking it “non-fresh”. The staleness is indicated in member stale in struct ccnl_content_s. The actual check is performed in function ccnl_do_ageing(void *ptr, void *dummy) in file ccnl-relay.c.
Contribution description
This PR removes the members
freshnessperiod
andstatus
from structccnl_content_s
. The freshness period indicates how long a node should wait after the arrival of the data packet before marking it “non-fresh”. The staleness is indicated in memberstale
in structccnl_content_s
. The actual check is performed in functionccnl_do_ageing(void *ptr, void *dummy)
in fileccnl-relay.c
.The member
freshnessperiod
of structccnl_content_s
is never modified or used after it was initialized inccnl_content_new
.The member
status
is covered by memberflags
of typeccnl_content_flags
.Issues/PRs references
Fixes #304