Searched refs:ifa (Results 26 - 40 of 40) sorted by relevance
12
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_stf.c | 772 struct ifaddr *ifa; local 780 ifa = (struct ifaddr *)data; 781 if (ifa == NULL || ifa->ifa_addr->sa_family != AF_INET6) { 785 sin6 = (struct sockaddr_in6 *)ifa->ifa_addr; 789 ifa->ifa_rtrequest = stf_rtrequest;
|
H A D | if_loop.c | 326 register struct ifaddr *ifa; local 334 ifa = (struct ifaddr *)data; 335 ifa->ifa_rtrequest = lortrequest;
|
H A D | dlil.c | 2478 struct ifaddr *ifa = NULL; 2496 ifa = TAILQ_FIRST(&ifp->if_addrhead); 2509 * Allocate a new ifa if we don't have one 2512 if (ifa == NULL || socksize > ifa->ifa_addr->sa_len) { 2513 if (ifa) 2514 if_detach_ifa(ifp, ifa); 2515 ifa = (struct ifaddr*)_MALLOC(ifasize, M_IFADDR, M_WAITOK); 2518 if (ifa) { 2519 struct sockaddr_dl *sdl = (struct sockaddr_dl *)(ifa [all...] |
H A D | if_vlan.c | 1553 struct ifaddr * ifa; local 1567 ifa = (struct ifaddr *)data;
|
H A D | if_bond.c | 897 struct ifaddr * ifa; local 899 ifa = ifp_get_ifaddr(ifp); 900 return ((struct sockaddr_dl *)(ifa->ifa_addr)); 2736 struct ifaddr * ifa; local 2747 ifa = (struct ifaddr *)data;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_arp.c | 930 struct ifaddr *ifa) 932 ifa->ifa_rtrequest = arp_rtrequest; 933 ifa->ifa_flags |= RTF_CLONING; 934 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, ifa->ifa_addr, NULL, ifa->ifa_addr); 928 arp_ifinit( struct ifnet *ifp, struct ifaddr *ifa) argument
|
H A D | raw_ip.c | 722 struct ifaddr *ifa = NULL; local 730 (ifa = ifa_ifwithaddr((struct sockaddr *)addr)) == 0)) { 733 else if (ifa) { 734 ifafree(ifa); 735 ifa = NULL;
|
H A D | ip_mroute.c | 695 struct ifaddr *ifa; local 705 ifa = ifa_ifwithaddr((struct sockaddr *)&sin); 706 if (ifa == 0) return EADDRNOTAVAIL; 707 ifp = ifa->ifa_ifp; 708 ifafree(ifa); 709 ifa = NULL;
|
H A D | in_pcb.c | 397 struct ifaddr *ifa; local 399 if ((ifa = ifa_ifwithaddr((struct sockaddr *)sin)) == 0) { 405 ifafree(ifa); 615 #define ifatoia(ifa) ((struct in_ifaddr *)(ifa))
|
H A D | ip_input.c | 2421 struct ifaddr *ifa = ifnet_addrs[ifp->if_index - 1]; local 2423 if (!ifa || !ifa->ifa_addr) 2426 sdp = (struct sockaddr_dl *)ifa->ifa_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6.h | 637 #define ifatoia6(ifa) ((struct in6_ifaddr *)(ifa))
|
H A D | icmp6.c | 1657 struct ifaddr *ifa; local 1682 TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list) 1684 if (ifa->ifa_addr->sa_family != AF_INET6) 1686 ifa6 = (struct in6_ifaddr *)ifa; 1756 struct ifaddr *ifa; local 1776 for (ifa = ifp->if_addrlist.tqh_first; ifa; 1777 ifa = ifa->ifa_list.tqe_next) 1779 if (ifa [all...] |
H A D | ip6_output.c | 632 #define ifatoia6(ifa) ((struct in6_ifaddr *)(ifa)) 2125 struct in_ifaddr *ifa; local 2130 TAILQ_FOREACH(ifa, &in_ifaddrhead, ia_link) { 2131 if (ifa->ia_ifp == ifp) { 2132 v4req.imr_interface = IA_SIN(ifa)->sin_addr; 2268 struct in_ifaddr *ifa; local 2271 TAILQ_FOREACH(ifa, &in_ifaddrhead, ia_link) { 2272 if (ifa->ia_ifp == ifp) { 2273 v4req.imr_interface = IA_SIN(ifa) [all...] |
H A D | raw_ip6.c | 104 #define ifatoia6(ifa) ((struct in6_ifaddr *)(ifa))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp.c | 384 struct ifaddr *ifa = &ifID->aa_ifa; local 387 if (ifa->ifa_addr) { 389 if_detach_ifa(ifID->aa_ifp, ifa); 390 ifa->ifa_addr = NULL;
|
Completed in 99 milliseconds
12