Classes | |
| struct | t_MixPacketPayload |
| struct | t_MixPacket |
| struct | t_queue_entry |
| struct | t_mix_parameters |
| the Replaytimestamp type More... | |
| struct | t_accountinginfo |
| Structure that holds all per-user payment information Included in CAFirstMixChannelList (struct fmHashTableEntry). More... | |
Defines | |
| #define | MIX_PAYLOAD_HTTP 0 |
| #define | MIX_PAYLOAD_SOCKS 1 |
| #define | MIXPACKET_SIZE 998 |
| #define | CHANNEL_DATA 0x00 |
| #define | CHANNEL_OPEN 0x08 |
| #define | CHANNEL_TIMESTAMPS_UP 0x60 |
| #define | CHANNEL_TIMESTAMPS_DOWN 0x90 |
| #define | CHANNEL_CLOSE 0x01 |
| #define | CHANNEL_SUSPEND 0x02 |
| #define | CHANNEL_RESUME 0x04 |
| #define | CHANNEL_DUMMY 0x10 |
| #define | CHANNEL_ALLOWED_FLAGS (CHANNEL_OPEN|CHANNEL_CLOSE|CHANNEL_SUSPEND|CHANNEL_RESUME|CHANNEL_TIMESTAMPS_UP|CHANNEL_TIMESTAMPS_DOWN) |
| #define | CONNECTION_ERROR_FLAG 0x01 |
| #define | DATA_SIZE 992 |
| #define | PAYLOAD_SIZE 989 |
| #define | AUTH_NEW 0x0 |
| new user, not yet authenticated | |
| #define | AUTH_GOT_ACCOUNTCERT 0x1 |
| user has sent an account certificate | |
| #define | AUTH_ACCOUNT_OK 0x2 |
| format and signature of all received certificates was OK | |
| #define | AUTH_WAITING_FOR_FIRST_SETTLED_CC 0x4 |
| First CC from client has not been settled yet. | |
| #define | AUTH_SENT_CC_REQUEST 0x20 |
| we have sent one or two CC requests | |
| #define | AUTH_DATABASE 0x40 |
| A database error occured (internal or in the BI). | |
| #define | AUTH_BLOCKED 0x80 |
| Account has been blocked temporarly. | |
| #define | AUTH_SENT_ACCOUNT_REQUEST 0x100 |
| we have sent one request for an accountcertificate | |
| #define | AUTH_HARD_LIMIT_REACHED 0x200 |
| #define | AUTH_FAKE 0x400 |
| the user tried to fake something | |
| #define | AUTH_CHALLENGE_SENT 0x800 |
| we have sent a challenge and not yet received the response | |
| #define | AUTH_ACCOUNT_EMPTY 0x1000 |
| the account is empty | |
| #define | AUTH_FATAL_ERROR 0x2000 |
| a fatal error occured earlier | |
| #define | AUTH_OUTDATED_CC 0x4000 |
| #define | AUTH_INVALID_ACCOUNT 0x8000 |
| Account does not exist. | |
| #define | AUTH_TIMEOUT_STARTED 0x10000 |
| #define | AUTH_MULTIPLE_LOGIN 0x20000 |
| #define | AUTH_UNKNOWN 0x40000 |
| #define | AUTH_DELETE_ENTRY 0x80000 |
| #define | AUTH_LOGIN_NOT_FINISHED 0x100000 |
| #define | AUTH_LOGIN_FAILED 0x200000 |
| #define | AUTH_LOGIN_SKIP_SETTLEMENT 0x400000 |
Typedefs | |
| typedef UINT32 | HCHANNEL |
| typedef t_MixPacket | MIXPACKET |
| typedef t_queue_entry | tQueueEntry |
| typedef tQueueEntry | tPoolEntry |
| typedef t_mix_parameters | tMixParameters |
| typedef t_accountinginfo | tAiAccountingInfo |
Enumerations | |
| enum | NetworkType { UNKNOWN_NETWORKTYPE, RAW_TCP, RAW_UNIX, SSL_TCP, SSL_UNIX, HTTP_TCP } |
Variables | |
| t_MixPacketPayload | __packed__ |
| t_MixPacket | __packed__ |
| #define AUTH_ACCOUNT_EMPTY 0x1000 |
the account is empty
| #define AUTH_ACCOUNT_OK 0x2 |
format and signature of all received certificates was OK
| #define AUTH_BLOCKED 0x80 |
Account has been blocked temporarly.
| #define AUTH_CHALLENGE_SENT 0x800 |
we have sent a challenge and not yet received the response
| #define AUTH_DATABASE 0x40 |
A database error occured (internal or in the BI).
| #define AUTH_DELETE_ENTRY 0x80000 |
| #define AUTH_FAKE 0x400 |
the user tried to fake something
| #define AUTH_FATAL_ERROR 0x2000 |
a fatal error occured earlier
| #define AUTH_GOT_ACCOUNTCERT 0x1 |
user has sent an account certificate
| #define AUTH_HARD_LIMIT_REACHED 0x200 |
| #define AUTH_INVALID_ACCOUNT 0x8000 |
Account does not exist.
| #define AUTH_LOGIN_FAILED 0x200000 |
| #define AUTH_LOGIN_NOT_FINISHED 0x100000 |
| #define AUTH_LOGIN_SKIP_SETTLEMENT 0x400000 |
| #define AUTH_MULTIPLE_LOGIN 0x20000 |
| #define AUTH_NEW 0x0 |
new user, not yet authenticated
| #define AUTH_OUTDATED_CC 0x4000 |
| #define AUTH_SENT_ACCOUNT_REQUEST 0x100 |
we have sent one request for an accountcertificate
| #define AUTH_SENT_CC_REQUEST 0x20 |
we have sent one or two CC requests
| #define AUTH_TIMEOUT_STARTED 0x10000 |
| #define AUTH_UNKNOWN 0x40000 |
| #define AUTH_WAITING_FOR_FIRST_SETTLED_CC 0x4 |
First CC from client has not been settled yet.
| #define CHANNEL_ALLOWED_FLAGS (CHANNEL_OPEN|CHANNEL_CLOSE|CHANNEL_SUSPEND|CHANNEL_RESUME|CHANNEL_TIMESTAMPS_UP|CHANNEL_TIMESTAMPS_DOWN) |
| #define CHANNEL_CLOSE 0x01 |
| #define CHANNEL_DATA 0x00 |
| #define CHANNEL_DUMMY 0x10 |
| #define CHANNEL_OPEN 0x08 |
| #define CHANNEL_RESUME 0x04 |
| #define CHANNEL_SUSPEND 0x02 |
| #define CHANNEL_TIMESTAMPS_DOWN 0x90 |
| #define CHANNEL_TIMESTAMPS_UP 0x60 |
| #define CONNECTION_ERROR_FLAG 0x01 |
| #define DATA_SIZE 992 |
| #define MIX_PAYLOAD_HTTP 0 |
| #define MIX_PAYLOAD_SOCKS 1 |
| #define MIXPACKET_SIZE 998 |
| #define PAYLOAD_SIZE 989 |
| typedef t_MixPacket MIXPACKET |
| typedef struct t_accountinginfo tAiAccountingInfo |
| typedef struct t_mix_parameters tMixParameters |
| typedef tQueueEntry tPoolEntry |
| typedef struct t_queue_entry tQueueEntry |
| enum NetworkType |
| struct t_MixPacket __packed__ |
| struct t_MixPacketPayload __packed__ |
1.5.1