enums.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum _mem_status_t mem_status_t
 

Enumerations

enum  fd_type {
  FD_NONE,
  FD_LOG,
  FD_FILE,
  FD_SOCKET,
  FD_PIPE,
  FD_MSGHDR,
  FD_UNKNOWN
}
 
enum  {
  FD_READ,
  FD_WRITE
}
 
enum  peer_t {
  PEER_NONE,
  PEER_SIBLING,
  PEER_PARENT,
  PEER_MULTICAST
}
 
enum  _mem_status_t {
  NOT_IN_MEMORY,
  IN_MEMORY
}
 
enum  ping_status_t {
  PING_NONE,
  PING_WAITING,
  PING_DONE
}
 
enum  store_status_t {
  STORE_OK,
  STORE_PENDING
}
 
enum  swap_status_t {
  SWAPOUT_NONE,
  SWAPOUT_WRITING,
  SWAPOUT_DONE
}
 StoreEntry relationship with a disk cache. More...
 
enum  store_client_t {
  STORE_NON_CLIENT,
  STORE_MEM_CLIENT,
  STORE_DISK_CLIENT
}
 
enum  {
  ENTRY_SPECIAL,
  ENTRY_REVALIDATE_ALWAYS,
  DELAY_SENDING,
  RELEASE_REQUEST,
  REFRESH_REQUEST,
  ENTRY_REVALIDATE_STALE,
  ENTRY_DISPATCHED,
  KEY_PRIVATE,
  ENTRY_FWD_HDR_WAIT,
  ENTRY_NEGCACHED,
  ENTRY_VALIDATED,
  ENTRY_BAD_LENGTH,
  ENTRY_ABORTED,
  ENTRY_REQUIRES_COLLAPSING
}
 
enum  clientStream_status_t {
  STREAM_NONE,
  STREAM_COMPLETE,
  STREAM_UNPLANNED_COMPLETE,
  STREAM_FAILED
}
 
enum  stateful_helper_callback_t {
  S_HELPER_UNKNOWN,
  S_HELPER_RESERVE,
  S_HELPER_RELEASE
}
 
enum  {
  SNMP_C_VIEW,
  SNMP_C_USER,
  SNMP_C_COMMUNITY
}
 
enum  {
  STORE_LOG_CREATE,
  STORE_LOG_SWAPIN,
  STORE_LOG_SWAPOUT,
  STORE_LOG_RELEASE,
  STORE_LOG_SWAPOUTFAIL
}
 
enum  {
  PCTILE_HTTP,
  PCTILE_ICP_QUERY,
  PCTILE_DNS,
  PCTILE_HIT,
  PCTILE_MISS,
  PCTILE_NM,
  PCTILE_NH,
  PCTILE_ICP_REPLY
}
 
enum  {
  SENT,
  RECV
}
 
enum  {
  NETDB_EX_NONE,
  NETDB_EX_NETWORK,
  NETDB_EX_RTT,
  NETDB_EX_HOPS
}
 
enum  {
  VARY_NONE,
  VARY_MATCH,
  VARY_OTHER,
  VARY_CANCEL
}
 
enum  digest_read_state_t {
  DIGEST_READ_NONE,
  DIGEST_READ_REPLY,
  DIGEST_READ_HEADERS,
  DIGEST_READ_CBLOCK,
  DIGEST_READ_MASK,
  DIGEST_READ_DONE
}
 
enum  {
  DISABLE_PMTU_OFF,
  DISABLE_PMTU_ALWAYS,
  DISABLE_PMTU_TRANSPARENT
}
 
enum  htcp_clr_reason {
  HTCP_CLR_PURGE,
  HTCP_CLR_INVALIDATION
}
 

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
FD_READ 
FD_WRITE 

Definition at line 22 of file enums.h.

anonymous enum
Enumerator
ENTRY_SPECIAL 
ENTRY_REVALIDATE_ALWAYS 
DELAY_SENDING 

Tiny Store writes are likely. The writes should be aggregated together before Squid announces the new content availability to the store clients. For example, forming a cached HTTP response header may result in dozens of StoreEntry::write() calls, many of which adding as little as two bytes. Sharing those small writes with the store clients increases overhead, especially because the client code can do nothing useful with the written content until the whole response header is stored. Might be combined with ENTRY_FWD_HDR_WAIT. TODO: Rename to ENTRY_DELAY_WHILE_COALESCING to emphasize the difference from and similarity with ENTRY_FWD_HDR_WAIT.

RELEASE_REQUEST 

prohibits making the key public

