Lines Matching refs:imo
146 extern int ip_addmembership(struct ip_moptions *imo, struct ip_mreq *mreq);
147 extern int ip_dropmembership(struct ip_moptions *imo, struct ip_mreq *mreq);
1988 struct ip_moptions *imo;
2020 imo = in6p->inp_moptions;
2043 imo->imo_multicast_ifp = ifp;
2061 imo->imo_multicast_ttl = IP_DEFAULT_MULTICAST_TTL;
2064 imo->imo_multicast_ttl = optval;
2084 imo->imo_multicast_loop = loop;
2145 error = ip_addmembership(imo, &v4req);
2280 error = ip_dropmembership(imo, &v4req);
2338 if (imo->imo_multicast_ifp == NULL &&
2339 imo->imo_multicast_vif == -1 &&
2340 imo->imo_multicast_ttl == IP_DEFAULT_MULTICAST_TTL &&
2341 imo->imo_multicast_loop == IP_DEFAULT_MULTICAST_LOOP &&
2342 imo->imo_num_memberships == 0) {
2343 ip_freemoptions(imo);