Go to the source code of this file.
|
#define | TRUE 1 |
|
#define | FALSE 0 |
|
#define | BUFSIZ 4096 /* make unreasonable guess */ |
|
#define | COMM_SELECT_READ (0x1) |
|
#define | COMM_SELECT_WRITE (0x2) |
|
#define | DISK_OK (0) |
|
#define | DISK_ERROR (-1) |
|
#define | DISK_EOF (-2) |
|
#define | DISK_NO_SPACE_LEFT (-6) |
|
#define | FD_DESC_SZ 64 |
|
#define | FQDN_LOOKUP_IF_MISS 0x01 |
|
#define | FQDN_MAX_NAMES 5 |
|
#define | USER_IDENT_SZ 64 |
|
#define | IP_LOOKUP_IF_MISS 0x01 |
|
#define | ICP_FLAG_SRC_RTT 0x40000000ul |
|
#define | ICP_VERSION_2 2 |
|
#define | ICP_VERSION_3 3 |
|
#define | ICP_VERSION_CURRENT ICP_VERSION_2 |
|
#define | DIRECT_UNKNOWN 0 |
|
#define | DIRECT_NO 1 |
|
#define | DIRECT_MAYBE 2 |
|
#define | DIRECT_YES 3 |
|
#define | REDIRECT_AV_FACTOR 1000 |
|
#define | REDIRECT_NONE 0 |
|
#define | REDIRECT_PENDING 1 |
|
#define | REDIRECT_DONE 2 |
|
#define | LOG_ENABLE 1 |
|
#define | LOG_DISABLE 0 |
|
#define | SM_PAGE_SIZE 4096 |
|
#define | EBIT_SET(flag, bit) ((void)((flag) |= ((1L<<(bit))))) |
|
#define | EBIT_CLR(flag, bit) ((void)((flag) &= ~((1L<<(bit))))) |
|
#define | EBIT_TEST(flag, bit) ((flag) & ((1L<<(bit)))) |
|
#define | CBIT_BIT(bit) (1<<((bit)%8)) |
|
#define | CBIT_BIN(mask, bit) (mask)[(bit)>>3] |
|
#define | CBIT_SET(mask, bit) ((void)(CBIT_BIN(mask, bit) |= CBIT_BIT(bit))) |
|
#define | CBIT_CLR(mask, bit) ((void)(CBIT_BIN(mask, bit) &= ~CBIT_BIT(bit))) |
|
#define | CBIT_TEST(mask, bit) (CBIT_BIN(mask, bit) & CBIT_BIT(bit)) |
|
#define | MAX_URL 8192 |
|
#define | MAX_LOGIN_SZ 128 |
|
#define | PEER_MAX_ADDRESSES 10 |
|
#define | RTT_AV_FACTOR 50 |
|
#define | RTT_BACKGROUND_AV_FACTOR 25 /* Background pings need a smaller factor since they are sent less frequently */ |
|
#define | PEER_DEAD 0 |
|
#define | PEER_ALIVE 1 |
|
#define | CLIENT_REQ_BUF_SZ 4096 |
|
#define | IPC_NONE 0 |
|
#define | IPC_TCP_SOCKET 1 |
|
#define | IPC_UDP_SOCKET 2 |
|
#define | IPC_FIFO 3 |
|
#define | IPC_UNIX_STREAM 4 |
|
#define | IPC_UNIX_DGRAM 5 |
|
#define | IPC_STREAM IPC_TCP_SOCKET |
|
#define | IPC_DGRAM IPC_UDP_SOCKET |
|
#define | COUNT_INTERVAL 60 |
|
#define | N_COUNT_HIST (3600 / COUNT_INTERVAL) + 1 |
|
#define | N_COUNT_HOUR_HIST (86400 * 3) / (60 * COUNT_INTERVAL) |
|
#define | PEER_TCP_MAGIC_COUNT 10 |
|
#define | URI_WHITESPACE_STRIP 0 |
|
#define | URI_WHITESPACE_ALLOW 1 |
|
#define | URI_WHITESPACE_ENCODE 2 |
|
#define | URI_WHITESPACE_CHOP 3 |
|
#define | URI_WHITESPACE_DENY 4 |
|
#define | O_TEXT 0 |
|
#define | O_BINARY 0 |
|
#define | FILE_MODE(x) ((x)&(O_RDONLY|O_WRONLY|O_RDWR)) |
|
◆ BUFSIZ
#define BUFSIZ 4096 /* make unreasonable guess */ |
◆ CBIT_BIN
#define CBIT_BIN |
( |
|
mask, |
|
|
|
bit |
|
) |
| (mask)[(bit)>>3] |
◆ CBIT_BIT
#define CBIT_BIT |
( |
|
bit | ) |
(1<<((bit)%8)) |
◆ CBIT_CLR
◆ CBIT_SET
◆ CBIT_TEST
◆ CLIENT_REQ_BUF_SZ
#define CLIENT_REQ_BUF_SZ 4096 |
◆ COMM_SELECT_READ
#define COMM_SELECT_READ (0x1) |
◆ COMM_SELECT_WRITE
#define COMM_SELECT_WRITE (0x2) |
◆ COUNT_INTERVAL
#define COUNT_INTERVAL 60 |
◆ DIRECT_MAYBE
◆ DIRECT_NO
◆ DIRECT_UNKNOWN
◆ DIRECT_YES
◆ DISK_EOF
◆ DISK_ERROR
◆ DISK_NO_SPACE_LEFT
#define DISK_NO_SPACE_LEFT (-6) |
◆ DISK_OK
◆ EBIT_CLR
#define EBIT_CLR |
( |
|
flag, |
|
|
|
bit |
|
) |
| ((void)((flag) &= ~((1L<<(bit))))) |
◆ EBIT_SET
#define EBIT_SET |
( |
|
flag, |
|
|
|
bit |
|
) |
| ((void)((flag) |= ((1L<<(bit))))) |
◆ EBIT_TEST
#define EBIT_TEST |
( |
|
flag, |
|
|
|
bit |
|
) |
| ((flag) & ((1L<<(bit)))) |
◆ FALSE
◆ FD_DESC_SZ
◆ FILE_MODE
#define FILE_MODE |
( |
|
x | ) |
((x)&(O_RDONLY|O_WRONLY|O_RDWR)) |
◆ FQDN_LOOKUP_IF_MISS
#define FQDN_LOOKUP_IF_MISS 0x01 |
◆ FQDN_MAX_NAMES
◆ ICP_FLAG_SRC_RTT
#define ICP_FLAG_SRC_RTT 0x40000000ul |
◆ ICP_VERSION_2
◆ ICP_VERSION_3
◆ ICP_VERSION_CURRENT
◆ IP_LOOKUP_IF_MISS
#define IP_LOOKUP_IF_MISS 0x01 |
◆ IPC_DGRAM
◆ IPC_FIFO
◆ IPC_NONE
◆ IPC_STREAM
◆ IPC_TCP_SOCKET
◆ IPC_UDP_SOCKET
◆ IPC_UNIX_DGRAM
◆ IPC_UNIX_STREAM
#define IPC_UNIX_STREAM 4 |
◆ LOG_DISABLE
◆ LOG_ENABLE
◆ MAX_LOGIN_SZ
◆ MAX_URL
◆ N_COUNT_HIST
◆ N_COUNT_HOUR_HIST
◆ O_BINARY
◆ O_TEXT
◆ PEER_ALIVE
◆ PEER_DEAD
◆ PEER_MAX_ADDRESSES
#define PEER_MAX_ADDRESSES 10 |
◆ PEER_TCP_MAGIC_COUNT
#define PEER_TCP_MAGIC_COUNT 10 |
◆ REDIRECT_AV_FACTOR
#define REDIRECT_AV_FACTOR 1000 |
◆ REDIRECT_DONE
◆ REDIRECT_NONE
◆ REDIRECT_PENDING
#define REDIRECT_PENDING 1 |
◆ RTT_AV_FACTOR
◆ RTT_BACKGROUND_AV_FACTOR
#define RTT_BACKGROUND_AV_FACTOR 25 /* Background pings need a smaller factor since they are sent less frequently */ |
◆ SM_PAGE_SIZE
#define SM_PAGE_SIZE 4096 |
◆ TRUE
◆ URI_WHITESPACE_ALLOW
#define URI_WHITESPACE_ALLOW 1 |
◆ URI_WHITESPACE_CHOP
#define URI_WHITESPACE_CHOP 3 |
◆ URI_WHITESPACE_DENY
#define URI_WHITESPACE_DENY 4 |
◆ URI_WHITESPACE_ENCODE
#define URI_WHITESPACE_ENCODE 2 |
◆ URI_WHITESPACE_STRIP
#define URI_WHITESPACE_STRIP 0 |
◆ USER_IDENT_SZ