iPXE
Data Fields
pooled_connection Struct Reference

A pooled connection. More...

#include <pool.h>

Data Fields

struct list_head list
 List of pooled connections.
struct retry_timer timer
 Expiry timer.
void(* expired )(struct pooled_connection *pool)
 Close expired pooled connection.
unsigned int flags
 Flags.

Detailed Description

A pooled connection.

Definition at line 17 of file pool.h.


Field Documentation

List of pooled connections.

Note that each connecton in the pool has a running expiry timer which holds a reference to the connection. We therefore do not require the connection pool list to hold a reference for each pooled connection.

Definition at line 25 of file pool.h.

Referenced by pool_add(), pool_del(), and pool_expired().

Expiry timer.

Definition at line 27 of file pool.h.

Referenced by pool_add(), and pool_del().

Close expired pooled connection.

Parameters:
poolPooled connection

Definition at line 32 of file pool.h.

Referenced by pool_expired().

Flags.

Definition at line 34 of file pool.h.

Referenced by pool_del().


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