s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
tcpto.h
Go to the documentation of this file.
1#ifndef TCPTO_H
2#define TCPTO_H
3
4#define TCPTO_BUFSIZ 1024
5
6/* persistency structure: record
7struct tcpto {
8 unsigned char af; -- 1 byte -- IPv4: x'2' / IPv6: x'a' (10)
9 unsigned char nul[3]; -- 3 byte
10 unsigned char errorcount -- 1 byte -- if err_timeout || err_conrefused || err_proto (TLS)
11 unsigned char nul[3]; -- 3 byte
12 unsigned long when; -- 8 byte
13 union {
14 struct ip_address ip;
15 struct ip6_address ip6;
16 unsigned char nul[16]; -- 16 byte -- IPv4: filled up with '.' = x'2e'
17 } addr;
18}; total: 32 byte
19*/
20
21int tcpto();
22void tcpto_err();
23void tcpto_clean();
24
25#endif
void tcpto_err()
void tcpto_clean()
Definition: tcpto_clean.c:8
int tcpto()