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);
1067 struct ip_moptions *imo)
1102 if (imo != NULL)
1103 IMO_LOCK(imo);
1104 if ((imo) && ((vifi = imo->imo_multicast_vif) < numvifs)) {
1105 IMO_UNLOCK(imo);
1116 } else if (imo != NULL) {
1117 IMO_UNLOCK(imo);
1122 if(!imo)
1823 struct ip_moptions *imo;
1825 imo = ip_allocmoptions(M_DONTWAIT);
1826 if (imo == NULL) {
1831 imo->imo_multicast_ifp = vifp->v_ifp;
1832 imo->imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1;
1833 imo->imo_multicast_loop = 1;
1834 imo->imo_multicast_vif = -1;
1843 IP_FORWARDING, imo, NULL);
1845 IMO_REMREF(imo);