The propagating interest hash table is keyed by Nonce. More...
Data Fields | |
| struct propagating_entry * | next |
| next (in arrival order) | |
| struct propagating_entry * | prev |
| previous (older) | |
| unsigned | flags |
| CCN_PR_xxx. | |
| unsigned | faceid |
| origin of the interest, dest for matches | |
| int | usec |
| usec until timeout | |
| int | sent |
| leading faceids of outbound processed | |
| struct ccn_indexbuf * | outbound |
| in order of use | |
| unsigned char * | interest_msg |
| pending interest message | |
| unsigned | size |
| size in bytes of interest_msg | |
| int | fgen |
| decide if outbound is stale | |
| unsigned | filedesc |
| origin of the interest, dest for matches | |
The propagating interest hash table is keyed by Nonce.
While the interest is pending, the pe is also kept in a doubly-linked list off of a nameprefix_entry.
When the interest is consumed, the pe is removed from the doubly-linked list and is cleaned up by freeing unnecessary bits (including the interest message itself). It remains in the hash table for a time, in order to catch duplicate nonces.
Definition at line 284 of file ccnd_private.h.
| unsigned propagating_entry::faceid |
origin of the interest, dest for matches
Definition at line 288 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), ccnd_collect_stats(), consume(), consume_matching_interests(), do_propagate(), nameprefix_for_pe(), nameprefix_seek(), propagate_interest(), and replan_propagation().
decide if outbound is stale
Definition at line 294 of file ccnd_private.h.
Referenced by do_propagate(), propagate_interest(), and replan_propagation().
| unsigned propagating_entry::filedesc |
origin of the interest, dest for matches
Definition at line 368 of file ccnr_private.h.
Referenced by ccnr_collect_stats(), r_match_consume_interest(), and r_match_consume_matching_interests().
| unsigned propagating_entry::flags |
CCN_PR_xxx.
Definition at line 287 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), ccn_stuff_interest(), do_propagate(), propagate_interest(), and replan_propagation().
| unsigned char * propagating_entry::interest_msg |
pending interest message
Definition at line 292 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), ccn_stuff_interest(), ccnd_collect_stats(), ccnr_collect_stats(), check_propagating(), consume(), consume_matching_interests(), do_propagate(), propagate_interest(), r_match_consume_interest(), and r_match_consume_matching_interests().
| struct propagating_entry * propagating_entry::next |
next (in arrival order)
Definition at line 285 of file ccnd_private.h.
Referenced by ccn_stuff_interest(), ccnd_collect_stats(), ccnr_collect_stats(), check_nameprefix_entries(), consume(), consume_matching_interests(), finalize_nameprefix(), link_propagating_interest_to_nameprefix(), nameprefix_for_pe(), nameprefix_seek(), r_fwd_finalize_nameprefix(), r_match_consume_interest(), and r_match_consume_matching_interests().
| struct ccn_indexbuf * propagating_entry::outbound |
in order of use
Definition at line 291 of file ccnd_private.h.
Referenced by ccn_stuff_interest(), consume(), do_propagate(), promote_outbound(), propagate_interest(), r_match_consume_interest(), and replan_propagation().
| struct propagating_entry * propagating_entry::prev |
previous (older)
Definition at line 286 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), consume(), link_propagating_interest_to_nameprefix(), nameprefix_seek(), and r_match_consume_interest().
leading faceids of outbound processed
Definition at line 290 of file ccnd_private.h.
Referenced by ccn_stuff_interest(), do_propagate(), is_duplicate_flooded(), pe_next_usec(), promote_outbound(), and propagate_interest().
| unsigned propagating_entry::size |
size in bytes of interest_msg
Definition at line 293 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), ccn_stuff_interest(), check_propagating(), consume_matching_interests(), do_propagate(), propagate_interest(), and r_match_consume_matching_interests().
usec until timeout
Definition at line 289 of file ccnd_private.h.
Referenced by adjust_outbound_for_existing_interests(), consume(), do_propagate(), pe_next_usec(), propagate_interest(), and r_match_consume_interest().
1.6.3