Searched refs:force_tun_device (Results 1 – 5 of 5) sorted by relevance
261 ret->force_tun_device = -1; in sshauthopt_new()499 ret->force_tun_device = a2tun(opt, NULL); in sshauthopt_parse()501 if (ret->force_tun_device == SSH_TUNID_ERR) { in sshauthopt_parse()602 ret->force_tun_device = primary->force_tun_device; in sshauthopt_merge()603 if (ret->force_tun_device == -1) in sshauthopt_merge()604 ret->force_tun_device = additional->force_tun_device; in sshauthopt_merge()708 OPTSCALAR(force_tun_device); in sshauthopt_copy()844 if ((r = sshbuf_put_u8(m, opts->force_tun_device == -1)) != 0 || in sshauthopt_serialise()845 (r = sshbuf_put_u32(m, (opts->force_tun_device < 0) ? in sshauthopt_serialise()846 0 : (u_int)opts->force_tun_device)) != 0) in sshauthopt_serialise()[all …]
47 int force_tun_device; member
554 if (auth_opts->force_tun_device != -1) { in server_request_tun()555 if (tun != SSH_TUNID_ANY && auth_opts->force_tun_device != tun) in server_request_tun()557 tun = auth_opts->force_tun_device; in server_request_tun()
1022 snprintf(buf, sizeof(buf), "%d", opts->force_tun_device); in auth_log_authopts()1034 opts->force_tun_device == -1 ? "" : " tun=", in auth_log_authopts()1035 opts->force_tun_device == -1 ? "" : buf, in auth_log_authopts()
183 expected->force_tun_device = 1; in test_authkeys_parse()190 expected->force_tun_device = SSH_TUNID_ANY; in test_authkeys_parse()540 expected->force_tun_device = 6; in test_merge()