Home
last modified time | relevance | path

Searched refs:chost (Results 1 – 10 of 10) sorted by relevance

/freebsd-11-stable/crypto/openssh/
HDauth2-hostbased.c63 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local
75 chost = packet_get_string(NULL); in userauth_hostbased()
80 cuser, chost, pkalg, slen); in userauth_hostbased()
129 buffer_put_cstring(&b, chost); in userauth_hostbased()
136 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
140 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
153 free(chost); in userauth_hostbased()
160 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
176 chost, resolvedname, ipaddr); in hostbased_key_allowed()
178 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed()
[all …]
HDmonitor.c1123 char *cuser, *chost; in mm_answer_keyallowed() local
1133 chost = buffer_get_string(m, NULL); in mm_answer_keyallowed()
1166 cuser, chost, key); in mm_answer_keyallowed()
1169 cuser, chost); in mm_answer_keyallowed()
1193 hostbased_chost = chost; in mm_answer_keyallowed()
1199 free(chost); in mm_answer_keyallowed()
1274 char *chost) in monitor_valid_hostbasedblob() argument
1316 if (strcmp(p, chost) != 0) in monitor_valid_hostbasedblob()
HDmux.c949 char *reserved, *chost; in process_mux_stdio_fwd() local
954 chost = reserved = NULL; in process_mux_stdio_fwd()
956 (chost = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_stdio_fwd()
959 free(chost); in process_mux_stdio_fwd()
966 __func__, c->self, chost, cport); in process_mux_stdio_fwd()
975 free(chost); in process_mux_stdio_fwd()
999 free(chost); in process_mux_stdio_fwd()
1006 chost, cport)) { in process_mux_stdio_fwd()
1022 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]); in process_mux_stdio_fwd()
HDsshconnect2.c1732 char *fp = NULL, *chost = NULL, *lname = NULL; in userauth_hostbased() local
1799 xasprintf(&chost, "%s.", lname); in userauth_hostbased()
1800 debug2("%s: chost %s", __func__, chost); in userauth_hostbased()
1821 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased()
1847 (r = sshpkt_put_cstring(ssh, chost)) != 0 || in userauth_hostbased()
1864 free(chost); in userauth_hostbased()
/freebsd-11-stable/contrib/bsnmp/lib/
HDsnmpclient.c853 c->chost = NULL; in snmp_client_init()
889 if (snmp_client.chost == NULL) { in open_client_udp()
890 if ((snmp_client.chost = malloc(1 + sizeof(DEFAULT_HOST))) in open_client_udp()
895 strcpy(snmp_client.chost, DEFAULT_HOST); in open_client_udp()
902 free(snmp_client.chost); in open_client_udp()
903 snmp_client.chost = ptr; in open_client_udp()
904 strcpy(snmp_client.chost, host); in open_client_udp()
930 error = getaddrinfo(snmp_client.chost, snmp_client.cport, &hints, &res0); in open_client_udp()
932 seterr(&snmp_client, "%s: %s", snmp_client.chost, in open_client_udp()
977 if (snmp_client.chost == NULL) { in open_client_local()
[all …]
HDsnmpclient.h77 char *chost; /* host name or IP address as string */ member
/freebsd-11-stable/contrib/ntp/ntpq/
HDntpq.h122 typedef struct chost_tag chost; typedef
128 extern chost chosts[];
HDntpq.c409 chost chosts[MAXHOSTS];
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
HDbsnmptools.c796 if (snmp_client.trans > SNMP_TRANS_UDP && snmp_client.chost == NULL) { in parse_server()
797 if ((snmp_client.chost = malloc(strlen(SNMP_DEFAULT_LOCAL) + 1)) in parse_server()
802 strcpy(snmp_client.chost, SNMP_DEFAULT_LOCAL); in parse_server()
1428 if (snmp_client.chost != NULL) { in snmp_tool_freeall()
1429 free(snmp_client.chost); in snmp_tool_freeall()
1430 snmp_client.chost = NULL; in snmp_tool_freeall()
2019 fprintf(stdout, "Agent %s:%s returned error \n", snmp_client.chost, in snmp_output_err_resp()
/freebsd-11-stable/sbin/atm/atmconfig/
HDatmconfig_device.c383 errx(1, "No response from '%s': %s", snmp_client.chost, in device_modify()