REFRESH_REQUEST 
ENTRY_REVALIDATE_STALE 
ENTRY_DISPATCHED 
KEY_PRIVATE 
ENTRY_FWD_HDR_WAIT 

The current entry response may change. The contents of an entry in this state must not be shared with its store clients. For example, Squid receives (and buffers) an HTTP/504 response but may decide to retry that transaction to receive a successful response from another server instead. Might be combined with DELAY_SENDING. TODO: Rename to ENTRY_DELAY_WHILE_WOBBLING to emphasize the difference from and similarity with DELAY_SENDING.

ENTRY_NEGCACHED 
ENTRY_VALIDATED 
ENTRY_BAD_LENGTH 
ENTRY_ABORTED 
ENTRY_REQUIRES_COLLAPSING 

Whether the entry serves collapsed hits now. Meaningful only for public entries.

Definition at line 75 of file enums.h.

anonymous enum
Enumerator
SNMP_C_VIEW 
SNMP_C_USER 
SNMP_C_COMMUNITY 

Definition at line 140 of file enums.h.

anonymous enum
Enumerator
STORE_LOG_CREATE 
STORE_LOG_SWAPIN 
STORE_LOG_SWAPOUT 
STORE_LOG_RELEASE 
STORE_LOG_SWAPOUTFAIL 

Definition at line 147 of file enums.h.

anonymous enum
Enumerator
PCTILE_HTTP 
PCTILE_ICP_QUERY 
PCTILE_DNS 
PCTILE_HIT 
PCTILE_MISS 
PCTILE_NM 
PCTILE_NH 
PCTILE_ICP_REPLY 

Definition at line 155 of file enums.h.

anonymous enum
Enumerator
SENT 
RECV 

Definition at line 166 of file enums.h.

anonymous enum
Enumerator
NETDB_EX_NONE 
NETDB_EX_NETWORK 
NETDB_EX_RTT 
NETDB_EX_HOPS 

Definition at line 174 of file enums.h.

anonymous enum
Enumerator
VARY_NONE 
VARY_MATCH 
VARY_OTHER 
VARY_CANCEL 

Definition at line 184 of file enums.h.

anonymous enum
Enumerator
DISABLE_PMTU_OFF 
DISABLE_PMTU_ALWAYS 
DISABLE_PMTU_TRANSPARENT 

Definition at line 223 of file enums.h.

Enumerator
NOT_IN_MEMORY 
IN_MEMORY 

Definition at line 34 of file enums.h.

Enumerator
STREAM_NONE 
STREAM_COMPLETE 
STREAM_UNPLANNED_COMPLETE 
STREAM_FAILED 

Definition at line 117 of file enums.h.

Enumerator
DIGEST_READ_NONE 
DIGEST_READ_REPLY 
DIGEST_READ_HEADERS 
DIGEST_READ_CBLOCK 
DIGEST_READ_MASK 
DIGEST_READ_DONE 

Definition at line 194 of file enums.h.

enum fd_type
Enumerator
FD_NONE 
FD_LOG 
FD_FILE 
FD_SOCKET 
FD_PIPE 
FD_MSGHDR 
FD_UNKNOWN 

Definition at line 12 of file enums.h.

Enumerator
HTCP_CLR_PURGE 
HTCP_CLR_INVALIDATION 

Definition at line 233 of file enums.h.

enum peer_t
Enumerator
PEER_NONE 
PEER_SIBLING 
PEER_PARENT 
PEER_MULTICAST 

Definition at line 27 of file enums.h.

Enumerator
PING_NONE 
PING_WAITING 
PING_DONE 

Definition at line 39 of file enums.h.

Enumerator
S_HELPER_UNKNOWN 
S_HELPER_RESERVE 
S_HELPER_RELEASE 

Definition at line 133 of file enums.h.

Enumerator
STORE_NON_CLIENT 
STORE_MEM_CLIENT 
STORE_DISK_CLIENT 

Definition at line 63 of file enums.h.

Enumerator
STORE_OK 
STORE_PENDING 

Definition at line 45 of file enums.h.

Enumerator
SWAPOUT_NONE 

StoreEntry is currently not associated with any disk store entry. Does not guarantee (or preclude!) a matching disk store entry existence.

SWAPOUT_WRITING 

StoreEntry is being swapped out to the associated disk store entry. Guarantees the disk store entry existence.

SWAPOUT_DONE 

StoreEntry is associated with a complete (i.e., fully swapped out) disk store entry. Guarantees the disk store entry existence.

Definition at line 51 of file enums.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors