Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 25 of 54) sorted by relevance

123

/netbsd/crypto/external/bsd/openssh/dist/
H A Dauth-rhosts.c58 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 Dmatch.c208 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 Dauth2-hostbased.c173 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 Dauth.c103 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 DBNF5 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 Dftp-proxy25 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 Ddhcp_snoop.c115 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 Dap_drv_ops.h308 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 Daccounting.c135 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 Dp2p-action.sh44 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 Dip_input.c907 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 DBNF21 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 Drarpd.c190 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 Dmkarp.c114 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 DBNF.ipf21 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 Dippool_y.y94 %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 Dipscan_y.y58 %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 DBNF.ipnat18 addr = "any" | nummask | host-name [ "mask" ipaddr | "mask" hexnumber ] .
H A Dipf_y.y114 %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 Dif_ether.h132 #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 Dirp.c160 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 Dsave_v1trap.c301 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 Dpeer.h132 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 Drequirements.txt19 ipaddr==2.2.0
/netbsd/external/bsd/unbound/dist/ipset/
H A Dipset.c61 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()

123