| /freebsd-12.1/crypto/openssh/ |
| H A D | auth-rhosts.c | 57 const char *ipaddr, const char *client_user, in check_rhosts_file() argument 153 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file() 156 strcmp(host, ipaddr) != 0) in check_rhosts_file() 191 const char *ipaddr) in auth_rhosts2() argument 199 client_user, hostname, ipaddr); in auth_rhosts2() 238 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 241 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2() 244 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 247 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2() 308 if (check_rhosts_file(buf, hostname, ipaddr, in auth_rhosts2() [all …]
|
| H A D | match.c | 197 match_host_and_ip(const char *host, const char *ipaddr, in match_host_and_ip() argument 202 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip() 204 else if (host == NULL || ipaddr == NULL || mip == -1) in match_host_and_ip() 222 match_user(const char *user, const char *host, const char *ipaddr, in match_user() argument 229 if (user == NULL && host == NULL && ipaddr == NULL) { in match_user() 244 ret = match_host_and_ip(host, ipaddr, p); in match_user()
|
| H A D | auth2-hostbased.c | 167 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local 176 ipaddr = ssh_remote_ipaddr(ssh); in hostbased_key_allowed() 179 chost, resolvedname, ipaddr); in hostbased_key_allowed() 198 chost, ipaddr, resolvedname); in hostbased_key_allowed() 199 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed() 202 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | ip_options.c | 111 struct sockaddr_in ipaddr = { sizeof(ipaddr), AF_INET }; in ip_dooptions() local 170 ipaddr.sin_addr = ip->ip_dst; in ip_dooptions() 236 (void)memcpy(&ipaddr.sin_addr, cp + off, in ip_dooptions() 237 sizeof(ipaddr.sin_addr)); in ip_dooptions() 258 ipaddr.sin_addr, 0, 0, &nh_ext) != 0) in ip_dooptions() 265 ip->ip_dst = ipaddr.sin_addr; in ip_dooptions() 292 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst, in ip_dooptions() 293 sizeof(ipaddr.sin_addr)); in ip_dooptions() 349 ipaddr.sin_addr = dst; in ip_dooptions() 350 ia = (INA)ifaof_ifpforaddr((SA)&ipaddr, in ip_dooptions() [all …]
|
| H A D | if_ether.h | 46 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ argument 53 (enaddr)[3] = ((const u_char *)ipaddr)[1] & 0x7f; \ 54 (enaddr)[4] = ((const u_char *)ipaddr)[2]; \ 55 (enaddr)[5] = ((const u_char *)ipaddr)[3]; \
|
| /freebsd-12.1/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII_ipaddr.c | 227 u_char ipaddr[4]; in op_ipaddr() local 247 if (index_decode(&value->var, sub, iidx, ipaddr)) in op_ipaddr() 251 idx.subs[0] = ipaddr[0]; in op_ipaddr() 252 idx.subs[1] = ipaddr[1]; in op_ipaddr() 253 idx.subs[2] = ipaddr[2]; in op_ipaddr() 254 idx.subs[3] = ipaddr[3]; in op_ipaddr() 260 upd->addr.s_addr = htonl((ipaddr[0] << 24) | (ipaddr[1] << 16) | in op_ipaddr() 261 (ipaddr[2] << 8) | (ipaddr[3] << 0)); in op_ipaddr()
|
| /freebsd-12.1/contrib/ipfilter/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 |
|
| /freebsd-12.1/contrib/ipfilter/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
|
| /freebsd-12.1/contrib/wpa/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()
|
| /freebsd-12.1/contrib/wpa/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"
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | defs.c | 136 struct in_addr ipaddr; in GetIpAddr() local 139 ipaddr.s_addr = INADDR_ANY; in GetIpAddr() 140 else if (inet_aton(cp, &ipaddr) == 0) { in GetIpAddr() 153 memcpy(&ipaddr, hp->h_addr, hp->h_length); in GetIpAddr() 155 ipaddr.s_addr = INADDR_NONE; in GetIpAddr() 157 ipaddr.s_addr = INADDR_NONE; in GetIpAddr() 160 return ipaddr; in GetIpAddr()
|
| H A D | ipcp.c | 526 struct ncpaddr ipaddr; in ipcp_Setup() local 575 ncpaddr_getip4(&ipaddr, &ipcp->my_ip); in ipcp_Setup() 1065 struct in_addr ipaddr, dstipaddr, have_ip; in IpcpDecodeConfig() local 1080 memcpy(&ipaddr.s_addr, opt->data, 4); in IpcpDecodeConfig() 1086 ipcp_ValidateReq(ipcp, ipaddr, dec); in IpcpDecodeConfig() 1095 ipcp->my_ip = ipaddr; in IpcpDecodeConfig() 1194 memcpy(&ipaddr.s_addr, opt->data, 4); in IpcpDecodeConfig() 1212 memcpy(&ipaddr.s_addr, opt->data, 4); in IpcpDecodeConfig() 1266 memcpy(&ipaddr.s_addr, opt->data, 4); in IpcpDecodeConfig() 1335 ipaddr.s_addr = INADDR_ANY; in IpcpDecodeConfig() [all …]
|
| H A D | ncpaddr.h | 38 struct in_addr ipaddr; member 44 struct in6_addr ipaddr; member
|
| H A D | arp.c | 230 arp_EtherAddr(struct in_addr ipaddr, struct sockaddr_dl *hwaddr, in arp_EtherAddr() argument 304 (ipaddr.s_addr & netmask->sin_addr.s_addr)) { in arp_EtherAddr() 307 dl->sdl_data, inet_ntoa(ipaddr)); in arp_EtherAddr()
|
| /freebsd-12.1/contrib/ipfilter/ |
| 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 .
|
| /freebsd-12.1/usr.sbin/bsdconfig/networking/share/ |
| H A D | ipaddr.subr | 33 f_dprintf "%s: loading includes..." networking/ipaddr.subr 43 # f_dialog_iperror $error $ipaddr 62 # f_dialog_validate_ipaddr $ipaddr 126 # f_dialog_input_ipaddr $interface $ipaddr 129 # press ESC, the $ipaddr environment variable will hold the newly-configured 209 ipaddr="$_ipaddr" 217 f_dprintf "%s: Successfully loaded." networking/ipaddr.subr
|
| H A D | device.subr | 39 f_include $BSDCFG_SHARE/networking/ipaddr.subr 162 # f_dialog_menu_netdev_edit $interface $ipaddr $netmask $options $dhcp 170 local interface="$1" ipaddr="$2" netmask="$3" options="$4" dhcp="$5" 222 '3 $msg_ipaddr4' '$ipaddr' 264 # to the ipaddr, netmask, and options variables for us to re- 311 f_ifconfig_inet "$interface" ipaddr 323 3\ *) f_dialog_input_ipaddr "$interface" "$ipaddr" 335 if [ "$ipaddr" != "$ipaddr_orig" -o \ 348 value="inet $ipaddr netmask $netmask" 382 "$interface" "$ipaddr" "$netmask" "$options"
|
| /freebsd-12.1/contrib/ipfilter/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 | 89 %type <ipa> ipaddr mask 349 ipaddr '/' mask { $$[0] = $1; 354 | ipaddr { $$[0] = $1; 368 ipaddr: ipv4 { $$.adf_addr.in4 = $1; 528 YY_STR ':' ipaddr { int size = sizeof(*$$) + strlen($1) + 1; 539 | 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
|
| /freebsd-12.1/contrib/ldns/ |
| H A D | update.c | 135 ldns_rdf *ipaddr, *fqdn_rdf, *tmp; in ldns_update_soa_zone_mname() local 202 ipaddr = ldns_rr_rdf(rr, 0); in ldns_update_soa_zone_mname() 210 if (ldns_rdf_compare(ipaddr, nslist[i]) == 0) { in ldns_update_soa_zone_mname() 221 (void) ldns_resolver_push_nameserver(tmp_r, ipaddr); in ldns_update_soa_zone_mname()
|
| /freebsd-12.1/sbin/setkey/ |
| H A D | parse.y | 129 %type <res> ipaddr 157 : ADD ipaddropts ipaddr ipaddr protocol_spec spi extension_spec algorithm_spec EOT 169 : DELETE ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 188 : DELETEALL ipaddropts ipaddr ipaddr protocol_spec EOT 200 : GET ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 658 ipaddr
|
| /freebsd-12.1/usr.sbin/rarpd/ |
| H A D | rarpd.c | 717 update_arptab(u_char *ep, in_addr_t ipaddr) in update_arptab() argument 738 ar->sin_addr.s_addr = ipaddr; in update_arptab() 775 ll2->sdl_family, ipaddr); in update_arptab() 852 rarp_reply(struct if_info *ii, struct ether_header *ep, in_addr_t ipaddr, in rarp_reply() argument 858 update_arptab((u_char *)&ap->arp_sha, ipaddr); in rarp_reply() 872 bcopy((char *)&ipaddr, (char *)ap->arp_tpa, 4); in rarp_reply() 885 intoa(ntohl(ipaddr))); in rarp_reply()
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| H A D | save_v1trap.c | 299 maketrap_v1(community, buffer, bufsize, msg, msglen, ipaddr, when) in maketrap_v1() argument 305 u_32_t ipaddr; 357 bcopy(&ipaddr, s, 4);
|