Commit History

Author SHA1 Message Date
  Andrea Shepard b7d5784c54 Remove ewma setup code in init_circuit_base()/or_circuit_new() of circuitlist.c; it gets allocated when the circuit is attached to a circuitmux_t with that policy now 11 years ago
  Andrea Shepard e1de2f1437 Add upcasts for circuitmux_policy_data_t and circuitmux_policy_circ_data_t to circuitmux.h 11 years ago
  Andrea Shepard 184560c4f6 Add initial circuitmux_ewma.{c,h} 11 years ago
  Andrea Shepard 34591c61ef Implement circuitmux_assert_okay() and helper functions in circuitmux.c 11 years ago
  Andrea Shepard 4a14c6aa67 Implement circuitmux_get_first_active_circuit() in circuitmux.c; add pick_active_circuit() to circuitmux_policy_t in circuitmux.h 11 years ago
  Andrea Shepard c4e5e4727d Add comment for circuitmux_notify_xmit_cells() in circuitmux.c 11 years ago
  Andrea Shepard 741bc97b24 Add comment for circuitmux_move_active_circ_to_tail() in circuitmux.c 11 years ago
  Andrea Shepard aff77eb1a9 Implement circuitmux_notify_xmit_cells() and circuitmux_move_active_circ_to_tail() helper in circuitmux.c 11 years ago
  Andrea Shepard debef8f0cd Consistently allow policy alloc_cmux_data() and alloc_circ_data() functions to return NULL if the policy does not use this in circuitmux.c 11 years ago
  Andrea Shepard 86d9d85dfc Implement circuitmux_clear_policy(), circuitmux_get_policy() and circuitmux_set_policy() in circuitmux.c 11 years ago
  Andrea Shepard eade7a37cd Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacks 11 years ago
  Andrea Shepard 930e3d611a Allocate and free circuit-specific policy data in the right places 11 years ago
  Andrea Shepard 851734d324 Implement circuitmux policy basic notifications mechanism 11 years ago
  Andrea Shepard 35f5259df4 Eliminate linked list helper functions in relay.c which are no longer used 11 years ago
  Andrea Shepard 38fa3b7e44 Implement circuitmux_make_circuit_inactive(), circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c 11 years ago
  Andrea Shepard fd31dd440c Implement circuitmux_detach_all_circuits() in circuitmux.c 11 years ago
  Andrea Shepard 9da04141e2 Implement circuitmux_is_circuit_active(), circuitmux_num_cells_for_circuit(), circuitmux_num_cells(), circuitmux_num_active_circuits() and circuitmux_num_circuits() in circuitmux.c 11 years ago
  Andrea Shepard a9deec3550 Implement circuitmux_clear_num_cells() and circuitmux_set_num_cells() in circuitmux.c, remove unneeded circuitmux_add_to_num_cells() from circuitmux.h 11 years ago
  Andrea Shepard 8004448635 Handle n_mux/p_mux properly in circuitmux.c 11 years ago
  Andrea Shepard c3ebd0340c Implement circuitmux_detach_circuit() in circuitmux.c 11 years ago
  Andrea Shepard 7e5c358d38 Implement circuitmux_attached_circuit_direction(), circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c 11 years ago
  Andrea Shepard 3c41d7f414 Implement circuitmux_attach_circuit() in circuitmux.c 11 years ago
  Andrea Shepard e4a11b890e Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo hash table 11 years ago
  Andrea Shepard b208539b80 Use circuitmux_t in channels and when relaying cells 11 years ago
  Andrea Shepard c684076fc7 Add circuitmux.c, circuitmux.h 11 years ago
  Andrea Shepard bddfb9ffa8 Add magic number for type-checking channel casts 11 years ago
  Andrea Shepard f00b44ef8c Improve comments on channel_write_*() 11 years ago
  Andrea Shepard 1c3362dcdc Use cell_queue_entry_new/free() functions in channel.c 11 years ago
  Andrea Shepard 53454fad95 Set reason_for_closing when erroring out of channel_tls_connect() 11 years ago
  Andrea Shepard 3f4b95b1a3 Split channel_t into channel_t and channel_listener_t; get rid of that big union 11 years ago