Searched refs:ifma (Results 1 - 11 of 11) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_var.h | 267 struct ifmultiaddr *ifma; \ 269 LIST_FOREACH(ifma, &((ifp)->if_multiaddrs), ifma_link) { \ 270 if (ifma->ifma_addr->sa_family == AF_INET \ 271 && ((struct sockaddr_in *)ifma->ifma_addr)->sin_addr.s_addr == \ 275 (inm) = ifma ? ifma->ifma_protospec : NULL; \
|
H A D | in.c | 1333 struct ifmultiaddr *ifma; local 1344 error = if_addmulti(ifp, (struct sockaddr *)&sin, &ifma); 1350 * If ifma->ifma_protospec is null, then if_addmulti() created 1353 if (ifma->ifma_protospec != 0) { 1354 return ifma->ifma_protospec; 1365 inm->inm_ifma = ifma; 1367 if (ifma->ifma_protospec == NULL) { 1368 ifma->ifma_protospec = inm; 1369 ifma->ifma_free = in_free_inm; 1374 if (ifma [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if.c | 1714 struct ifmultiaddr *ifma) 1716 if (OSIncrementAtomic((SInt32 *)&ifma->ifma_refcount) <= 0) 1717 panic("ifma_reference: ifma already released or invalid\n"); 1722 struct ifmultiaddr *ifma) 1724 while (ifma) { 1726 int32_t prevValue = OSDecrementAtomic((SInt32 *)&ifma->ifma_refcount); 1728 panic("ifma_release: ifma already released or invalid\n"); 1733 if (ifma->ifma_protospec && ifma->ifma_free) { 1734 ifma 1713 ifma_reference( struct ifmultiaddr *ifma) argument 1721 ifma_release( struct ifmultiaddr *ifma) argument 1756 struct ifmultiaddr *ifma; local 1851 struct ifmultiaddr *ifma = NULL; local 1980 if_delmultiaddr( struct ifmultiaddr *ifma, int locked) argument 2055 struct ifmultiaddr *ifma; local 2103 struct ifmultiaddr *ifma; local [all...] |
H A D | ndrv_var.h | 46 ifmultiaddr_t ifma; member in struct:ndrv_multiaddr
|
H A D | rtsock.c | 1082 rt_newmaddrmsg(int cmd, struct ifmultiaddr *ifma) argument 1086 struct ifnet *ifp = ifma->ifma_ifp; 1093 ifaaddr = ifma->ifma_addr; 1102 gate = ifma->ifma_ll->ifma_addr; 1108 route_proto.sp_protocol = ifma->ifma_addr->sa_family; 1298 struct ifmultiaddr *ifma; local 1300 for (ifma = ifp->if_multiaddrs.lh_first; ifma; 1301 ifma = ifma [all...] |
H A D | if_var.h | 642 int if_delmultiaddr(struct ifmultiaddr *ifma, int locked); 671 void ifma_reference(struct ifmultiaddr *ifma); 672 void ifma_release(struct ifmultiaddr *ifma);
|
H A D | ndrv.c | 907 &ndrv_multi->ifma); 963 result = ifnet_remove_multicast(ndrv_entry->ifma); 971 ifmaddr_release(ndrv_entry->ifma); 1027 ifnet_remove_multicast(cur->ifma); 1028 ifmaddr_release(cur->ifma);
|
H A D | dlil.c | 1948 struct ifmultiaddr *ifma = ifp->if_multiaddrs.lh_first; 1956 LIST_REMOVE(ifma, ifma_link); 1957 ifma->ifma_ifp = NULL; 1958 ifma_release(ifma);
|
H A D | if_bond.c | 1123 struct ifmultiaddr * ifma = NULL; local 1136 &ifma); 1138 ifb->ifb_ifma_slow_proto = ifma;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | mld6.c | 201 struct ifmultiaddr *ifma; local 282 LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) 284 if (ifma->ifma_addr->sa_family != AF_INET6) 286 in6m = (struct in6_multi *)ifma->ifma_protospec;
|
H A D | in6.c | 1906 struct ifmultiaddr *ifma; local 1919 *errorp = if_addmulti(ifp, (struct sockaddr *)&sin6, &ifma); 1925 * If ifma->ifma_protospec is null, then if_addmulti() created 1928 if (ifma->ifma_protospec != 0) 1929 return ifma->ifma_protospec; 1941 in6m->in6m_ifma = ifma; 1942 ifma->ifma_protospec = in6m; 1964 struct ifmultiaddr *ifma = in6m->in6m_ifma; local 1966 if (ifma && ifma [all...] |
Completed in 121 milliseconds