Searched refs:chost (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/crypto/openssh/ |
| H A D | auth2-hostbased.c | 64 char *pkalg, *cuser, *chost; in userauth_hostbased() local 78 cuser, chost, pkalg, slen); in userauth_hostbased() 149 chost, key)) && in userauth_hostbased() 162 free(chost); in userauth_hostbased() 184 chost, resolvedname, ipaddr); in hostbased_key_allowed() 186 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed() 188 chost[len - 1] = '\0'; in hostbased_key_allowed() 192 if (auth_rhosts2(pw, cuser, chost, chost) == 0) { in hostbased_key_allowed() 197 lookup = chost; in hostbased_key_allowed() 199 if (strcasecmp(resolvedname, chost) != 0) in hostbased_key_allowed() [all …]
|
| H A D | mux.c | 964 char *chost = NULL; in mux_master_process_stdio_fwd() local 972 free(chost); in mux_master_process_stdio_fwd() 981 free(chost); in mux_master_process_stdio_fwd() 994 free(chost); in mux_master_process_stdio_fwd() 1013 free(chost); in mux_master_process_stdio_fwd() 1023 chost, cport); in mux_master_process_stdio_fwd() 1035 free(chost); in mux_master_process_stdio_fwd() 1767 const char *lhost, *chost; in mux_client_forward() local 1787 chost = fwd->connect_path; in mux_client_forward() 1789 chost = ""; in mux_client_forward() [all …]
|
| H A D | monitor.c | 1155 char *cuser, *chost; in mm_answer_keyallowed() local 1164 (r = sshbuf_get_cstring(m, &chost, NULL)) != 0 || in mm_answer_keyallowed() 1193 cuser, chost, key); in mm_answer_keyallowed() 1196 cuser, chost); in mm_answer_keyallowed() 1221 hostbased_chost = chost; in mm_answer_keyallowed() 1226 free(chost); in mm_answer_keyallowed() 1326 const char *cuser, const char *chost) in monitor_valid_hostbasedblob() argument 1376 if (strcmp(cp, chost) != 0) in monitor_valid_hostbasedblob()
|
| H A D | sshconnect2.c | 2137 char *fp = NULL, *chost = NULL, *lname = NULL; in userauth_hostbased() local 2203 xasprintf(&chost, "%s.", lname); in userauth_hostbased() 2204 debug2_f("chost %s", chost); in userauth_hostbased() 2222 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 2243 (r = sshpkt_put_cstring(ssh, chost)) != 0 || in userauth_hostbased() 2258 free(chost); in userauth_hostbased()
|
| /freebsd-14.2/contrib/bsnmp/tests/ |
| H A D | snmp_parse_server.cc | 30 REQUIRE(sc.chost == ""s); 44 REQUIRE(sc.chost == str); 53 REQUIRE(sc.chost == str); 62 REQUIRE(sc.chost == str); 71 REQUIRE(sc.chost == str); 80 REQUIRE(sc.chost == str); 96 REQUIRE(sc.chost == host); 106 REQUIRE(sc.chost == host); 116 REQUIRE(sc.chost == host); 157 REQUIRE(sc.chost == host); [all …]
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | snmpclient.c | 859 c->chost = NULL; in snmp_client_init() 1843 if (cl->chost != NULL) in snmp_client_set_host() 1844 free(cl->chost); in snmp_client_set_host() 1845 cl->chost = NULL; in snmp_client_set_host() 1850 if (cl->chost != NULL) in snmp_client_set_host() 1851 free(cl->chost); in snmp_client_set_host() 1852 cl->chost = np; in snmp_client_set_host() 2227 char *chost; in snmp_parse_server() local 2267 free(chost); in snmp_parse_server() 2285 free(sc->chost); in snmp_parse_server() [all …]
|
| H A D | snmpclient.h | 78 char *chost; /* host name or IP address as string */ member
|
| /freebsd-14.2/contrib/ntp/ntpq/ |
| H A D | ntpq.h | 121 typedef struct chost_tag chost; typedef 127 extern chost chosts[];
|
| H A D | ntpq.c | 411 chost chosts[MAXHOSTS];
|
| /freebsd-14.2/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| H A D | bsnmptools.c | 794 if (snmp_client.trans > SNMP_TRANS_UDP && snmp_client.chost == NULL) { in parse_server() 795 if ((snmp_client.chost = malloc(strlen(SNMP_DEFAULT_LOCAL) + 1)) in parse_server() 800 strcpy(snmp_client.chost, SNMP_DEFAULT_LOCAL); in parse_server() 1426 if (snmp_client.chost != NULL) { in snmp_tool_freeall() 1427 free(snmp_client.chost); in snmp_tool_freeall() 1428 snmp_client.chost = NULL; in snmp_tool_freeall() 2017 fprintf(stdout, "Agent %s:%s returned error \n", snmp_client.chost, in snmp_output_err_resp()
|