Home
last modified time | relevance | path

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

12

/netbsd-src/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 Dauth2-hostbased.c175 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local
184 ipaddr = ssh_remote_ipaddr(ssh); in hostbased_key_allowed()
187 chost, resolvedname, ipaddr); in hostbased_key_allowed()
205 chost, ipaddr, resolvedname); in hostbased_key_allowed()
206 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed()
209 cuser, resolvedname, ipaddr); in hostbased_key_allowed()
/netbsd-src/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-src/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-src/sys/netinet/
H A Dip_input.c906 struct sockaddr_in ipaddr = { in ip_dooptions() local
907 .sin_len = sizeof(ipaddr), in ip_dooptions()
928 ipaddr.sin_addr = ip->ip_dst; in ip_dooptions()
931 ifa = ifa_ifwithaddr(sintosa(&ipaddr)); in ip_dooptions()
958 memcpy((void *)&ipaddr.sin_addr, (void *)(cp + off), in ip_dooptions()
959 sizeof(ipaddr.sin_addr)); in ip_dooptions()
961 ifa = ifa_ifwithladdr_psref(sintosa(&ipaddr), in ip_dooptions()
968 ia = ip_rtaddr(ipaddr.sin_addr, &psref); in ip_dooptions()
975 ip->ip_dst = ipaddr.sin_addr; in ip_dooptions()
989 struct sockaddr_in ipaddr = { in ip_dooptions() local
[all …]
/netbsd-src/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-src/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-src/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
H A Dipnat_y.y130 %type <ipa> hostname ipv4 ipaddr
962 | hostname slash ipaddr { bzero(&$$, sizeof($$));
988 | hostname mask ipaddr { bzero(&$$, sizeof($$));
1219 ipaddr: ipv4 { $$ = $1; }
/netbsd-src/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-src/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-src/external/mpl/bind/dist/lib/dns/include/dns/
H A Dpeer.h81 dns_peer_new(isc_mem_t *mem, const isc_netaddr_t *ipaddr, dns_peer_t **peer);
84 dns_peer_newprefix(isc_mem_t *mem, const isc_netaddr_t *ipaddr,
/netbsd-src/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-src/external/mpl/dhcp/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-src/external/mit/libuv/dist/docs/
H A Drequirements.txt19 ipaddr==2.2.0
/netbsd-src/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()
/netbsd-src/external/bsd/wpa/dist/src/ap/
H A Daccounting.c135 if (sta->ipaddr && in accounting_msg()
138 be_to_host32(sta->ipaddr))) { in accounting_msg()
/netbsd-src/usr.sbin/arp/
H A Darp.c807 getetheraddr(struct in_addr ipaddr, struct sockaddr_dl *sdl) in getetheraddr() argument
828 if ((ipaddr.s_addr & mask) != (ina & mask)) in getetheraddr()
834 warnx("No interface matched %s", inet_ntoa(ipaddr)); in getetheraddr()
/netbsd-src/crypto/dist/ipsec-tools/src/setkey/
H A Dparse.y148 %type <res> ipaddr ipandport
223 : DELETEALL ipaddropts ipaddr ipaddr protocol_spec EOT
327 | PR_ESPUDP ipaddr
785 ipaddr
/netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/
H A DParser.py117 ipaddr = val
128 self.named.keys[ii].addIpAddr(ipaddr)

12