GNUnet  0.10.x
Data Fields
GNUNET_ATS_SessionHandle Struct Reference

Internal representation of a session by the plugin. More...

Collaboration diagram for GNUNET_ATS_SessionHandle:
[legend]

Data Fields

struct GNUNET_ATS_SessionHandlenext
 Kept in DLL per peer. More...
 
struct GNUNET_ATS_SessionHandleprev
 Kept in DLL per peer. More...
 
struct GNUNET_ATS_Sessionsession
 The session in the main ATS service. More...
 
const struct GNUNET_ATS_SessionDatadata
 Current performance data for this session. More...
 
struct Hellohello
 Hello matching this session, or NULL for none. More...
 
struct Peerpeer
 Peer this session is for. More...
 
const char * address
 Address used by this session (largely for debugging). More...
 
struct GNUNET_TIME_Absolute last_allocation
 When did we last update transport about the allocation? Used to dampen the frequency of updates. More...
 
struct GNUNET_BANDWIDTH_Value32NBO bw_in
 Last BW-in allocation given to the transport service. More...
 
struct GNUNET_BANDWIDTH_Value32NBO bw_out
 Last BW-out allocation given to the transport service. More...
 
uint64_t target_in
 New BW-in allocation given to the transport service. More...
 
uint64_t target_out
 New BW-out allocation given to the transport service. More...
 

Detailed Description

Internal representation of a session by the plugin.

(If desired, plugin may just use NULL.)

Definition at line 125 of file plugin_ats2_simple.c.

Field Documentation

◆ next

struct GNUNET_ATS_SessionHandle* GNUNET_ATS_SessionHandle::next

Kept in DLL per peer.

Definition at line 130 of file plugin_ats2_simple.c.

Referenced by suggest_start_cb(), update_allocation(), update_counters(), and watch_cb().

◆ prev

struct GNUNET_ATS_SessionHandle* GNUNET_ATS_SessionHandle::prev

Kept in DLL per peer.

Definition at line 135 of file plugin_ats2_simple.c.

◆ session

struct GNUNET_ATS_Session* GNUNET_ATS_SessionHandle::session

The session in the main ATS service.

Definition at line 140 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), and simple_session_add().

◆ data

const struct GNUNET_ATS_SessionData* GNUNET_ATS_SessionHandle::data

Current performance data for this session.

Definition at line 145 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), simple_session_add(), simple_session_update(), update_allocation(), and update_counters().

◆ hello

struct Hello* GNUNET_ATS_SessionHandle::hello

Hello matching this session, or NULL for none.

Definition at line 150 of file plugin_ats2_simple.c.

Referenced by simple_session_add(), simple_session_del(), and watch_cb().

◆ peer

struct Peer* GNUNET_ATS_SessionHandle::peer

Peer this session is for.

Definition at line 155 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), simple_session_add(), and simple_session_del().

◆ address

const char* GNUNET_ATS_SessionHandle::address

Address used by this session (largely for debugging).

Definition at line 160 of file plugin_ats2_simple.c.

Referenced by simple_session_add(), and watch_cb().

◆ last_allocation

struct GNUNET_TIME_Absolute GNUNET_ATS_SessionHandle::last_allocation

When did we last update transport about the allocation? Used to dampen the frequency of updates.

Definition at line 166 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport().

◆ bw_in

struct GNUNET_BANDWIDTH_Value32NBO GNUNET_ATS_SessionHandle::bw_in

Last BW-in allocation given to the transport service.

Definition at line 171 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport().

◆ bw_out

struct GNUNET_BANDWIDTH_Value32NBO GNUNET_ATS_SessionHandle::bw_out

Last BW-out allocation given to the transport service.

Definition at line 176 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport().

◆ target_in

uint64_t GNUNET_ATS_SessionHandle::target_in

New BW-in allocation given to the transport service.

Definition at line 181 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), and update_allocation().

◆ target_out

uint64_t GNUNET_ATS_SessionHandle::target_out

New BW-out allocation given to the transport service.

Definition at line 186 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), update_allocation(), and update_counters().


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