/freebsd-13-stable/crypto/openssh/ |
H A D | auth2-hostbased.c | 65 char *pkalg, *cuser, *chost; local 73 (r = sshpkt_get_cstring(ssh, &chost, NULL)) != 0 || 78 debug("%s: cuser %s chost %s pkalg %s slen %zu", __func__, 79 cuser, chost, pkalg, slen); 138 (r = sshbuf_put_cstring(b, chost)) != 0 || 146 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); 150 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && 163 free(chost); 170 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, argument 185 debug2("%s: chost [all...] |
H A D | mux.c | 970 char *chost = NULL; local 976 (r = sshbuf_get_cstring(m, &chost, NULL)) != 0 || 978 free(chost); 984 __func__, c->self, chost, cport); 993 free(chost); 1013 free(chost); 1020 chost, cport)) { 1034 nc = channel_connect_stdio_fwd(ssh, chost, cport, new_fd[0], new_fd[1]); 1035 free(chost); 1771 const char *lhost, *chost; local [all...] |
H A D | monitor.c | 1162 char *cuser, *chost; local 1171 (r = sshbuf_get_cstring(m, &chost, NULL)) != 0 || 1207 cuser, chost, key); 1210 cuser, chost); 1235 hostbased_chost = chost; 1240 free(chost); 1326 char *chost) 1377 if (strcmp(cp, chost) != 0) 1325 monitor_valid_hostbasedblob(u_char *data, u_int datalen, char *cuser, char *chost) argument
|
H A D | sshconnect2.c | 1926 char *fp = NULL, *chost = NULL, *lname = NULL; local 1992 xasprintf(&chost, "%s.", lname); 1993 debug2("%s: chost %s", __func__, chost); 2011 (r = sshbuf_put_cstring(b, chost)) != 0 || 2033 (r = sshpkt_put_cstring(ssh, chost)) != 0 || 2048 free(chost);
|
/freebsd-13-stable/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 [all...] |
/freebsd-13-stable/contrib/ntp/ntpq/ |
H A D | ntpq.h | 122 typedef struct chost_tag chost; typedef in typeref:struct:chost_tag 128 extern chost chosts[];
|
H A D | ntpq.c | 409 chost chosts[MAXHOSTS];
|
/freebsd-13-stable/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 859 c->chost = NULL; 895 if (snmp_client.chost == NULL) { 896 if ((snmp_client.chost = malloc(1 + sizeof(DEFAULT_HOST))) 901 strcpy(snmp_client.chost, DEFAULT_HOST); 908 free(snmp_client.chost); 909 snmp_client.chost = ptr; 910 strcpy(snmp_client.chost, host); 937 error = getaddrinfo(snmp_client.chost, snmp_client.cport, &hints, &res0); 939 seterr(&snmp_client, "%s: %s", snmp_client.chost, 984 if (snmp_client.chost 2227 char *chost; local [all...] |
H A D | snmpclient.h | 78 char *chost; /* host name or IP address as string */ member in struct:snmp_client
|
/freebsd-13-stable/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 796 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,
|