Searched refs:ifma (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | if.c | 194 struct ifmultiaddr ifma; /* ifmultiaddr */ member in struct:ifmultiaddr_dbg 2505 struct ifmultiaddr *ifma; local 2507 ifma = (how == M_WAITOK) ? zalloc(ifma_zone) : 2510 if (ifma != NULL) { 2511 bzero(ifma, ifma_size); 2512 lck_mtx_init(&ifma->ifma_lock, ifa_mtx_grp, ifa_mtx_attr); 2513 ifma->ifma_debug |= IFD_ALLOC; 2515 ifma->ifma_debug |= IFD_DEBUG; 2516 ifma->ifma_trace = ifma_trace; 2519 return (ifma); 2523 ifma_free(struct ifmultiaddr *ifma) argument 2577 ifma_trace(struct ifmultiaddr *ifma, int refhold) argument 2601 ifma_addref(struct ifmultiaddr *ifma, int locked) argument 2619 ifma_remref(struct ifmultiaddr *ifma) argument 2649 if_attach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2685 if_detach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2764 struct ifmultiaddr *ifma; local 2918 struct ifmultiaddr *ifma = NULL; local 3081 if_delmulti_ifma(struct ifmultiaddr *ifma) argument 3103 if_delmulti_common(struct ifmultiaddr *ifma, struct ifnet *ifp, const struct sockaddr *sa, int anon) argument [all...] |
H A D | ndrv_var.h | 46 ifmultiaddr_t ifma; member in struct:ndrv_multiaddr
|
H A D | rtsock.c | 1342 rt_newmaddrmsg(int cmd, struct ifmultiaddr *ifma) argument 1346 struct ifnet *ifp = ifma->ifma_ifp; 1356 IFMA_LOCK(ifma); 1357 info.rti_info[RTAX_IFA] = ifma->ifma_addr; 1364 info.rti_info[RTAX_GATEWAY] = (ifma->ifma_ll != NULL) ? ifma->ifma_ll->ifma_addr : NULL; 1366 IFMA_UNLOCK(ifma); 1373 route_proto.sp_protocol = ifma->ifma_addr->sa_family; 1374 IFMA_UNLOCK(ifma); 1743 struct ifmultiaddr *ifma; local [all...] |
H A D | kpi_interface.c | 1543 ifnet_remove_multicast(ifmultiaddr_t ifma) argument 1547 if (ifma == NULL) 1550 maddr = ifma->ifma_addr; 1555 return (if_delmulti_anon(ifma->ifma_ifp, maddr)); 2025 ifmaddr_address(ifmultiaddr_t ifma, struct sockaddr *out_addr, argument 2030 if (ifma == NULL || out_addr == NULL) 2033 IFMA_LOCK(ifma); 2034 if (ifma->ifma_addr == NULL) { 2035 IFMA_UNLOCK(ifma); 2039 copylen = (addr_size >= ifma 2052 ifmaddr_lladdress(ifmultiaddr_t ifma, struct sockaddr *out_addr, u_int32_t addr_size) argument 2066 ifmaddr_ifnet(ifmultiaddr_t ifma) argument [all...] |
H A D | ndrv.c | 919 &ndrv_multi->ifma); 976 result = ifnet_remove_multicast(ndrv_entry->ifma); 984 ifmaddr_release(ndrv_entry->ifma); 1042 ifnet_remove_multicast(cur->ifma); 1043 ifmaddr_release(cur->ifma);
|
H A D | dlil.c | 4517 struct ifmultiaddr *ifma; local 4518 LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { 4519 IFMA_LOCK(ifma); 4520 if (ifma->ifma_addr->sa_family == AF_LINK || 4521 ifma->ifma_addr->sa_family == AF_UNSPEC) 4523 IFMA_UNLOCK(ifma);
|
H A D | if_bond.c | 1094 struct ifmultiaddr * ifma = NULL; local 1106 error = if_addmulti_anon(ifb->ifb_ifp, (struct sockaddr *)&sdl, &ifma); 1108 ifb->ifb_ifma_slow_proto = ifma;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_mcast.c | 543 struct ifmultiaddr *ifma; local 574 error = if_addmulti(ifp, (struct sockaddr *)&gsin, &ifma); 582 IFMA_LOCK(ifma); 583 if ((inm = ifma->ifma_protospec) != NULL) { 584 VERIFY(ifma->ifma_addr != NULL); 585 VERIFY(ifma->ifma_addr->sa_family == AF_INET); 587 IFMA_UNLOCK(ifma); 589 VERIFY(inm->inm_ifma == ifma); 599 IFMA_REMREF(ifma); 610 * the inm referring to the ifma ha 3432 struct ifmultiaddr *ifma; local [all...] |
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_mcast.c | 471 struct ifmultiaddr *ifma; local 504 error = if_addmulti(ifp, (struct sockaddr *)&gsin6, &ifma); 512 IFMA_LOCK(ifma); 513 if ((inm = ifma->ifma_protospec) != NULL) { 514 VERIFY(ifma->ifma_addr != NULL); 515 VERIFY(ifma->ifma_addr->sa_family == AF_INET6); 517 IFMA_UNLOCK(ifma); 519 VERIFY(inm->in6m_ifma == ifma); 529 IFMA_REMREF(ifma); 540 * the inm referring to the ifma ha 3242 struct ifmultiaddr *ifma; local [all...] |
Completed in 114 milliseconds