/freebsd-10.0-release/crypto/openssh/ |
H A D | auth-rhosts.c | 56 const char *ipaddr, const char *client_user, 150 !innetgr(host + 1, ipaddr, NULL, NULL)) 152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) 189 const char *hostname, *ipaddr; local 192 ipaddr = get_remote_ipaddr(); 193 return auth_rhosts2(pw, client_user, hostname, ipaddr); 198 const char *ipaddr) 205 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 206 client_user, hostname, ipaddr); 234 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, 55 check_rhosts_file(const char *filename, const char *hostname, const char *ipaddr, const char *client_user, const char *server_user) argument 197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument 317 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument [all...] |
H A D | auth2-hostbased.c | 148 const char *resolvedname, *ipaddr, *lookup, *reason; local 157 ipaddr = get_remote_ipaddr(); 159 debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s", 160 chost, resolvedname, ipaddr); 175 chost, ipaddr, resolvedname); 176 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0)
|
H A D | match.c | 191 match_host_and_ip(const char *host, const char *ipaddr, argument 196 /* error in ipaddr match */ 197 if ((mip = addr_match_list(ipaddr, patterns)) == -2) 215 match_user(const char *user, const char *host, const char *ipaddr, argument 229 ret = match_host_and_ip(host, ipaddr, p);
|
H A D | canohost.c | 158 check_ip_options(int sock, char *ipaddr) argument 180 ipaddr, text); 339 /* Check whether we have cached the ipaddr. */
|
H A D | auth.c | 101 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; local 186 ipaddr = get_remote_ipaddr(); 192 if (match_user(pw->pw_name, hostname, ipaddr, 203 if (match_user(pw->pw_name, hostname, ipaddr,
|
/freebsd-10.0-release/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-10.0-release/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 | 104 struct sockaddr_in ipaddr = { sizeof(ipaddr), AF_INET }; local 162 ipaddr.sin_addr = ip->ip_dst; 163 if (ifa_ifwithaddr_check((struct sockaddr *)&ipaddr) 224 (void)memcpy(&ipaddr.sin_addr, cp + off, 225 sizeof(ipaddr.sin_addr)); 230 if ((ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr)) == NULL) 231 ia = (INA)ifa_ifwithnet((SA)&ipaddr, 0); 234 ia = ip_rtaddr(ipaddr.sin_addr, M_GETFIB(m)); 240 ip->ip_dst = ipaddr [all...] |
/freebsd-10.0-release/usr.sbin/bsdconfig/networking/share/ |
H A D | Makefile | 6 FILES= common.subr device.subr hostname.subr ipaddr.subr media.subr \
|
/freebsd-10.0-release/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-10.0-release/usr.sbin/ppp/ |
H A D | defs.c | 134 struct in_addr ipaddr; local 137 ipaddr.s_addr = INADDR_ANY; 138 else if (inet_aton(cp, &ipaddr) == 0) { 151 memcpy(&ipaddr, hp->h_addr, hp->h_length); 153 ipaddr.s_addr = INADDR_NONE; 155 ipaddr.s_addr = INADDR_NONE; 158 return ipaddr;
|
H A D | ncpaddr.h | 36 struct in_addr ipaddr; member in struct:ncprange::__anon11716::__anon11717 42 struct in6_addr ipaddr; member in struct:ncprange::__anon11716::__anon11718
|
H A D | ipcp.c | 524 struct ncpaddr ipaddr; local 538 ncpaddr_setip4(&ipaddr, iplist_setcurpos(&ipcp->cfg.peer_list, pos)); 544 ncpaddr_setip4(&ipaddr, iplist_setrandpos(&ipcp->cfg.peer_list)); 546 ncprange_sethost(&ipcp->cfg.peer_range, &ipaddr); 571 ncprange_getaddr(&iface->addr[n].ifa, &ipaddr); 572 if (ncprange_contains(&ipcp->cfg.my_range, &ipaddr)) { 573 ncpaddr_getip4(&ipaddr, &ipcp->my_ip); 1063 struct in_addr ipaddr, dstipaddr, have_ip; local 1078 memcpy(&ipaddr.s_addr, opt->data, 4); 1079 log_Printf(LogIPCP, "%s %s\n", tbuff, inet_ntoa(ipaddr)); [all...] |
H A D | arp.c | 224 * the same subnet as ipaddr. 228 arp_EtherAddr(struct in_addr ipaddr, struct sockaddr_dl *hwaddr, argument 302 (ipaddr.s_addr & netmask->sin_addr.s_addr)) { 305 dl->sdl_data, inet_ntoa(ipaddr));
|
/freebsd-10.0-release/sys/netnatm/ |
H A D | natm_pcb.c | 140 cpcb->ipaddr.s_addr = 0; 160 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-10.0-release/contrib/ntp/sntp/ |
H A D | internet.c | 136 unsigned long ipaddr; local 167 if ((ipaddr = inet_addr(hostname)) == (unsigned long)-1) 169 network_to_address(address,ipaddr);
|
/freebsd-10.0-release/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-10.0-release/usr.sbin/bsdconfig/networking/ |
H A D | devices | 39 f_include $BSDCFG_SHARE/networking/ipaddr.subr
|
/freebsd-10.0-release/sbin/setkey/ |
H A D | parse.y | 124 %type <res> ipaddr 152 : ADD ipaddropts ipaddr ipaddr protocol_spec spi extension_spec algorithm_spec EOT 164 : DELETE ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 183 : DELETEALL ipaddropts ipaddr ipaddr protocol_spec EOT 195 : GET ipaddropts ipaddr ipaddr protocol_spec spi extension_spec EOT 630 ipaddr [all...] |
/freebsd-10.0-release/contrib/ipfilter/tools/ |
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; label 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 label
|
/freebsd-10.0-release/usr.sbin/rarpd/ |
H A D | rarpd.c | 715 update_arptab(u_char *ep, in_addr_t ipaddr) argument 736 ar->sin_addr.s_addr = ipaddr; 772 ll2->sdl_family, ipaddr); 848 rarp_reply(struct if_info *ii, struct ether_header *ep, in_addr_t ipaddr, argument 854 update_arptab((u_char *)&ap->arp_sha, ipaddr); 868 bcopy((char *)&ipaddr, (char *)ap->arp_tpa, 4); 881 intoa(ntohl(ipaddr)));
|
/freebsd-10.0-release/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-10.0-release/contrib/apr/network_io/unix/ |
H A D | sockaddr.c | 250 * just pass char[] for ipaddr (so we don't depend on struct in6_addr) 256 struct in6_addr ipaddr; local 285 if (apr_inet_pton(AF_INET6, *addr, &ipaddr) != 1) { 509 struct in_addr ipaddr; local 521 ipaddr.s_addr = inet_addr(hostname); 522 addr_list[0] = (char *)&ipaddr;
|