Lines Matching defs:imo
83 struct mbuf *m, struct ip_moptions *imo);
125 __unused struct mbuf *m, __unused ip_moptions *imo)
291 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
1063 struct ip_moptions *imo)
1098 if (imo != NULL)
1099 IMO_LOCK(imo);
1100 if ((imo) && ((vifi = imo->imo_multicast_vif) < numvifs)) {
1101 IMO_UNLOCK(imo);
1112 } else if (imo != NULL) {
1113 IMO_UNLOCK(imo);
1118 if(!imo)
1816 struct ip_moptions *imo;
1818 imo = ip_allocmoptions(M_DONTWAIT);
1819 if (imo == NULL) {
1824 imo->imo_multicast_ifp = vifp->v_ifp;
1825 imo->imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1;
1826 imo->imo_multicast_loop = 1;
1827 imo->imo_multicast_vif = -1;
1836 IP_FORWARDING, imo, NULL);
1838 IMO_REMREF(imo);