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

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

Completed in 124 milliseconds