Searched refs:iaddr (Results 1 - 25 of 37) sorted by relevance

12

/macosx-10.10/bootp-298/bootplib/
H A Darp.h53 int arp_get(int s, route_msg * msg_p, struct in_addr iaddr,
55 int arp_delete(int s, struct in_addr iaddr, int if_index);
H A Dhostlist.h36 struct in_addr iaddr; /* internet address */ member in struct:hosts
59 typedef boolean_t subnet_match_func_t(void * arg, struct in_addr iaddr);
62 hostbyip(struct hosts * hosts, struct in_addr iaddr) argument
66 if (iaddr.s_addr == hp->iaddr.s_addr)
83 || (*func)(arg, hp->iaddr)) {
H A DNICache.h57 typedef boolean_t NICacheFunc_t(void * arg, struct in_addr iaddr);
H A Dmacnc_options.h86 macNCopt_encodeAFPPath(struct in_addr iaddr, uint16_t port,
H A Darp.c257 struct in_addr iaddr; local
260 iaddr.s_addr = inet_addr(host);
261 if (iaddr.s_addr == -1) {
267 bcopy((char *)hp->h_addr, (char *)&iaddr,
268 sizeof (iaddr));
274 ret = arp_delete(s, iaddr, 0);
276 printf("%s (%s) deleted\n", host, inet_ntoa(iaddr));
446 route_get(int s, route_msg * msg_p, struct in_addr iaddr, int if_index) argument
464 sin->sin_addr = iaddr;
501 arp_get(int s, route_msg * msg_p, struct in_addr iaddr, in argument
543 arp_delete(int s, struct in_addr iaddr, int if_index) argument
[all...]
H A Dmacnc_options.c192 macNCopt_encodeAFPPath(struct in_addr iaddr, uint16_t port, argument
219 *((struct in_addr *)buf_p) = iaddr; /* ip */
220 buf_p += sizeof(iaddr);
443 struct in_addr iaddr;
444 int i = sizeof(iaddr);
447 Buffer:(void *)&iaddr Length:&i] == FALSE) {
452 [options printType:dhcptype_ip_e Size:i Option:(void *)&iaddr
474 struct in_addr iaddr[10];
475 int l = sizeof(iaddr);
481 Buffer:(void *)iaddr Lengt
[all...]
H A Dutil.h98 ip_is_private(struct in_addr iaddr) argument
100 u_int32_t val = ntohl(iaddr.s_addr);
111 ip_is_linklocal(struct in_addr iaddr) argument
113 u_int32_t val = ntohl(iaddr.s_addr);
H A Dinterfaces.h115 struct in_addr iaddr);
117 struct in_addr iaddr);
137 struct in_addr iaddr);
H A Dhostlist.c83 hp->hlen, inet_ntoa(hp->iaddr),
125 hp->iaddr = *iaddr_p;
H A DNICachePrivate.h57 PLCacheEntry_t *PLCache_lookup_ip(PLCache_t * PLCache, struct in_addr iaddr);
/macosx-10.10/bootp-298/bootpd.tproj/
H A Ddhcpd.c120 struct in_addr iaddr; local
134 if (inet_aton(ip_nl_p->ninl_val[0], &iaddr) == 0) {
137 if (!ip_address_reachable(iaddr, giaddr, if_p)) {
160 inet_ntoa(iaddr));
161 *client_ip = iaddr;
416 struct in_addr iaddr, void * hostname_opt, int hostname_opt_len,
433 (ni_name) inet_ntoa(iaddr));
491 struct in_addr iaddr; local
504 subnet_match, &match, &iaddr, NULL, NULL)
508 subnet_match, &match, &iaddr, NUL
415 S_create_host(char * idstr, char * hwstr, struct in_addr iaddr, void * hostname_opt, int hostname_opt_len, dhcp_time_secs_t lease_time_expiry) argument
595 struct in_addr iaddr; local
[all...]
H A Dbootpd.h47 struct in_addr iaddr,
62 subnet_match(void * arg, struct in_addr iaddr);
H A Dbootpdfile.c154 struct in_addr iaddr; local
225 iaddr.s_addr = inet_addr(temp);
226 if (iaddr.s_addr == -1 || iaddr.s_addr == 0) {
232 (void)hostadd(&S_file_hosts, NULL, htype, haddr, hlen, &iaddr,
258 *iaddr_p = hp->iaddr;
H A Dbootpd.c1459 subnet_match(void * arg, struct in_addr iaddr) argument
1463 if (iaddr.s_addr == 0) {
1469 if (iaddr.s_addr == s->ciaddr.s_addr
1470 || ip_address_reachable(iaddr, s->giaddr, s->if_p)) {
1488 struct in_addr iaddr; local
1515 subnet_match, &match, &iaddr,
1520 subnet_match, &match, &iaddr,
1528 rp.bp_yiaddr = iaddr;
1531 iaddr = rq->bp_ciaddr;
1532 if (bootp_getbyip_file(iaddr,
1661 add_subnet_options(char * hostname, struct in_addr iaddr, interface_t * if_p, dhcpoa_t * options, const uint8_t * tags, int n) argument
[all...]
/macosx-10.10/lsof-53/lsof/scripts/
H A Didentd.perl544 ($port, $iaddr) = sockaddr_in(getpeername(STDIN));
45 $peer_addr = inet_ntoa($iaddr);
/macosx-10.10/ntp-92/scripts/
H A Dntptrace48 $iaddr = inet_aton($host);
49 $name = (gethostbyaddr($iaddr, AF_INET))[0];
H A Dntptrace.in48 $iaddr = inet_aton($host);
49 $name = (gethostbyaddr($iaddr, AF_INET))[0];
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dnetboot.c324 netboot_info_init(struct in_addr iaddr) argument
332 info->client_ip = iaddr;
610 struct in_addr iaddr = { 0 }; local
644 if (get_ip_parameters(&iaddr, &netmask, &router) == FALSE) {
646 error = dhcp(ifp, &iaddr, 64, &netmask, &router, procp);
652 printf("netboot: IP address " IP_FORMAT, IP_LIST(&iaddr));
660 error = inet_aifaddr(so, ifr.ifr_name, &iaddr, &netmask, NULL);
667 router.s_addr = iaddr.s_addr;
671 error = default_route_add(router, router.s_addr == iaddr.s_addr);
678 S_netboot_info_p = netboot_info_init(iaddr);
[all...]
/macosx-10.10/bootp-298/IPConfiguration.bproj/
H A Dlinklocal.c243 struct in_addr iaddr; local
250 if (parent_service_ip_address(service_p, &iaddr) == FALSE) {
257 " Target 169.254.255.255", if_name(if_p), IP_LIST(&iaddr));
260 service_p, (void *)IFEventID_arp_e, iaddr,
H A Dipconfigd_threads.h358 struct in_addr iaddr);
392 service_is_using_ip(ServiceRef exclude_service_p, struct in_addr iaddr);
H A Drtutil.c62 set_sockaddr_in(struct sockaddr_in * sin_p, struct in_addr iaddr) argument
66 sin_p->sin_addr = iaddr;
/macosx-10.10/configd-699.1.5/nwi/
H A Dnetwork_information_priv.c192 ifstate->iaddr = *((struct in_addr *) ifa);
260 return (void *)&ifstate->iaddr;
283 if (memcmp(&ifstate1->iaddr, &ifstate2->iaddr, sizeof(struct in_addr)) != 0) {
H A Dnetwork_information_priv.h58 struct in_addr iaddr; member in union:_nwi_ifstate::__anon7230
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dtimer_queue.h165 extern void timer_intr(int inuser, uint64_t iaddr);
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Din_dhcp.c134 struct in_addr iaddr; member in struct:dhcp_context
454 context->iaddr = reply->dp_yiaddr;
514 sizeof(context->iaddr), &context->iaddr);
533 IP_LIST(&context->iaddr));
634 context->iaddr = reply->dp_yiaddr;
929 *iaddr_p = context->iaddr;

Completed in 212 milliseconds

12