tor  0.4.1.0-alpha-dev
Data Fields
half_edge_t Struct Reference

#include <half_edge_st.h>

Data Fields

streamid_t stream_id
 
int sendmes_pending
 
int data_pending
 
int connected_pending: 1
 

Detailed Description

Struct to track a connection that we closed that the other end still thinks is open. Exists in origin_circuit_t.half_streams until we get an end cell or a resolved cell for this stream id.

Definition at line 17 of file half_edge_st.h.

Field Documentation

◆ connected_pending

int half_edge_t::connected_pending

Is there a connected cell pending?

Definition at line 30 of file half_edge_st.h.

Referenced by connection_half_edge_is_valid_connected().

◆ data_pending

int half_edge_t::data_pending

How much more data can the other end still send, based on our deliver window

Definition at line 27 of file half_edge_st.h.

Referenced by connection_half_edge_is_valid_data().

◆ sendmes_pending

int half_edge_t::sendmes_pending

How many sendme's can the other end still send, based on how much data we had sent at the time of close

Definition at line 23 of file half_edge_st.h.

Referenced by connection_half_edge_is_valid_sendme().

◆ stream_id

streamid_t half_edge_t::stream_id

stream_id for the half-closed connection

Definition at line 19 of file half_edge_st.h.

Referenced by connection_half_edge_compare_bsearch().


The documentation for this struct was generated from the following file: