Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | Fix comment on circuit_t.n_hop and remove circuitmux TODO in or.h | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Move all EWMA code into circuitmux.c and implement circuitmux_policy_t ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | methods using it | |||
| * | | Add circuitmux.h, circuitmux_ewma.h includes now necessary in networkstatus.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Remove cell_ewma_t from or.h and from circuit_t/or_circuit_t; all that goes ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | to the new circuitmux_ewma.c now | |||
| * | | Add circuitmux.h, circuitmux_ewma.h includes now necessary in config.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Remove EWMA code from relay.{c,h}; it goes to a circuitmux policy now | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Remove ewma setup code in init_circuit_base()/or_circuit_new() of ↵ | Andrea Shepard | 2012-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 Shepard | 2012-10-10 | |
| | | | | | | | | | | | | to circuitmux.h | |||
| * | | Add initial circuitmux_ewma.{c,h} | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_assert_okay() and helper functions in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_get_first_active_circuit() in circuitmux.c; add ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | pick_active_circuit() to circuitmux_policy_t in circuitmux.h | |||
| * | | Add comment for circuitmux_notify_xmit_cells() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Add comment for circuitmux_move_active_circ_to_tail() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_notify_xmit_cells() and ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | circuitmux_move_active_circ_to_tail() helper in circuitmux.c | |||
| * | | Consistently allow policy alloc_cmux_data() and alloc_circ_data() functions ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | to return NULL if the policy does not use this in circuitmux.c | |||
| * | | Implement circuitmux_clear_policy(), circuitmux_get_policy() and ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | circuitmux_set_policy() in circuitmux.c | |||
| * | | Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacks | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Allocate and free circuit-specific policy data in the right places | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux policy basic notifications mechanism | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Eliminate linked list helper functions in relay.c which are no longer used | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_make_circuit_inactive(), ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c | |||
| * | | Implement circuitmux_detach_all_circuits() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_is_circuit_active(), ↵ | Andrea Shepard | 2012-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 Shepard | 2012-10-10 | |
| | | | | | | | | | | | | circuitmux.c, remove unneeded circuitmux_add_to_num_cells() from circuitmux.h | |||
| * | | Handle n_mux/p_mux properly in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_detach_circuit() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_attached_circuit_direction(), ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c | |||
| * | | Implement circuitmux_attach_circuit() in circuitmux.c | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo ↵ | Andrea Shepard | 2012-10-10 | |
| | | | | | | | | | | | | hash table | |||
| * | | Use circuitmux_t in channels and when relaying cells | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Add circuitmux.c, circuitmux.h | Andrea Shepard | 2012-10-10 | |
| | | | ||||
| * | | Add magic number for type-checking channel casts | Andrea Shepard | 2012-10-09 | |
| | | | ||||
| * | | Improve comments on channel_write_*() | Andrea Shepard | 2012-10-09 | |
| | | | ||||
| * | | Use cell_queue_entry_new/free() functions in channel.c | Andrea Shepard | 2012-10-09 | |
| | | | ||||
| * | | Set reason_for_closing when erroring out of channel_tls_connect() | Andrea Shepard | 2012-10-09 | |
| | | | ||||
| * | | Split channel_t into channel_t and channel_listener_t; get rid of that big union | Andrea Shepard | 2012-10-09 | |
| | | | ||||
| * | | Conform to existing Doxygen style | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Refactor ↵ | Andrea Shepard | 2012-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 Shepard | 2012-10-08 | |
| | | | | | | | | | | | | for distinctness | |||
| * | | s/cell_queue/incoming_queue/g in channel.c for consistency with outgoing_queue | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Fix typo in comment | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | s/channel_request_close()/channel_mark_for_close()/g for consistency | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Make channel_force_free() static | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Simplify channel_next_with_digest() in channel.c | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Eliminate unnecessary channel_set_cell_handler(), ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | | | | | channel_set_var_cell_handler() in channel.c | |||
| * | | Eliminate unnecessary SMARTLIST_DEL_CURRENT() invocations in channel.c, ↵ | Andrea Shepard | 2012-10-08 | |
| | | | | | | | | | | | | channeltls.c | |||
| * | | Remove orphaned comment in channel_flush_some_cells_from_outgoing_queue() | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Simplify channel_find_by_remote_digest() | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | Abolish superfluous channel_find_by_remote_nickname() | Andrea Shepard | 2012-10-08 | |
| | | | ||||
| * | | channel_free() should be a no-op | Andrea Shepard | 2012-10-08 | |
| | | |