diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-31 21:09:16 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-31 21:09:16 +0000 |
commit | 1a2de2f741160154ad94252912302fc4a213be87 (patch) | |
tree | 691532660d175f3cc91524124eeffecb2966e3f0 /sys/netinet | |
parent | a370588ba80f172c769c599cdff220f6a6ae29f7 (diff) |
rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG
requested by theo
ok markus@ hshoexer@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp.h | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index bf9e47c7133..b6d7bd83f43 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp.h,v 1.13 2004/01/31 19:40:09 markus Exp $ */ +/* $OpenBSD: tcp.h,v 1.14 2004/01/31 21:09:15 henning Exp $ */ /* $NetBSD: tcp.h,v 1.8 1995/04/17 05:32:58 cgd Exp $ */ /* @@ -118,7 +118,7 @@ struct tcphdr { */ #define TCP_NODELAY 0x01 /* don't delay send to coalesce pkts */ #define TCP_MAXSEG 0x02 /* set maximum segment size */ -#define TCP_SIGNATURE_ENABLE 0x04 /* enable TCP MD5 signature option */ +#define TCP_MD5SIG 0x04 /* enable TCP MD5 signature option */ #define TCP_SACK_ENABLE 0x08 /* enable SACKs (if disabled by def.) */ #endif /* _NETINET_TCP_H_ */ diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index b7130ce067a..c1cd8d33bf7 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.78 2004/01/31 19:40:10 markus Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.79 2004/01/31 21:09:15 henning Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -586,7 +586,7 @@ tcp_ctloutput(op, so, level, optname, mp) break; #endif #ifdef TCP_SIGNATURE - case TCP_SIGNATURE_ENABLE: + case TCP_MD5SIG: if (m == NULL || m->m_len < sizeof (int)) { error = EINVAL; break; @@ -631,7 +631,7 @@ tcp_ctloutput(op, so, level, optname, mp) break; #endif #ifdef TCP_SIGNATURE - case TCP_SIGNATURE_ENABLE: + case TCP_MD5SIG: *mtod(m, int *) = tp->t_flags & TF_SIGNATURE; break; #endif |