aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | Add a bunch of paranoid-mode expensive asserts incircuitmux.cAndrea Shepard2012-10-10
| | |
| * | Adjust the circuitmux_t counter correctly in circuitmux_notify_xmit_cells()Andrea Shepard2012-10-10
| | |
| * | Fix circuitmux attach/detach logic in circuit_set_circid_chan_helper(); it's ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | possible for id to be zero (not assigned yet) and shouldn't be attached then
| * | Update circuitmux-related TODOs in channeltls.cAndrea Shepard2012-10-10
| | |
| * | Fix comment on circuit_t.n_hop and remove circuitmux TODO in or.hAndrea Shepard2012-10-10
| | |
| * | Move all EWMA code into circuitmux.c and implement circuitmux_policy_t ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | methods using it
| * | Add circuitmux.h, circuitmux_ewma.h includes now necessary in networkstatus.cAndrea Shepard2012-10-10
| | |
| * | Remove cell_ewma_t from or.h and from circuit_t/or_circuit_t; all that goes ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | to the new circuitmux_ewma.c now
| * | Add circuitmux.h, circuitmux_ewma.h includes now necessary in config.cAndrea Shepard2012-10-10
| | |
| * | Remove EWMA code from relay.{c,h}; it goes to a circuitmux policy nowAndrea Shepard2012-10-10
| | |
| * | Remove ewma setup code in init_circuit_base()/or_circuit_new() of ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitlist.c; it gets allocated when the circuit is attached to a circuitmux_t with that policy now
| * | Add upcasts for circuitmux_policy_data_t and circuitmux_policy_circ_data_t ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | to circuitmux.h
| * | Add initial circuitmux_ewma.{c,h}Andrea Shepard2012-10-10
| | |
| * | Implement circuitmux_assert_okay() and helper functions in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_get_first_active_circuit() in circuitmux.c; add ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | pick_active_circuit() to circuitmux_policy_t in circuitmux.h
| * | Add comment for circuitmux_notify_xmit_cells() in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Add comment for circuitmux_move_active_circ_to_tail() in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_notify_xmit_cells() and ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux_move_active_circ_to_tail() helper in circuitmux.c
| * | Consistently allow policy alloc_cmux_data() and alloc_circ_data() functions ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | to return NULL if the policy does not use this in circuitmux.c
| * | Implement circuitmux_clear_policy(), circuitmux_get_policy() and ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux_set_policy() in circuitmux.c
| * | Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacksAndrea Shepard2012-10-10
| | |
| * | Allocate and free circuit-specific policy data in the right placesAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux policy basic notifications mechanismAndrea Shepard2012-10-10
| | |
| * | Eliminate linked list helper functions in relay.c which are no longer usedAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_make_circuit_inactive(), ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c
| * | Implement circuitmux_detach_all_circuits() in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_is_circuit_active(), ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux_num_cells_for_circuit(), circuitmux_num_cells(), circuitmux_num_active_circuits() and circuitmux_num_circuits() in circuitmux.c
| * | Implement circuitmux_clear_num_cells() and circuitmux_set_num_cells() in ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux.c, remove unneeded circuitmux_add_to_num_cells() from circuitmux.h
| * | Handle n_mux/p_mux properly in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_detach_circuit() in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_attached_circuit_direction(), ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c
| * | Implement circuitmux_attach_circuit() in circuitmux.cAndrea Shepard2012-10-10
| | |
| * | Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo ↵Andrea Shepard2012-10-10
| | | | | | | | | | | | hash table
| * | Use circuitmux_t in channels and when relaying cellsAndrea Shepard2012-10-10
| | |
| * | Add circuitmux.c, circuitmux.hAndrea Shepard2012-10-10
| | |
| * | Add magic number for type-checking channel castsAndrea Shepard2012-10-09
| | |
| * | Improve comments on channel_write_*()Andrea Shepard2012-10-09
| | |
| * | Use cell_queue_entry_new/free() functions in channel.cAndrea Shepard2012-10-09
| | |
| * | Set reason_for_closing when erroring out of channel_tls_connect()Andrea Shepard2012-10-09
| | |
| * | Split channel_t into channel_t and channel_listener_t; get rid of that big unionAndrea Shepard2012-10-09
| | |
| * | Conform to existing Doxygen styleAndrea Shepard2012-10-08
| | |
| * | Refactor ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | channel_write_cell()/channel_write_packed_cell()/channel_write_var_cell() to eliminate redundant code
| * | Use typedefs for function pointer return values and s/listener/listener_fn/ ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | for distinctness
| * | s/cell_queue/incoming_queue/g in channel.c for consistency with outgoing_queueAndrea Shepard2012-10-08
| | |
| * | Fix typo in commentAndrea Shepard2012-10-08
| | |
| * | s/channel_request_close()/channel_mark_for_close()/g for consistencyAndrea Shepard2012-10-08
| | |
| * | Make channel_force_free() staticAndrea Shepard2012-10-08
| | |
| * | Simplify channel_next_with_digest() in channel.cAndrea Shepard2012-10-08
| | |
| * | Eliminate unnecessary channel_set_cell_handler(), ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | channel_set_var_cell_handler() in channel.c
| * | Eliminate unnecessary SMARTLIST_DEL_CURRENT() invocations in channel.c, ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | channeltls.c