| /freebsd/contrib/openpam/lib/libpam/ |
| H A D | pam_get_authtok.c | 72 const void *lhost, *rhost; in pam_get_authtok() local 86 r = pam_get_item(pamh, PAM_HOST, &lhost); in pam_get_authtok() 87 if (r == PAM_SUCCESS && lhost != NULL) { in pam_get_authtok() 88 if (strcmp(rhost, lhost) != 0) in pam_get_authtok()
|
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | iruserok.c | 60 __icheckhost(unsigned raddr, const char *lhost) in __icheckhost() argument 67 if (isdigit((unsigned char)*lhost) in __icheckhost() 68 && (long)(laddr = inet_addr(lhost)) != -1) in __icheckhost() 72 if ((hp = gethostbyname(lhost)) == NULL) in __icheckhost()
|
| /freebsd/tools/tools/switch_tls/ |
| H A D | switch_tls.c | 270 tcpswitchbyname(const char *lhost, const char *lport, const char *fhost, in tcpswitchbyname() argument 284 error = getaddrinfo(lhost, lport, &hints, &local); in tcpswitchbyname() 286 errx(1, "getaddrinfo: %s port %s: %s", lhost, lport, in tcpswitchbyname() 313 warnx("%s %s %s %s: different address families", lhost, lport, in tcpswitchbyname()
|
| /freebsd/usr.sbin/tcpdrop/ |
| H A D | tcpdrop.c | 287 tcpdropbyname(const char *lhost, const char *lport, const char *fhost, in tcpdropbyname() argument 302 error = getaddrinfo(lhost, lport, &hints, &local); in tcpdropbyname() 304 errx(1, "getaddrinfo: %s port %s: %s", lhost, lport, in tcpdropbyname() 331 warnx("%s %s %s %s: different address families", lhost, lport, in tcpdropbyname()
|
| /freebsd/crypto/openssh/ |
| H A D | hostfile.c | 441 char *hashed_host = NULL, *lhost; in format_host_entry() local 443 lhost = xstrdup(host); in format_host_entry() 444 lowercase(lhost); in format_host_entry() 447 if ((hashed_host = host_hash(lhost, NULL, 0)) == NULL) { in format_host_entry() 449 free(lhost); in format_host_entry() 455 if ((r = sshbuf_putf(entry, "%s,%s ", lhost, ip)) != 0) in format_host_entry() 458 if ((r = sshbuf_putf(entry, "%s ", lhost)) != 0) in format_host_entry() 462 free(lhost); in format_host_entry()
|
| H A D | mux.c | 1868 const char *lhost, *chost; in mux_client_forward() local 1879 lhost = fwd->listen_path; in mux_client_forward() 1881 lhost = ""; in mux_client_forward() 1883 lhost = "*"; in mux_client_forward() 1885 lhost = fwd->listen_host; in mux_client_forward() 1899 (r = sshbuf_put_cstring(m, lhost)) != 0 || in mux_client_forward()
|
| H A D | channels.c | 4168 const char *lhost, u_short lport, int cport, in channel_cancel_lport_listener_tcpip() argument 4173 const char *addr = channel_fwd_bind_addr(ssh, lhost, NULL, 1, fwd_opts); in channel_cancel_lport_listener_tcpip() 4261 char *lhost; in remote_open_match() local 4275 lhost = xstrdup(fwd->listen_host); in remote_open_match() 4276 lowercase(lhost); in remote_open_match() 4277 ret = match_pattern(lhost, allowed_open->listen_host); in remote_open_match() 4278 free(lhost); in remote_open_match()
|
| /freebsd/lib/libfetch/ |
| H A D | common.c | 936 fetch_ssl_ipaddr_match_bin(const struct addrinfo *lhost, const char *rhost, in fetch_ssl_ipaddr_match_bin() argument 941 if (lhost->ai_family == AF_INET && rhostlen == 4) { in fetch_ssl_ipaddr_match_bin() 943 lhost->ai_addr)->sin_addr.s_addr; in fetch_ssl_ipaddr_match_bin() 945 } else if (lhost->ai_family == AF_INET6 && rhostlen == 16) { in fetch_ssl_ipaddr_match_bin() 947 lhost->ai_addr)->sin6_addr; in fetch_ssl_ipaddr_match_bin()
|
| /freebsd/lib/libc/net/ |
| H A D | rcmd.c | 680 __icheckhost(const struct sockaddr *raddr, socklen_t salen, const char *lhost) in __icheckhost() argument 711 error = getaddrinfo(lhost, "0", &hints, &res); in __icheckhost()
|
| /freebsd/sys/dev/sfxge/common/ |
| H A D | efx_filter.c | 377 __in uint32_t lhost, in efx_filter_spec_set_ipv4_full() argument 390 spec->efs_loc_host.eo_u32[0] = lhost; in efx_filter_spec_set_ipv4_full()
|
| H A D | efx.h | 2975 __in uint32_t lhost,
|