Lines Matching refs:ifp
513 struct ifnet *ifp;
518 ifp = mif6table[mifi].m6_ifp;
519 ifnet_ioctl(ifp, 0, SIOCDELMULTI, &ifr);
592 struct ifnet *ifp;
605 ifp = ifindex2ifnet[mifcp->mif6c_pifi];
615 ifp = &multicast_register_if;
620 if ((ifp->if_flags & IFF_MULTICAST) == 0)
623 error = if_allmulti(ifp, 1);
629 mifp->m6_ifp = ifp;
649 ifp->if_name, ifp->if_unit);
664 struct ifnet *ifp;
677 ifp = mifp->m6_ifp;
679 if_allmulti(ifp, 0);
778 ip6_mdq(rte->m, rte->ifp, rt);
948 * pointed to by "ifp", and the packet is to be relayed to other networks
957 ip6_mforward(ip6, ifp, m)
959 struct ifnet *ifp;
972 ifp->if_index);
1014 return (ip6_mdq(m, ifp, rt));
1136 mifi < nummifs && mifp->m6_ifp != ifp;
1199 rte->ifp = ifp;
1274 ip6_mdq(m, ifp, rt)
1276 struct ifnet *ifp;
1302 if ((mifi >= nummifs) || (mif6table[mifi].m6_ifp != ifp)) {
1308 ifp->if_index, mifi,
1367 mifp->m6_ifp != ifp;
1425 (in6_addr2scopeid(ifp, &ip6->ip6_dst) !=
1428 in6_addr2scopeid(ifp, &ip6->ip6_src) !=
1449 struct ifnet *ifp = mifp->m6_ifp;
1480 im6o.im6o_multicast_ifp = ifp;
1501 IN6_LOOKUP_MULTI(ip6->ip6_dst, ifp, in6m);
1506 ip6_mloopback(ifp, m, (struct sockaddr_in6 *)&ro.ro_dst);
1512 if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
1528 error = dlil_output(ifp, PF_INET6, mb_copy,
1532 error = (*ifp->if_output)(ifp, mb_copy,
1543 icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu);
1550 if_name(ifp),