/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | auth-rhosts.c | 58 const char *ipaddr, const char *client_user, in check_rhosts_file() argument 154 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file() 157 strcmp(host, ipaddr) != 0) in check_rhosts_file() 192 const char *ipaddr) in auth_rhosts2() argument 201 client_user, hostname, ipaddr); in auth_rhosts2() 242 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 245 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2() 248 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 251 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2() 319 if (check_rhosts_file(path, hostname, ipaddr, in auth_rhosts2() [all …]
|
H A D | match.c | 208 match_host_and_ip(const char *host, const char *ipaddr, in match_host_and_ip() argument 213 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip() 215 else if (host == NULL || ipaddr == NULL || mip == -1) in match_host_and_ip() 233 match_user(const char *user, const char *host, const char *ipaddr, in match_user() argument 240 if (user == NULL && host == NULL && ipaddr == NULL) { in match_user() 255 ret = match_host_and_ip(host, ipaddr, p); in match_user()
|
H A D | auth2-hostbased.c | 173 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local 182 ipaddr = ssh_remote_ipaddr(ssh); in hostbased_key_allowed() 185 chost, resolvedname, ipaddr); in hostbased_key_allowed() 203 chost, ipaddr, resolvedname); in hostbased_key_allowed() 204 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed() 207 cuser, resolvedname, ipaddr); in hostbased_key_allowed()
|
H A D | auth.c | 103 const char *hostname = NULL, *ipaddr = NULL; in allowed_user() local 113 ipaddr = ssh_remote_ipaddr(ssh); in allowed_user() 125 match_ip = match_hostname(ipaddr, hp); in allowed_user() 154 match_ip = match_hostname(ipaddr, hp); in allowed_user() 253 ipaddr = ssh_remote_ipaddr(ssh); in allowed_user() 259 r = match_user(pw->pw_name, hostname, ipaddr, in allowed_user() 275 r = match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
|
/netbsd/external/bsd/ipf/dist/iplang/ |
H A D | BNF | 5 ifaceopts ::= "ifname" name | "mtu" mtu | "v4addr" ipaddr | 10 sendbody ::= "ifname" name | "via" ipaddr . 12 defrouter ::= "router" ipaddr . 16 arpbody ::= "v4addr" ipaddr | "eaddr" eaddr . 22 ipv4body ::= "proto" protocol | "src" ipaddr | "dst" ipaddr |
|
/netbsd/external/bsd/ipf/dist/rules/ |
H A D | ftp-proxy | 25 map int-c ipaddr-a/32 -> ip-addr-c-net/32 proxy port ftp ftp/tcp 28 ipaddr-a = ip# of interface a 29 ipaddr-c-net = another ip# on the C-network (usually not the same as the 39 ipaddr-a = 10.1.1.1 41 ipaddr-c-net = 203.45.67.91
|
/netbsd/external/bsd/wpa/dist/src/ap/ |
H A D | dhcp_snoop.c | 115 if (sta->ipaddr == b->your_ip) in handle_dhcp() 118 if (sta->ipaddr != 0) { in handle_dhcp() 121 ipaddr_str(be_to_host32(sta->ipaddr))); in handle_dhcp() 123 (u8 *) &sta->ipaddr); in handle_dhcp() 134 sta->ipaddr = b->your_ip; in handle_dhcp()
|
H A D | ap_drv_ops.h | 308 int version, const u8 *ipaddr, in hostapd_drv_br_add_ip_neigh() argument 314 return hapd->driver->br_add_ip_neigh(hapd->drv_priv, version, ipaddr, in hostapd_drv_br_add_ip_neigh() 319 u8 version, const u8 *ipaddr) in hostapd_drv_br_delete_ip_neigh() argument 325 ipaddr); in hostapd_drv_br_delete_ip_neigh()
|
H A D | accounting.c | 135 if (sta->ipaddr && in accounting_msg() 138 be_to_host32(sta->ipaddr))) { in accounting_msg()
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/examples/ |
H A D | p2p-action.sh | 44 ipaddr=`echo "$*" | sed 's/.* ip_addr=\([^ ]*\).*/\1/'` 47 if echo "$ipaddr$ipmask$goipaddr" | grep -q ' '; then 48 ipaddr="" 52 if [ -n "$ipaddr" ]; then 53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
|
/netbsd/sys/netinet/ |
H A D | ip_input.c | 907 struct sockaddr_in ipaddr = { in ip_dooptions() local 908 .sin_len = sizeof(ipaddr), in ip_dooptions() 929 ipaddr.sin_addr = ip->ip_dst; in ip_dooptions() 960 sizeof(ipaddr.sin_addr)); in ip_dooptions() 976 ip->ip_dst = ipaddr.sin_addr; in ip_dooptions() 990 struct sockaddr_in ipaddr = { in ip_dooptions() local 991 .sin_len = sizeof(ipaddr), in ip_dooptions() 1014 sizeof(ipaddr.sin_addr)); in ip_dooptions() 1069 struct sockaddr_in ipaddr = { in ip_dooptions() local 1080 ipaddr.sin_addr = dst; in ip_dooptions() [all …]
|
/netbsd/external/bsd/ipf/dist/ |
H A D | BNF | 21 dup = "dup-to" interface-name[":"ipaddr] . 23 replyto = "reply-to" interface-name [ ":" ipaddr ] . 31 addr = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] . 41 host-name = ipaddr | hostname | "any" . 42 ipaddr = host-num "." host-num "." host-num "." host-num .
|
/netbsd/usr.sbin/rarpd/ |
H A D | rarpd.c | 190 init_one(char *ifname, u_int32_t ipaddr) in init_one() argument 227 p->ii_ipaddr = ipaddr; in init_one() 714 update_arptab(u_char *ep, u_int32_t ipaddr) argument 722 sin->sin_addr.s_addr = ipaddr; 774 rarp_reply(struct if_info *ii, struct ether_header *ep, u_int32_t ipaddr, argument 787 (void)mkarp((u_int8_t *)ar_sha(ap), ipaddr); 789 update_arptab((u_char *) & ap->arp_sha, ipaddr); 808 memmove(ar_tpa(ap), (char *) &ipaddr, 4); 823 memmove((char *) ap->arp_tpa, (char *) &ipaddr, 4);
|
H A D | mkarp.c | 114 mkarp(u_char *haddr, u_int32_t ipaddr) in mkarp() argument 145 sin->sin_addr.s_addr = ipaddr; in mkarp()
|
/netbsd/external/bsd/ipf/dist/tools/ |
H A D | BNF.ipf | 21 dup = "dup-to" interface-name[":"ipaddr] . 30 addr = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] . 40 host-name = ipaddr | hostname | "any" . 41 ipaddr = host-num "." host-num "." host-num "." host-num .
|
H A D | ippool_y.y | 94 %type <ipa> ipaddr mask 354 ipaddr '/' mask { $$[0] = $1; 359 | ipaddr { $$[0] = $1; 373 ipaddr: ipv4 { $$.adf_addr.in4 = $1; 533 YY_STR ':' ipaddr { int size = sizeof(*$$) + strlen($1) + 1; 544 | ipaddr { $$ = calloc(1, sizeof(*$$));
|
H A D | ipscan_y.y | 58 %type <ipa> ipaddr 163 IPSL_REDIRECT '(' ipaddr ')' { $$.act_ip = $3; 165 | IPSL_REDIRECT '(' ipaddr ',' portnum ')' 171 ipaddr: YY_NUMBER '.' YY_NUMBER '.' YY_NUMBER '.' YY_NUMBER
|
H A D | BNF.ipnat | 18 addr = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] .
|
H A D | ipf_y.y | 114 %type <ipp> addr ipaddr 1021 | ipaddr { $$ = $1; 1025 ipaddr: IPFY_ANY { memset(&($$), 0, sizeof($$)); 1189 ipaddr { $$ = newalist(NULL); 1194 | ipaddr ',' { yyexpectaddr = 1; } addrlist 1209 ipaddr { $$ = newalist(NULL); 1214 | '!' ipaddr { $$ = newalist(NULL); 1220 | poollist ',' ipaddr 1226 | poollist ',' '!' ipaddr
|
/netbsd/sys/net/ |
H A D | if_ether.h | 132 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ argument 139 (enaddr)[3] = ((const uint8_t *)ipaddr)[1] & 0x7f; \ 140 (enaddr)[4] = ((const uint8_t *)ipaddr)[2]; \ 141 (enaddr)[5] = ((const uint8_t *)ipaddr)[3]; \
|
/netbsd/external/bsd/libbind/dist/irs/ |
H A D | irp.c | 160 long ipaddr; in irs_irp_connect() local 193 if (inet_pton(AF_INET, irphost, &ipaddr) != 1) { in irs_irp_connect() 206 iaddr.sin_addr.s_addr = ipaddr; in irs_irp_connect()
|
/netbsd/external/bsd/ipf/dist/lib/ |
H A D | save_v1trap.c | 301 maketrap_v1(community, buffer, bufsize, msg, msglen, ipaddr, when) in maketrap_v1() argument 307 u_32_t ipaddr; 359 bcopy(&ipaddr, s, 4);
|
/netbsd/external/mpl/bind/dist/lib/dns/include/dns/ |
H A D | peer.h | 132 dns_peer_new(isc_mem_t *mem, const isc_netaddr_t *ipaddr, dns_peer_t **peer); 135 dns_peer_newprefix(isc_mem_t *mem, const isc_netaddr_t *ipaddr,
|
/netbsd/external/mit/libuv/dist/docs/ |
H A D | requirements.txt | 19 ipaddr==2.2.0
|
/netbsd/external/bsd/unbound/dist/ipset/ |
H A D | ipset.c | 61 static int add_to_ipset(struct mnl_socket *mnl, const char *setname, const void *ipaddr, int af) { in add_to_ipset() argument 90 …| NLA_F_NET_BYTEORDER, (af == AF_INET ? sizeof(struct in_addr) : sizeof(struct in6_addr)), ipaddr); in add_to_ipset()
|