/freebsd/crypto/openssh/ |
H A D | audit-linux.c | 42 linux_audit_record_event(int uid, const char *username, const char *hostname, in linux_audit_record_event() argument 56 username == NULL ? uid : -1, hostname, ip, ttyn, success); in linux_audit_record_event() 88 if (linux_audit_record_event(li->uid, NULL, li->hostname, NULL, in audit_session_open()
|
H A D | loginrec.h | 72 char hostname[LINFO_HOSTSIZE]; /* remote hostname */ member 92 const char *hostname, const char *line); 97 const char *hostname, const char *line);
|
/freebsd/crypto/heimdal/appl/test/ |
H A D | tcp_server.c | 47 char hostname[MAXHOSTNAMELEN]; in proto() local 64 if(gethostname (hostname, sizeof(hostname)) < 0) in proto() 68 hostname, in proto()
|
H A D | gssapi_client.c | 100 proto (int sock, const char *hostname, const char *service) in proto() argument 122 "%s@%s", service, hostname); in proto() 133 "Error importing name `%s@%s':\n", service, hostname); in proto() 158 err (1, "getsockname(%s)", hostname); in proto() 163 err (1, "getpeername(%s)", hostname); in proto()
|
/freebsd/usr.sbin/yppoll/ |
H A D | yppoll.c | 130 char *domainname, *hostname = NULL, *inmap, *master; in main() local 142 hostname = optarg; in main() 153 if (hostname != NULL) { in main() 154 r = get_remote_info(domainname, inmap, hostname, in main()
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | nfs.subr | 105 local hostname="${nfs%%:*}" 107 f_validate_ipaddr "$hostname" || f_validate_ipaddr6 "$hostname" 109 f_show_info "$msg_looking_up_host" "$hostname" 110 f_dprintf "%s Looking up hostname, %s, using host(1)" \ 111 "f_media_set_nfs" "$hostname" 112 if ! f_quietly f_host_lookup "$hostname"; then 113 f_show_msg "$msg_cannot_resolve_hostname" "$hostname" 120 f_dprintf "Found DNS entry for %s successfully." "$hostname" 123 setvar $VAR_NFS_HOST "$hostname"
|
/freebsd/usr.sbin/rpc.tlsservd/ |
H A D | rpc.tlsservd.c | 156 char hostname[MAXHOSTNAMELEN + 2]; in main() local 182 rpctls_dnsname = rpctls_getdnsname(hostname); in main() 184 strcpy(hostname, "@default.domain"); in main() 185 rpctls_dnsname = hostname; in main() 228 hostname[0] = '@'; in main() 230 rpctls_dnsname = hostname; in main() 904 rpctls_getdnsname(char *hostname) in rpctls_getdnsname() argument 912 if ((cp = strchr(hostname, '.')) != NULL && in rpctls_getdnsname() 924 hostname[0] = '@'; in rpctls_getdnsname() 925 strlcpy(&hostname[1], cp + 1, in rpctls_getdnsname() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Socket.cpp | 194 ret.hostname = matches[1].str(); in DecodeHostAndPort() 196 if (ret.hostname.front() == '[' && ret.hostname.back() == ']') in DecodeHostAndPort() 197 ret.hostname = ret.hostname.substr(1, ret.hostname.size() - 2); in DecodeHostAndPort() 376 return OS << '[' << HP.hostname << ']' << ':' << HP.port; in operator <<()
|
H A D | UDPSocket.cpp | 75 …int err = ::getaddrinfo(host_port->hostname.c_str(), std::to_string(host_port->port).c_str(), &hin… in Connect() 84 host_port->hostname.c_str(), host_port->port, err, gai_strerror(err)); in Connect() 111 …const bool bind_addr_success = (host_port->hostname == "127.0.0.1" || host_port->hostname == "loca… in Connect()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.c | 160 void unmonitor_lock_host(char *hostname); 217 void do_clear(const char *hostname); 1615 clear_blockingfilelock(hostname); in clear_partialfilelock() 1852 do_clear(const char *hostname) in do_clear() argument 1855 clear_partialfilelock(hostname); in do_clear() 2005 monitor_lock_host(const char *hostname) in monitor_lock_host() argument 2026 n = strnlen(hostname, SM_MAXSTRLEN); in monitor_lock_host() 2037 memcpy(nhp->name, hostname, n); in monitor_lock_host() 2081 unmonitor_lock_host(char *hostname) in unmonitor_lock_host() argument 2117 smon_id.mon_name = hostname; in unmonitor_lock_host() [all …]
|
H A D | kern.c | 71 static char hostname[MAXHOSTNAMELEN + 1]; /* Hostname. */ variable 160 (void)gethostname(hostname, sizeof(hostname) - 1); in client_request() 241 cl->cl_auth = authunix_create(hostname, in set_auth() 272 arg4.alock.caller_name = hostname; in test_request() 296 arg.alock.caller_name = hostname; in test_request() 342 arg4.alock.caller_name = hostname; in lock_request() 367 arg.alock.caller_name = hostname; in lock_request() 412 arg4.alock.caller_name = hostname; in unlock_request() 433 arg.alock.caller_name = hostname; in unlock_request()
|
/freebsd/contrib/tnftp/src/ |
H A D | ruserpass.c | 131 if (strcasecmp(hostname, tokval) == 0) in ruserpass() 133 if ((tmp = strchr(hostname, '.')) != NULL && in ruserpass() 135 strncasecmp(hostname, tokval, tmp-hostname) == 0 && in ruserpass() 136 tokval[tmp - hostname] == '\0') in ruserpass()
|
/freebsd/libexec/comsat/ |
H A D | comsat.c | 60 static char hostname[MAXHOSTNAMELEN]; variable 85 (void)gethostname(hostname, sizeof(hostname)); in main() 188 cr, utp->ut_user, (int)sizeof(hostname), hostname, in notify()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_connect.pod | 44 and the port and hostname (see below) is set up properly then 58 a single call: that is it creates a new connect BIO with hostname B<name>. 60 BIO_set_conn_hostname() uses the string B<name> to set the hostname. 61 The hostname can be an IP address; if the address is an IPv6 one, it 63 The hostname can also include the port in the form hostname:port; 75 BIO_get_conn_hostname() returns the hostname of the connect BIO or 76 NULL if the BIO is initialized but no hostname is set. 110 If the port name is supplied as part of the hostname then this will 114 character in the passed hostname and either indicating an error or 151 BIO_get_conn_hostname() returns the connected hostname or NULL if
|
/freebsd/sbin/ipf/ipmon/ |
H A D | ipmon.c | 898 hostname(family, (u_32_t *)&sl->isl_src), in print_statelog() 1186 sprintf(t, "%s,%s -> ", hostname(f, s), in print_ipflog() 1190 hostname(f, d), in print_ipflog() 1211 sprintf(t, "%s -> ", hostname(f, s)); in print_ipflog() 1214 hostname(f, d), proto, hl, plen); in print_ipflog() 1219 sprintf(t, "%s -> ", hostname(f, s)); in print_ipflog() 1222 hostname(f, d), hl, plen, in print_ipflog() 1227 sprintf(t, "%s -> ", hostname(f, s)); in print_ipflog() 1230 hostname(f, d), hl, plen, in print_ipflog() 1297 sprintf(t, "%s -> ", hostname(f, s)); in print_ipflog() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | UriParser.cpp | 22 OS << U.scheme << "://[" << U.hostname << ']'; in operator <<() 56 ret.hostname = host_port.substr(1, pos - 1); in Parse() 61 std::tie(ret.hostname, host_port) = host_port.split(':'); in Parse()
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ruserpass.c | 145 if (strcasecmp(hostname, tokval) == 0) in ruserpassword() 147 if ((tmp = strchr(hostname, '.')) != NULL && in ruserpassword() 150 strncasecmp(hostname, tokval, tmp-hostname) == 0 && in ruserpassword() 151 tokval[tmp - hostname] == '\0') in ruserpassword()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | get_addrs.c | 50 char hostname[MAXHOSTNAMELEN]; in gethostname_fallback() local 53 if (gethostname (hostname, sizeof(hostname))) { in gethostname_fallback() 58 hostent = roken_gethostbyname (hostname); in gethostname_fallback() 62 hostname, strerror(ret)); in gethostname_fallback()
|
H A D | test_forward.c | 60 const char *hostname; in main() local 88 hostname = argv[0]; in main() 124 hostname, in main()
|
H A D | get_for_creds.c | 106 const char *hostname, in krb5_fwd_tgt_creds() argument 123 if (hostname == NULL && in krb5_fwd_tgt_creds() 132 hostname = host; in krb5_fwd_tgt_creds() 153 hostname, in krb5_fwd_tgt_creds() 191 const char *hostname, in krb5_get_forwarded_creds() argument 235 ret = getaddrinfo (hostname, NULL, NULL, &ai); in krb5_get_forwarded_creds() 241 hostname, gai_strerror(ret)); in krb5_get_forwarded_creds()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | roken_gethostby.c | 136 roken_gethostby(const char *hostname) in roken_gethostby() argument 150 if (asprintf(&request, "GET %s?%s HTTP/1.0\r\n\r\n", dns_req, hostname) < 0) in roken_gethostby() 217 roken_gethostbyname(const char *hostname) in roken_gethostbyname() argument 220 he = gethostbyname(hostname); in roken_gethostbyname() 223 return roken_gethostby(hostname); in roken_gethostbyname()
|
/freebsd/lib/libpam/modules/pam_login_access/ |
H A D | pam_login_access.c | 73 char hostname[MAXHOSTNAMELEN]; in pam_sm_acct_mgmt() local 93 gethostname(hostname, sizeof hostname); in pam_sm_acct_mgmt()
|
/freebsd/libexec/bootpd/ |
H A D | lookup.h | 5 extern u_char *lookup_hwa(char *hostname, int htype); 6 extern int lookup_ipa(char *hostname, u_int32 *addr);
|
/freebsd/lib/libcasper/services/cap_dns/ |
H A D | cap_dns.h | 61 int cap_getaddrinfo(cap_channel_t *chan, const char *hostname, 98 const char *hostname, const char *servname, const struct addrinfo *hints, 102 return (getaddrinfo(hostname, servname, hints, res));
|
/freebsd/usr.sbin/bsdconfig/networking/include/ |
H A D | messages.subr | 30 msg_activate_hostname="Would you like to activate the new hostname right now?\nIf you choose NO or … 31 msg_activate_hostname_x11warning="WARNING! Activating the new hostname during an X11-Forwarded\n ss… 50 msg_hostname_exceeds_max_length="ERROR! The hostname entered exceeds the maximum length of\n255 cha… 51 msg_hostname_label_contains_invalid_chars="ERROR! One or more individual labels within the hostname… 52 msg_hostname_label_exceeds_max_length="ERROR! One or more individual labels within the hostname\n(s… 53 msg_hostname_label_is_null="ERROR! One or more individual labels within the hostname\n(separated by… 54 …ts_or_ends_with_hyphen="ERROR! One or more individual labels within the hostname\n(separated by do… 81 …r_fqhn="Please enter your fully qualified hostname (e.g. full.example.com). The\ndomain portion of… 94 msg_saving_hostname="Saving new hostname/domain settings..." 104 …ter_fqhn="Please enter your fully qualified hostname (e.g. foo.bar.com).\n The domain portion of t…
|