diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-03-13 12:04:53 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-03-13 12:04:53 +0000 |
commit | a5adf7f49230a5dcc00c9842fb6419ec480c9ad7 (patch) | |
tree | 6bd642ee9e54887be7be9be75951e24437430f6b /usr.sbin/hoststated/hoststated.h | |
parent | 8645b1d1654ad6598b00d7ec956a30e89be3584a (diff) |
allow to specify the IP_TTL and IP_MINTTL options for the relays to
support the Generalized TTL Security Mechanism (GTSM) according to RFC
3682. this is especially useful with inbound connections and a fixed
distance to the backend servers.
ok pyr@
Diffstat (limited to 'usr.sbin/hoststated/hoststated.h')
-rw-r--r-- | usr.sbin/hoststated/hoststated.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h index 1759ebb8a0b..ca4e0e0647e 100644 --- a/usr.sbin/hoststated/hoststated.h +++ b/usr.sbin/hoststated/hoststated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hoststated.h,v 1.36 2007/03/05 11:44:50 reyk Exp $ */ +/* $OpenBSD: hoststated.h,v 1.37 2007/03/13 12:04:52 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -406,6 +406,8 @@ enum prototype { #define TCPFLAG_SACK 0x04 #define TCPFLAG_NSACK 0x08 #define TCPFLAG_BUFSIZ 0x10 +#define TCPFLAG_IPTTL 0x20 +#define TCPFLAG_IPMINTTL 0x40 #define TCPFLAG_DEFAULT 0x00 #define SSLFLAG_SSLV2 0x01 @@ -422,6 +424,8 @@ struct protocol { u_int8_t tcpflags; int tcpbufsiz; int tcpbacklog; + u_int8_t tcpipttl; + u_int8_t tcpipminttl; u_int8_t sslflags; char *sslciphers; char name[MAX_NAME_SIZE]; |