Lines Matching defs:ifp
537 struct ifnet *ifp;
542 ifp = mif6table[mifi].m6_ifp;
543 ifnet_ioctl(ifp, 0, SIOCDELMULTI, &ifr);
608 struct ifnet *ifp;
627 ifp = ifindex2ifnet[mifcp->mif6c_pifi];
630 if (ifp == NULL) {
641 ifp = &multicast_register_if;
646 if ((ifp->if_flags & IFF_MULTICAST) == 0)
649 error = if_allmulti(ifp, 1);
655 mifp->m6_ifp = ifp;
672 ifp->if_name, ifp->if_unit);
687 struct ifnet *ifp;
700 ifp = mifp->m6_ifp;
702 if_allmulti(ifp, 0);
797 ip6_mdq(rte->m, rte->ifp, rt);
967 * pointed to by "ifp", and the packet is to be relayed to other networks
976 ip6_mforward(ip6, ifp, m)
978 struct ifnet *ifp;
991 ifp->if_index);
1033 return (ip6_mdq(m, ifp, rt));
1155 mifi < nummifs && mifp->m6_ifp != ifp;
1218 rte->ifp = ifp;
1288 ip6_mdq(m, ifp, rt)
1290 struct ifnet *ifp;
1319 if ((mifi >= nummifs) || (mif6table[mifi].m6_ifp != ifp)) {
1325 ifp->if_index, mifi,
1384 mifp->m6_ifp != ifp;
1433 if ((error = in6_setscope(&src0, ifp, &iszone)) != 0 ||
1434 (error = in6_setscope(&dst0, ifp, &idzone)) != 0) {
1475 struct ifnet *ifp = mifp->m6_ifp;
1512 im6o->im6o_multicast_ifp = ifp;
1534 IN6_LOOKUP_MULTI(ip6->ip6_dst, ifp, in6m);
1541 ip6_mloopback(ifp, m, (struct sockaddr_in6 *)&ro.ro_dst);
1547 if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
1562 error = dlil_output(ifp, PF_INET6, mb_copy,
1565 error = (*ifp->if_output)(ifp, mb_copy,
1581 icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu);
1588 if_name(ifp),