/freebsd-11-stable/crypto/openssh/ |
H A D | auth-rhosts.c | 57 const char *ipaddr, const char *client_user, 153 !innetgr(host + 1, ipaddr, NULL, NULL)) 156 strcmp(host, ipaddr) != 0) 191 const char *ipaddr) 198 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 199 client_user, hostname, ipaddr); 238 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, 241 "/etc/hosts.equiv.", hostname, ipaddr); 244 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, 247 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUI 56 check_rhosts_file(const char *filename, const char *hostname, const char *ipaddr, const char *client_user, const char *server_user) argument 190 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument [all...] |
H A D | match.c | 197 match_host_and_ip(const char *host, const char *ipaddr, argument 202 if ((mip = addr_match_list(ipaddr, patterns)) == -2) 203 return -1; /* error in ipaddr match */ 204 else if (host == NULL || ipaddr == NULL || mip == -1) 218 * If user, host and ipaddr are all NULL then validate pattern/ 222 match_user(const char *user, const char *host, const char *ipaddr, argument 229 if (user == NULL && host == NULL && ipaddr == NULL) { 244 ret = match_host_and_ip(host, ipaddr, p);
|
H A D | auth2-hostbased.c | 164 const char *resolvedname, *ipaddr, *lookup, *reason; local 173 ipaddr = ssh_remote_ipaddr(ssh); 175 debug2("%s: chost %s resolvedname %s ipaddr %s", __func__, 176 chost, resolvedname, ipaddr); 195 chost, ipaddr, resolvedname); 196 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { 199 __func__, cuser, resolvedname, ipaddr);
|
H A D | auth.c | 106 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; local 192 ipaddr = ssh_remote_ipaddr(ssh); 198 r = match_user(pw->pw_name, hostname, ipaddr, 214 r = match_user(pw->pw_name, hostname, ipaddr,
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_cisco.h | 67 struct in_addr ipaddr; /* IP address */ member in struct:ng_cisco_ipaddr 73 { "ipaddr", &ng_parse_ipaddr_type }, \
|
/freebsd-11-stable/usr.sbin/bsdconfig/networking/share/ |
H A D | Makefile | 4 FILES= common.subr device.subr hostname.subr ipaddr.subr media.subr \
|
/freebsd-11-stable/sys/netinet/ |
H A D | if_ether.h | 44 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 45 /* struct in_addr *ipaddr; */ \ 51 (enaddr)[3] = ((const u_char *)ipaddr)[1] & 0x7f; \ 52 (enaddr)[4] = ((const u_char *)ipaddr)[2]; \ 53 (enaddr)[5] = ((const u_char *)ipaddr)[3]; \
|
H A D | ip_options.c | 109 struct sockaddr_in ipaddr = { sizeof(ipaddr), AF_INET }; local 167 ipaddr.sin_addr = ip->ip_dst; 168 if (ifa_ifwithaddr_check((struct sockaddr *)&ipaddr) 232 (void)memcpy(&ipaddr.sin_addr, cp + off, 233 sizeof(ipaddr.sin_addr)); 241 ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr, 244 ia = (INA)ifa_ifwithnet((SA)&ipaddr, 0, 255 ipaddr.sin_addr, 0, 0, &nh_ext) != 0) 262 ip->ip_dst = ipaddr [all...] |
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | dhcp_snoop.c | 115 if (sta->ipaddr == b->your_ip) 118 if (sta->ipaddr != 0) { 121 ipaddr_str(be_to_host32(sta->ipaddr))); 123 (u8 *) &sta->ipaddr); 134 sta->ipaddr = b->your_ip;
|
H A D | ap_drv_ops.h | 308 int version, const u8 *ipaddr, 314 return hapd->driver->br_add_ip_neigh(hapd->drv_priv, version, ipaddr, 319 u8 version, const u8 *ipaddr) 325 ipaddr); 307 hostapd_drv_br_add_ip_neigh(struct hostapd_data *hapd, int version, const u8 *ipaddr, int prefixlen, const u8 *addr) argument 318 hostapd_drv_br_delete_ip_neigh(struct hostapd_data *hapd, u8 version, const u8 *ipaddr) argument
|
/freebsd-11-stable/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-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ipaddr.c | 227 u_char ipaddr[4]; local 247 if (index_decode(&value->var, sub, iidx, ipaddr)) 251 idx.subs[0] = ipaddr[0]; 252 idx.subs[1] = ipaddr[1]; 253 idx.subs[2] = ipaddr[2]; 254 idx.subs[3] = ipaddr[3]; 260 upd->addr.s_addr = htonl((ipaddr[0] << 24) | (ipaddr[1] << 16) | 261 (ipaddr[2] << 8) | (ipaddr[ [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | defs.c | 136 struct in_addr ipaddr; local 139 ipaddr.s_addr = INADDR_ANY; 140 else if (inet_aton(cp, &ipaddr) == 0) { 153 memcpy(&ipaddr, hp->h_addr, hp->h_length); 155 ipaddr.s_addr = INADDR_NONE; 157 ipaddr.s_addr = INADDR_NONE; 160 return ipaddr;
|
H A D | ncpaddr.h | 38 struct in_addr ipaddr; member in struct:ncprange::__anon8882::__anon8883 44 struct in6_addr ipaddr; member in struct:ncprange::__anon8882::__anon8884
|
H A D | ipcp.c | 526 struct ncpaddr ipaddr; local 540 ncpaddr_setip4(&ipaddr, iplist_setcurpos(&ipcp->cfg.peer_list, pos)); 546 ncpaddr_setip4(&ipaddr, iplist_setrandpos(&ipcp->cfg.peer_list)); 548 ncprange_sethost(&ipcp->cfg.peer_range, &ipaddr); 573 ncprange_getaddr(&iface->addr[n].ifa, &ipaddr); 574 if (ncprange_contains(&ipcp->cfg.my_range, &ipaddr)) { 575 ncpaddr_getip4(&ipaddr, &ipcp->my_ip); 1065 struct in_addr ipaddr, dstipaddr, have_ip; local 1080 memcpy(&ipaddr.s_addr, opt->data, 4); 1081 log_Printf(LogIPCP, "%s %s\n", tbuff, inet_ntoa(ipaddr)); [all...] |
H A D | arp.c | 226 * the same subnet as ipaddr. 230 arp_EtherAddr(struct in_addr ipaddr, struct sockaddr_dl *hwaddr, argument 304 (ipaddr.s_addr & netmask->sin_addr.s_addr)) { 307 dl->sdl_data, inet_ntoa(ipaddr));
|
/freebsd-11-stable/sys/netnatm/ |
H A D | natm_pcb.c | 143 cpcb->ipaddr.s_addr = 0; 163 cpcb->npcb_vci, cpcb->npcb_vpi, cpcb->ipaddr.s_addr,
|
H A D | natm.h | 67 struct in_addr ipaddr; /* remote IP address, if APCB_IP */ member in struct:natmpcb
|
/freebsd-11-stable/contrib/ldns/ |
H A D | update.c | 135 ldns_rdf *ipaddr, *fqdn_rdf, *tmp; local 201 ipaddr = ldns_rr_rdf(rr, 0); 206 if (ldns_rdf_compare(ipaddr, nslist[i]) == 0) { 217 (void) ldns_resolver_push_nameserver(r, ipaddr);
|
/freebsd-11-stable/usr.sbin/bsdconfig/networking/ |
H A D | devices | 45 f_include $BSDCFG_SHARE/networking/ipaddr.subr
|
/freebsd-11-stable/sbin/setkey/ |
H A D | parse.y | 127 %type <res> ipaddr 155 : ADD ipaddropts ipaddr ipaddr protocol_spec spi extension_spec algorithm_spec EOT 167 : DELETE ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 186 : DELETEALL ipaddropts ipaddr ipaddr protocol_spec EOT 198 : GET ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 656 ipaddr [all...] |
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ippool_y.y | 89 %type <ipa> ipaddr mask 365 ipaddr '/' mask { $$[0] = $1; 370 | ipaddr { $$[0] = $1; 384 ipaddr: ipv4 { $$.adf_addr.in4 = $1; label 544 YY_STR ':' ipaddr { int size = sizeof(*$$) + strlen($1) + 1; 555 | 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 label
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | save_v1trap.c | 299 maketrap_v1(community, buffer, bufsize, msg, msglen, ipaddr, when) 305 u_32_t ipaddr; 357 bcopy(&ipaddr, s, 4);
|
/freebsd-11-stable/usr.sbin/rarpd/ |
H A D | rarpd.c | 717 update_arptab(u_char *ep, in_addr_t ipaddr) argument 738 ar->sin_addr.s_addr = ipaddr; 774 ll2->sdl_family, ipaddr); 850 rarp_reply(struct if_info *ii, struct ether_header *ep, in_addr_t ipaddr, argument 856 update_arptab((u_char *)&ap->arp_sha, ipaddr); 870 bcopy((char *)&ipaddr, (char *)ap->arp_tpa, 4); 883 intoa(ntohl(ipaddr)));
|