diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-11-27 01:49:58 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-11-27 03:21:16 +0100 |
commit | 33313ebc1c7135085676db62189e3520341d6b73 (patch) | |
tree | 0ae54394e89d6b928fd9b4df57a96f92583c8b0d /misc.h | |
parent | upstream: clean up passing of struct passwd from monitor to preauth (diff) | |
download | openssh-33313ebc1c7135085676db62189e3520341d6b73.tar.xz openssh-33313ebc1c7135085676db62189e3520341d6b73.zip |
upstream: Set the specified TOS/DSCP for interactive use prior to
TCP connect. The connection phase of the SSH session is time-sensitive (due
to server side login grace periods) and is frequently interactive (e.g.
entering passwords). The ultimate interactive/bulk TOS/DSCP will be set after
authentication completes.
ok dtucker@
OpenBSD-Commit-ID: f31ab10d9233363a6d2c9996007083ba43a093f1
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.89 2020/11/08 22:37:24 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.90 2020/11/27 00:49:58 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -53,6 +53,8 @@ void set_nodelay(int); int set_reuseaddr(int); char *get_rdomain(int); int set_rdomain(int, const char *); +int get_sock_af(int); +void set_sock_tos(int, int); int waitrfd(int, int *); int timeout_connect(int, const struct sockaddr *, socklen_t, int *); int a2port(const char *); |