Lines Matching refs:imo
881 struct ip_moptions *imo = inp->inp_moptions;
883 if (imo == NULL) {
888 imo = (struct ip_moptions*)
889 _MALLOC(sizeof(*imo), M_IPMOPTS, M_WAITOK);
890 if (imo == NULL) {
894 inp->inp_moptions = imo;
896 imo->imo_multicast_ifp = cloned_imo->imo_multicast_ifp;
897 imo->imo_multicast_vif = cloned_imo->imo_multicast_vif;
898 imo->imo_multicast_ttl = cloned_imo->imo_multicast_ttl;
899 imo->imo_multicast_loop = cloned_imo->imo_multicast_loop;
900 imo->imo_num_memberships = cloned_imo->imo_num_memberships;
902 imo->imo_membership[i] =
905 if (imo->imo_membership[i] == NULL) {
913 in_delmulti(&imo->imo_membership[i]);
914 imo->imo_num_memberships = 0;