Lines Matching refs:imm
1991 struct in6_multi_mship *imm;
2204 for (imm = im6o->im6o_memberships.lh_first;
2205 imm != NULL; imm = imm->i6mm_chain.le_next)
2206 if (imm->i6mm_maddr->in6m_ifp == ifp &&
2207 IN6_ARE_ADDR_EQUAL(&imm->i6mm_maddr->in6m_addr,
2210 if (imm != NULL) {
2219 imm = _MALLOC(sizeof(*imm), M_IPMADDR, M_WAITOK);
2220 if (imm == NULL) {
2225 if ((imm->i6mm_maddr =
2227 FREE(imm, M_IPMADDR);
2231 LIST_INSERT_HEAD(&im6o->im6o_memberships, imm, i6mm_chain);
2298 for (imm = im6o->im6o_memberships.lh_first;
2299 imm != NULL; imm = imm->i6mm_chain.le_next) {
2301 imm->i6mm_maddr->in6m_ifp == ifp) &&
2302 IN6_ARE_ADDR_EQUAL(&imm->i6mm_maddr->in6m_addr,
2306 if (imm == NULL) {
2316 LIST_REMOVE(imm, i6mm_chain);
2317 in6_delmulti(imm->i6mm_maddr, 1);
2319 FREE(imm, M_IPMADDR);
2405 struct in6_multi_mship *imm;
2411 while ((imm = im6o->im6o_memberships.lh_first) != NULL) {
2412 LIST_REMOVE(imm, i6mm_chain);
2413 if (imm->i6mm_maddr)
2414 in6_delmulti(imm->i6mm_maddr, 1);
2415 FREE(imm, M_IPMADDR);