/freebsd/crypto/openssh/ |
H A D | logintest.c | 77 li->username, li->hostname, li->exit, in dump_logininfo() 123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname)); in testAPI()
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | digest.asn1 | 23 hostname [1] UTF8String OPTIONAL -- for chap/cram-md5 48 hostname [9] UTF8String OPTIONAL, 51 -- opaque = hex(cksum(type|serverNonce|identifier|hostname,digest-key)) 73 hostname [1] UTF8String OPTIONAL,
|
/freebsd/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 314 char hostname[1024]; in main() local 390 if (gethostname(hostname, sizeof(hostname)) == -1) in main() 392 rhost = hostname; in main()
|
/freebsd/tools/regression/kgssapi/ |
H A D | gsstest.c | 103 char hostname[512]; in main() local 128 gethostname(hostname, sizeof(hostname)); in main() 130 "nfs@%s", hostname); in main()
|
/freebsd/usr.bin/systat/ |
H A D | main.c | 64 char hostname[MAXHOSTNAMELEN]; variable 224 gethostname(hostname, sizeof (hostname)); in main() 266 mvprintw(21, 25, "CPU usage on %s", hostname); in labels()
|
/freebsd/libexec/nuageinit/tests/ |
H A D | nuage.sh | 9 if [ ! -f etc/rc.conf.d/hostname ]; then 12 atf_check -o inline:"hostname=\"myhostname\"\n" cat etc/rc.conf.d/hostname
|
/freebsd/contrib/sendmail/src/ |
H A D | helpfile | 26 helo HELO <hostname> 28 ehlo EHLO <hostname> 92 etrn ETRN [ <hostname> | @<domain> | \#<queuename> ] 93 etrn Run the queue for the specified <hostname>, or 129 -bt /canon hostname :try to canonify hostname.
|
/freebsd/crypto/heimdal/doc/ |
H A D | kerberos4.texi | 28 hostname as instance, there is an other major difference, Kerberos 4 29 uses only the first component of the hostname, whereas Kerberos 5 uses 30 the fully qualified hostname. 38 The @samp{rcmd} name suggests that the instance is a hostname (even if 40 @samp{foo} to a hostname, you have to know which host it is referring 132 having an instance consisting of a hostname, and it also says how the 135 hostname should be qualified (this is just a hosts-file in
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 416 char *hostname, *slash; in kadm_connect() local 426 hostname = ctx->admin_server; in kadm_connect() 427 slash = strchr (hostname, '/'); in kadm_connect() 429 hostname = slash + 1; in kadm_connect() 431 error = getaddrinfo (hostname, portstr, &hints, &ai); in kadm_connect() 443 krb5_warn (context, errno, "connect(%s)", hostname); in kadm_connect() 452 krb5_warnx (context, "failed to contact %s", hostname); in kadm_connect()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | TCPSocket.cpp | 161 SocketAddress::GetAddressInfo(host_port->hostname.c_str(), nullptr, in Connect() 199 if (host_port->hostname == "*") in Listen() 200 host_port->hostname = "0.0.0.0"; in Listen() 202 host_port->hostname.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Listen()
|
/freebsd/contrib/telnet/telnet/ |
H A D | commands.c | 96 char *hostname; variable 2044 printf("Connected to %s.\n", hostname); in status() 2263 hostname = hostp; in tn() 2286 hostname = strrchr(hostp, '@'); in tn() 2287 if (hostname == NULL) { in tn() 2288 hostname = hostp; in tn() 2290 hostname++; in tn() 2294 hostname = hostp; in tn() 2334 hostname = _hostname; in tn() 2344 hostname = _hostname; in tn() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | mk_req.c | 85 const char *hostname, in krb5_mk_req() argument 95 ret = krb5_expand_hostname_realms (context, hostname, in krb5_mk_req()
|
/freebsd/contrib/ntp/sntp/ |
H A D | main.c | 814 char *hostname; in check_kod() local 818 hostname = addrinfo_to_str(ai); in check_kod() 819 TRACE(2, ("check_kod: checking <%s>\n", hostname)); in check_kod() 820 if (search_entry(hostname, &reason)) { in check_kod() 822 hostname); in check_kod() 824 free(hostname); in check_kod() 828 free(hostname); in check_kod() 1167 const char * hostname in handle_pkt() argument 1216 ref[0], ref[1], ref[2], ref[3], addrtxt, hostname); in handle_pkt() 1230 rpktl, stoa(host), hostname)); in handle_pkt() [all …]
|
/freebsd/lib/libpmcstat/ |
H A D | libpmcstat_logging.c | 432 char hostname[MAXHOSTNAMELEN]; in pmcstat_open_log() local 454 if (p == path || hlen >= sizeof(hostname)) { in pmcstat_open_log() 459 assert(hlen < sizeof(hostname)); in pmcstat_open_log() 460 (void) strncpy(hostname, path, hlen); in pmcstat_open_log() 461 hostname[hlen] = '\0'; in pmcstat_open_log() 466 if ((error = getaddrinfo(hostname, p+1, &hints, &res0)) != 0) { in pmcstat_open_log()
|
/freebsd/crypto/heimdal/appl/test/ |
H A D | http_client.c | 48 do_connect (const char *hostname, const char *port) in do_connect() argument 60 error = getaddrinfo (hostname, port, &hints, &ai); in do_connect() 62 errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error)); in do_connect() 69 warn ("connect(%s)", hostname); in do_connect() 77 errx (1, "failed to contact %s", hostname); in do_connect()
|
H A D | tcp_client.c | 40 proto (int sock, const char *hostname, const char *service) in proto() argument 60 hostname, in proto()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | hprop.c | 54 open_socket(krb5_context context, const char *hostname, const char *port) in open_socket() argument 64 error = getaddrinfo (hostname, port, &hints, &ai); in open_socket() 66 warnx ("%s: %s", hostname, gai_strerror(error)); in open_socket() 77 warn ("connect(%s)", hostname); in open_socket() 84 warnx ("failed to contact %s", hostname); in open_socket()
|
/freebsd/tools/tools/vimage/ |
H A D | vimage.c | 54 char hostname[MAXPATHLEN]; member 195 printf(" Hostname: %s\n", vst[i].hostname); in main() 347 jailparam_import_raw(¶ms[psize++], &vs->hostname, in getjail() 348 sizeof(vs->hostname)); in getjail()
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | import_name.c | 91 char *hostname = NULL, *service; in _gsskrb5_canon_name() local 109 hostname = p->name.name_string.val[1]; in _gsskrb5_canon_name() 114 hostname, in _gsskrb5_canon_name()
|
/freebsd/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 64 const char *hostname = NULL, *service = NULL; in main() local 130 hostname = argv[0]; in main() 150 error = getaddrinfo(hostname, service, &hints, &addrinfo); in main()
|
/freebsd/libexec/nuageinit/ |
H A D | nuage.lua | 38 local function sethostname(hostname) 39 if hostname == nil then return end 52 f:write("hostname=\""..hostname.."\"\n")
|
/freebsd/share/examples/ppp/ |
H A D | chap-auth | 42 set hostname [gets stdin]; 80 mkframe h "Hostname:" $hostname 0;
|
/freebsd/libexec/pppoed/ |
H A D | pppoed.c | 500 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; in main() local 584 if (gethostname(hostname, sizeof hostname)) in main() 585 strcpy(hostname, "localhost"); in main() 586 else if ((dot = strchr(hostname, '.'))) in main() 589 acname = hostname; in main()
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.c | 822 isns_req_add_str(req, 1, hostname); in isns_do_register() 878 isns_req_add_str(req, 1, hostname); in isns_do_check() 912 isns_req_add_str(req, 1, hostname); in isns_do_deregister() 938 char hostname[256]; in isns_register() local 949 error = gethostname(hostname, sizeof(hostname)); in isns_register() 956 isns_do_register(isns, s, hostname); in isns_register() 966 char hostname[256]; in isns_check() local 977 error = gethostname(hostname, sizeof(hostname)); in isns_check() 984 isns_do_register(isns, s, hostname); in isns_check() 995 char hostname[256]; in isns_deregister() local [all …]
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslogd.c | 1114 PARSE_STRING("HOSTNAME", hostname); in parsemsg_rfc5424() 1115 if (hostname == NULL || !RemoteHostname) in parsemsg_rfc5424() 1116 hostname = from; in parsemsg_rfc5424() 1609 pri, flags, hostname, msg); in logmsg() 1661 assert(hostname != NULL); in logmsg() 1664 "%d %s %s %s %s %s %s", pri, hostname, in logmsg() 1701 hostname)) in logmsg() 2016 iovlist_append(&il, hostname); in fprintlog_rfc5424() 2058 iovlist_append(&il, hostname); in fprintlog_rfc3164() 2067 iovlist_append(&il, hostname); in fprintlog_rfc3164() [all …]
|