Home
last modified time | relevance | path

Searched refs:force_tun_device (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/crypto/openssh/
H A Dauth-options.c197 ret->force_tun_device = -1; in sshauthopt_new()
459 ret->force_tun_device = a2tun(opt, NULL); in sshauthopt_parse()
461 if (ret->force_tun_device == SSH_TUNID_ERR) { in sshauthopt_parse()
562 ret->force_tun_device = primary->force_tun_device; in sshauthopt_merge()
563 if (ret->force_tun_device == -1) in sshauthopt_merge()
564 ret->force_tun_device = additional->force_tun_device; in sshauthopt_merge()
672 OPTSCALAR(force_tun_device); in sshauthopt_copy()
817 if ((r = sshbuf_put_u8(m, opts->force_tun_device == -1)) != 0 || in sshauthopt_serialise()
818 (r = sshbuf_put_u32(m, (opts->force_tun_device < 0) ? in sshauthopt_serialise()
819 0 : (u_int)opts->force_tun_device)) != 0) in sshauthopt_serialise()
[all …]
H A Dauth-options.h53 int force_tun_device; member
H A Dauth.c882 snprintf(buf, sizeof(buf), "%d", opts->force_tun_device); in auth_log_authopts()
896 opts->force_tun_device == -1 ? "" : " tun=", in auth_log_authopts()
897 opts->force_tun_device == -1 ? "" : buf, in auth_log_authopts()
H A Dserverloop.c550 if (auth_opts->force_tun_device != -1) { in server_request_tun()
552 auth_opts->force_tun_device != (int)tun) in server_request_tun()
554 tun = auth_opts->force_tun_device; in server_request_tun()
/freebsd-13.1/crypto/openssh/regress/unittests/authopt/
H A Dtests.c187 expected->force_tun_device = 1; in test_authkeys_parse()
194 expected->force_tun_device = SSH_TUNID_ANY; in test_authkeys_parse()
546 expected->force_tun_device = 6; in test_merge()