Andrea Shepard
|
34591c61ef
Implement circuitmux_assert_okay() and helper functions in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
4a14c6aa67
Implement circuitmux_get_first_active_circuit() in circuitmux.c; add pick_active_circuit() to circuitmux_policy_t in circuitmux.h
|
12 jaren geleden |
Andrea Shepard
|
c4e5e4727d
Add comment for circuitmux_notify_xmit_cells() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
741bc97b24
Add comment for circuitmux_move_active_circ_to_tail() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
aff77eb1a9
Implement circuitmux_notify_xmit_cells() and circuitmux_move_active_circ_to_tail() helper in circuitmux.c
|
12 jaren geleden |
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
|
12 jaren geleden |
Andrea Shepard
|
86d9d85dfc
Implement circuitmux_clear_policy(), circuitmux_get_policy() and circuitmux_set_policy() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
eade7a37cd
Add cmux policy notify_set_n_cells() and notify_xmit_cells() callbacks
|
12 jaren geleden |
Andrea Shepard
|
930e3d611a
Allocate and free circuit-specific policy data in the right places
|
12 jaren geleden |
Andrea Shepard
|
851734d324
Implement circuitmux policy basic notifications mechanism
|
12 jaren geleden |
Andrea Shepard
|
35f5259df4
Eliminate linked list helper functions in relay.c which are no longer used
|
12 jaren geleden |
Andrea Shepard
|
38fa3b7e44
Implement circuitmux_make_circuit_inactive(), circuitmux_make_circuit_active() and linked list helper functions in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
fd31dd440c
Implement circuitmux_detach_all_circuits() in circuitmux.c
|
12 jaren geleden |
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
|
12 jaren geleden |
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
|
12 jaren geleden |
Andrea Shepard
|
8004448635
Handle n_mux/p_mux properly in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
c3ebd0340c
Implement circuitmux_detach_circuit() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
7e5c358d38
Implement circuitmux_attached_circuit_direction(), circuitmux_find_map_entry() and circuitmux_is_circuit_attached() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
3c41d7f414
Implement circuitmux_attach_circuit() in circuitmux.c
|
12 jaren geleden |
Andrea Shepard
|
e4a11b890e
Implement circuitmux_alloc()/circuitmux_free() and chanid/circid->muxinfo hash table
|
12 jaren geleden |
Andrea Shepard
|
b208539b80
Use circuitmux_t in channels and when relaying cells
|
12 jaren geleden |
Andrea Shepard
|
c684076fc7
Add circuitmux.c, circuitmux.h
|
12 jaren geleden |
Andrea Shepard
|
bddfb9ffa8
Add magic number for type-checking channel casts
|
12 jaren geleden |
Andrea Shepard
|
f00b44ef8c
Improve comments on channel_write_*()
|
12 jaren geleden |
Andrea Shepard
|
1c3362dcdc
Use cell_queue_entry_new/free() functions in channel.c
|
12 jaren geleden |
Andrea Shepard
|
53454fad95
Set reason_for_closing when erroring out of channel_tls_connect()
|
12 jaren geleden |
Andrea Shepard
|
3f4b95b1a3
Split channel_t into channel_t and channel_listener_t; get rid of that big union
|
12 jaren geleden |
Andrea Shepard
|
6391f963fb
Conform to existing Doxygen style
|
12 jaren geleden |
Andrea Shepard
|
06a76d1db4
Refactor channel_write_cell()/channel_write_packed_cell()/channel_write_var_cell() to eliminate redundant code
|
12 jaren geleden |
Andrea Shepard
|
89a00ee63a
Use typedefs for function pointer return values and s/listener/listener_fn/ for distinctness
|
12 jaren geleden |