/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 write_host_entry() local 443 lhost = xstrdup(host); in write_host_entry() 444 lowercase(lhost); in write_host_entry() 447 if ((hashed_host = host_hash(lhost, NULL, 0)) == NULL) { in write_host_entry() 449 free(lhost); in write_host_entry() 454 fprintf(f, "%s,%s ", lhost, ip); in write_host_entry() 456 fprintf(f, "%s ", lhost); in write_host_entry() 459 free(lhost); in write_host_entry()
|
H A D | mux.c | 1767 const char *lhost, *chost; in mux_client_forward() local 1778 lhost = fwd->listen_path; in mux_client_forward() 1780 lhost = ""; in mux_client_forward() 1782 lhost = "*"; in mux_client_forward() 1784 lhost = fwd->listen_host; in mux_client_forward() 1798 (r = sshbuf_put_cstring(m, lhost)) != 0 || in mux_client_forward()
|
H A D | channels.c | 4079 const char *lhost, u_short lport, int cport, in channel_cancel_lport_listener_tcpip() argument 4084 const char *addr = channel_fwd_bind_addr(ssh, lhost, NULL, 1, fwd_opts); in channel_cancel_lport_listener_tcpip() 4172 char *lhost; in remote_open_match() local 4186 lhost = xstrdup(fwd->listen_host); in remote_open_match() 4187 lowercase(lhost); in remote_open_match() 4188 ret = match_pattern(lhost, allowed_open->listen_host); in remote_open_match() 4189 free(lhost); in remote_open_match()
|
/freebsd/lib/libfetch/ |
H A D | common.c | 885 fetch_ssl_ipaddr_match_bin(const struct addrinfo *lhost, const char *rhost, in fetch_ssl_ipaddr_match_bin() argument 890 if (lhost->ai_family == AF_INET && rhostlen == 4) { in fetch_ssl_ipaddr_match_bin() 892 lhost->ai_addr)->sin_addr.s_addr; in fetch_ssl_ipaddr_match_bin() 894 } else if (lhost->ai_family == AF_INET6 && rhostlen == 16) { in fetch_ssl_ipaddr_match_bin() 896 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,
|