aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
| * | 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
| * | Remove orphaned comment in channel_flush_some_cells_from_outgoing_queue()Andrea Shepard2012-10-08
| | |
| * | Simplify channel_find_by_remote_digest()Andrea Shepard2012-10-08
| | |
| * | Abolish superfluous channel_find_by_remote_nickname()Andrea Shepard2012-10-08
| | |
| * | channel_free() should be a no-opAndrea Shepard2012-10-08
| | |
| * | Use U64_FORMAT/U64_PRINTF_ARG rather than %lu for channel_tAndrea Shepard2012-10-08
| | |
| * | Check return value from connection_or_connect() in channel_tls_connect()Andrea Shepard2012-10-08
| | | | | | | | | | | | | | | | | | It's possible for connection_or_connect() to fail and return NULL after it sets tlschan->conn, so not checking leaves a channel hanging around in CHANNEL_STATE_OPENING with a pointer to a freed or_connection_t forever.
| * | Keep better statistics about channels and dump them from dumpstats() on SIGUSR1Andrea Shepard2012-10-08
| | |
| * | Call channel_tls_free_all() and channel_free_all() from tor_free_all in main.cAndrea Shepard2012-10-08
| | |
| * | Call connection_or_close_normally() rather than using ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | connection_mark_for_close()/connection_mark_and_flush() in run_connection_housekeeping() of main.c so that channels get sent to the CLOSING state correctly (avoids an assert otherwise)
| * | Call channel_run_cleanup() in main.c, and include a comment explaining how ↵Andrea Shepard2012-10-08
| | | | | | | | | | | | closing or_connections related to channels
| * | Use channel_is_bad_for_new_circs(), connection_or_get_num_circs() in main.cAndrea Shepard2012-10-08
| | |