/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | kpi_interface.c | 780 if (family == 0 || addr->ifa_addr->sa_family == family) 811 if (family == 0 || addr->ifa_addr->sa_family == family) { 850 return LLADDR(SDL(interface->if_addrhead.tqh_first->ifa_addr)); 890 sdl = SDL(interface->if_addrhead.tqh_first->ifa_addr); 925 sdl = (struct sockaddr_dl*)ifa->ifa_addr; 1068 if (!ifa || !ifa->ifa_addr) 1071 ll_addr = (struct sockaddr_dl *)ifa->ifa_addr; 1192 if (ifa && ifa->ifa_addr) 1193 return ifa->ifa_addr->sa_family; 1207 if (ifa->ifa_addr [all...] |
H A D | rtsock.c | 535 ifpaddr = ifa2->ifa_addr; 537 ifaaddr = rt->rt_ifa->ifa_addr; 1042 ifaaddr = sa = ifa->ifa_addr; 1043 ifpaddr = ifp->if_addrhead.tqh_first->ifa_addr; 1095 ifpaddr = ifp->if_addrhead.tqh_first->ifa_addr; 1189 ifpaddr = ifa->ifa_addr; 1207 if (af && af != ifa->ifa_addr->sa_family) 1209 ifaaddr = ifa->ifa_addr; 1252 ifpaddr = ifa->ifa_addr; 1274 if (af && af != ifa->ifa_addr [all...] |
H A D | if.c | 534 if (ifa->ifa_addr->sa_family != AF_INET) 560 if (ifa->ifa_addr->sa_family == family && ifa0 == NULL) { 592 if (ifa->ifa_addr->sa_family != addr->sa_family) 594 if (equal(addr, ifa->ifa_addr)) { 632 if (ifa->ifa_addr->sa_family != addr->sa_family) 677 if (ifa->ifa_addr->sa_family != addr->sa_family) 679 if (equal(addr, ifa->ifa_addr)) { 757 if (ifa->ifa_addr->sa_family != af) 815 cp2 = ifa->ifa_addr->sa_data; 887 if (ifa->ifa_addr [all...] |
H A D | if_stf.c | 415 if (ia->ifa_addr == NULL) 417 if (ia->ifa_addr->sa_family != AF_INET6) 419 sin6 = (struct sockaddr_in6 *)ia->ifa_addr; 781 if (ifa == NULL || ifa->ifa_addr->sa_family != AF_INET6) { 785 sin6 = (struct sockaddr_in6 *)ifa->ifa_addr;
|
H A D | ether_inet_pr_module.c | 468 if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET) 472 bcopy(&((struct sockaddr_in*)ifa->ifa_addr)->sin_addr, ea->arp_spa,
|
H A D | route.c | 841 (!equal(src, rt->rt_gateway) || !equal(rt->rt_ifa->ifa_addr, 842 ifa->ifa_addr))) { 1032 if (ifa != NULL && ifa->ifa_addr->sa_family != dst->sa_family) { 1047 * on new entries from rtinit, hence (ifa->ifa_addr != gateway). 1050 !equal(ifa->ifa_addr, (struct sockaddr *)(size_t)gateway)) && 1965 dst = flags & RTF_HOST ? ifa->ifa_dstaddr : ifa->ifa_addr; 2031 error = rtrequest_locked(cmd, dst, ifa->ifa_addr, ifa->ifa_netmask,
|
H A D | if_fddisubr.c | 617 sdl = (struct sockaddr_dl *)ifa->ifa_addr; 628 if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) &&
|
H A D | dlil.c | 1861 if (source_ip->ifa_addr && 1862 source_ip->ifa_addr->sa_family == AF_INET) { 1874 source_ip_copy = *(struct sockaddr_in*)source_ip->ifa_addr; 1880 (struct sockaddr_dl*)source_hw->ifa_addr, 2512 if (ifa == NULL || socksize > ifa->ifa_addr->sa_len) { 2536 ifa->ifa_addr = (struct sockaddr*)sdl;
|
H A D | if_var.h | 562 struct sockaddr *ifa_addr; /* address of interface */ member in struct:ifaddr
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6.c | 198 e = rtrequest_locked(cmd, ifa->ifa_addr, ifa->ifa_addr, 251 rt = rtalloc1_locked(ifa->ifa_addr, 0, 0UL); 309 rt = rtalloc1_locked(ifa->ifa_addr, 0, 0UL); 337 if (ifa->ifa_addr->sa_family != AF_INET6) 339 sin6 = (struct sockaddr_in6 *)ifa->ifa_addr; 1132 ia->ia_ifa.ifa_addr = (struct sockaddr *)&ia->ia_addr; 1725 if (ifa->ifa_addr->sa_family != AF_INET6) 1841 if (ifa->ifa_addr == NULL) 1843 if (ifa->ifa_addr [all...] |
H A D | in6_var.h | 356 #define IFA_IN6(x) (&((struct sockaddr_in6 *)((x)->ifa_addr))->sin6_addr) 531 if (!ifa->ifa_addr) \ 533 if (ifa->ifa_addr->sa_family == AF_INET6) \
|
H A D | nd6_rtr.c | 492 TAILQ_FIRST(&rt->rt_ifp->if_addrlist)->ifa_addr; 493 info.rti_info[RTAX_IFA] = rt->rt_ifa->ifa_addr; 557 error = rtrequest_locked(RTM_ADD, (struct sockaddr *)&def, ifa->ifa_addr, 943 if (ifa->ifa_addr->sa_family != AF_INET6) 1223 if (ifa->ifa_addr->sa_family != AF_INET6) 1626 if (ifa->ifa_addr->sa_family == AF_INET6) 1669 ifa->ifa_addr, (struct sockaddr *)&mask6, 1682 ip6_sprintf(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr),
|
H A D | in6_ifattach.c | 280 if (ifa->ifa_addr->sa_family != AF_LINK) 282 sdl = (struct sockaddr_dl *)ifa->ifa_addr; 976 if (ifa->ifa_addr->sa_family != AF_INET6 977 || !IN6_IS_ADDR_LINKLOCAL(&satosin6(&ifa->ifa_addr)->sin6_addr)) {
|
H A D | in6_prefix.c | 201 if (ifa->ifa_addr->sa_family != AF_INET6) 276 if (ifa->ifa_addr->sa_family != AF_INET6) 1065 if (ifa->ifa_addr->sa_family != AF_INET6) 1181 if (ifa->ifa_addr == NULL) 1183 if (ifa->ifa_addr->sa_family != AF_INET6)
|
H A D | ip6_fw.c | 392 if (ia->ifa_addr == NULL) 394 if (ia->ifa_addr->sa_family != AF_INET6) 398 (ia->ifa_addr))->sin6_addr)))
|
H A D | in6_rmx.c | 177 if (IN6_ARE_ADDR_EQUAL(&satosin6(rt->rt_ifa->ifa_addr)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in.c | 414 ifa->ifa_addr = (struct sockaddr *)&ia->ia_addr; 628 if (ifa->ifa_addr->sa_family == AF_INET) 802 if (ifa->ifa_addr->sa_family == AF_INET) 1058 if (ifa->ifa_addr->sa_family != AF_INET6) 1062 candidate.s_addr = ((struct sockaddr_in *)&ifa->ifa_addr)->sin_addr.s_addr; 1190 ia->ia_ifa.ifa_addr = (struct sockaddr *)&oldaddr; 1192 ia->ia_ifa.ifa_addr = (struct sockaddr *)&ia->ia_addr; 1223 ia->ia_ifa.ifa_dstaddr = ia->ia_ifa.ifa_addr; 1279 if (ifa->ifa_addr == NULL) { 1283 if (ifa->ifa_addr [all...] |
H A D | in_rmx.c | 141 if (satosin(rt->rt_ifa->ifa_addr)->sin_addr.s_addr 513 if (ifa->ifa_addr->sa_family != AF_INET)
|
H A D | ip_divert.c | 238 if (ifa->ifa_addr == NULL) 240 if (ifa->ifa_addr->sa_family != AF_INET) 243 ((struct sockaddr_in *) ifa->ifa_addr)->sin_addr;
|
H A D | in_arp.c | 614 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, route->rt_ifa->ifa_addr, 768 (struct sockaddr_dl*)TAILQ_FIRST(&ifp->if_addrhead)->ifa_addr, 934 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, ifa->ifa_addr, NULL, ifa->ifa_addr);
|
H A D | in_dhcp.c | 304 if (addr->ifa_addr->sa_family == AF_LINK) { 305 struct sockaddr_dl * dl_p = (struct sockaddr_dl *)(addr->ifa_addr);
|
H A D | raw_ip.c | 584 * are sent by if_down(). It looks for an ifaddr whose ifa_addr is sa, 605 if (ia->ia_ifa.ifa_addr == sa 628 if (ia->ia_ifa.ifa_addr == sa)
|
/macosx-10.5.8/xnu-1228.15.4/libkern/uuid/ |
H A D | uuid.c | 60 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | at.c | 596 if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) && 610 ifa->ifa_addr = (struct sockaddr *)&ifID->ifNodeAddress;
|
H A D | ddp.c | 387 if (ifa->ifa_addr) { 390 ifa->ifa_addr = NULL;
|