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