summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-10New and improved circuitmux_detach_all_circuits(), now without the stupidAndrea Shepard
2012-10-10Correctly set magic numbers on ewma policy data/circuit data when allocatingAndrea Shepard
2012-10-10Set circuitmux policy on existing active channels when ewma_enabled changesAndrea Shepard
2012-10-10Set circuitmux policy on new channels in channeltls.cAndrea Shepard
2012-10-10Implement cell_ewma_enabled()Andrea Shepard
2012-10-10Implement channel_set_cmux_policy_everywhere()Andrea Shepard
2012-10-10Fix broken circuitmux_move_active_circ_to_tail(); don't assume n_chan is not ↵Andrea Shepard
NULL in circuitmux_detach_circuit()
2012-10-10Allow n_chan to be NULL in circuitmux_find_map_entry(); it can be but with ↵Andrea Shepard
non-NULL p_chan when extending a circuit
2012-10-10Use circuit_get_by_circid_channel_even_if_marked() and fix some asserts in ↵Andrea Shepard
circuitmux.c
2012-10-10Fix some circuitmux-related asserts in relay.cAndrea Shepard
2012-10-10Fix detach when setting circuit ID to 0 bug in ↵Andrea Shepard
circuit_set_circid_chan_helper() and add circuit_get_by_circid_channel_even_if_marked()
2012-10-10Detach circuits from circuitmux early when freeing channel so they can find ↵Andrea Shepard
the channel by ID
2012-10-10Handle closing circuits correctly with circuitmux_tAndrea Shepard
2012-10-10Add a bunch of paranoid-mode expensive asserts incircuitmux.cAndrea Shepard
2012-10-10Adjust the circuitmux_t counter correctly in circuitmux_notify_xmit_cells()Andrea Shepard
2012-10-10Fix circuitmux attach/detach logic in circuit_set_circid_chan_helper(); it's ↵Andrea Shepard
possible for id to be zero (not assigned yet) and shouldn't be attached then
2012-10-10Update circuitmux-related TODOs in channeltls.cAndrea Shepard
2012-10-10Fix comment on circuit_t.n_hop and remove circuitmux TODO in or.hAndrea Shepard
2012-10-10Move all EWMA code into circuitmux.c and implement circuitmux_policy_t ↵Andrea Shepard
methods using it
2012-10-10Add circuitmux.h, circuitmux_ewma.h includes now necessary in networkstatus.cAndrea Shepard
2012-10-10Remove cell_ewma_t from or.h and from circuit_t/or_circuit_t; all that goes ↵Andrea Shepard
to the new circuitmux_ewma.c now
2012-10-10Add circuitmux.h, circuitmux_ewma.h includes now necessary in config.cAndrea Shepard
2012-10-10Remove EWMA code from relay.{c,h}; it goes to a circuitmux policy nowAndrea Shepard
2012-10-10Remove ewma setup code in init_circuit_base()/or_circuit_new() of ↵Andrea Shepard
circuitlist.c; it gets allocated when the circuit is attached to a circuitmux_t with that policy now
2012-10-10Add upcasts for circuitmux_policy_data_t and circuitmux_policy_circ_data_t ↵Andrea Shepard
to circuitmux.h
2012-10-10Add initial circuitmux_ewma.{c,h}Andrea Shepard
2012-10-10Implement circuitmux_assert_okay() and helper functions in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_get_first_active_circuit() in circuitmux.c; add ↵Andrea Shepard
pick_active_circuit() to circuitmux_policy_t in circuitmux.h
2012-10-10Add comment for circuitmux_notify_xmit_cells() in circuitmux.cAndrea Shepard
2012-10-10Add comment for circuitmux_move_active_circ_to_tail() in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_notify_xmit_cells() and ↵Andrea Shepard
circuitmux_move_active_circ_to_tail() helper in circuitmux.c
2012-10-10Consistently allow policy alloc_cmux_data() and alloc_circ_data() functions ↵Andrea Shepard
to return NULL if the policy does not use this in circuitmux.c
2012-10-10Implement circuitmux_clear_policy(), circuitmux_get_policy() and ↵Andrea Shepard
circuitmux_set_policy() in circuitmux.c
2012-10-10Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacksAndrea Shepard
2012-10-10Allocate and free circuit-specific policy data in the right placesAndrea Shepard
2012-10-10Implement circuitmux policy basic notifications mechanismAndrea Shepard
2012-10-10Eliminate linked list helper functions in relay.c which are no longer usedAndrea Shepard
2012-10-10Implement circuitmux_make_circuit_inactive(), ↵Andrea Shepard
circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c
2012-10-10Implement circuitmux_detach_all_circuits() in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_is_circuit_active(), ↵Andrea Shepard
circuitmux_num_cells_for_circuit(), circuitmux_num_cells(), circuitmux_num_active_circuits() and circuitmux_num_circuits() in circuitmux.c
2012-10-10Implement circuitmux_clear_num_cells() and circuitmux_set_num_cells() in ↵Andrea Shepard
circuitmux.c, remove unneeded circuitmux_add_to_num_cells() from circuitmux.h
2012-10-10Handle n_mux/p_mux properly in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_detach_circuit() in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_attached_circuit_direction(), ↵Andrea Shepard
circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c
2012-10-10Implement circuitmux_attach_circuit() in circuitmux.cAndrea Shepard
2012-10-10Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo ↵Andrea Shepard
hash table
2012-10-10Use circuitmux_t in channels and when relaying cellsAndrea Shepard
2012-10-10Add circuitmux.c, circuitmux.hAndrea Shepard
2012-10-09Add magic number for type-checking channel castsAndrea Shepard
2012-10-09Improve comments on channel_write_*()Andrea Shepard