Lines Matching defs:vifp
840 struct vif *vifp = V_viftable + vifcp->vifc_vifi;
857 if (!in_nullhost(vifp->v_lcl_addr)) {
916 vifp->v_flags = vifcp->vifc_flags;
917 vifp->v_threshold = vifcp->vifc_threshold;
918 vifp->v_lcl_addr = vifcp->vifc_lcl_addr;
919 vifp->v_rmt_addr = vifcp->vifc_rmt_addr;
920 vifp->v_ifp = ifp;
922 vifp->v_pkt_in = 0;
923 vifp->v_pkt_out = 0;
924 vifp->v_bytes_in = 0;
925 vifp->v_bytes_out = 0;
946 struct vif *vifp;
953 vifp = &V_viftable[vifi];
954 if (in_nullhost(vifp->v_lcl_addr)) {
958 if (!(vifp->v_flags & (VIFF_TUNNEL | VIFF_REGISTER)))
959 if_allmulti(vifp->v_ifp, 0);
961 if (vifp->v_flags & VIFF_REGISTER)
964 bzero((caddr_t)vifp, sizeof (*vifp));
1655 phyint_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1673 send_packet(vifp, mb_copy);
1677 send_packet(struct vif *vifp, struct mbuf *m)
1684 imo.imo_multicast_ifp = vifp->v_ifp;
1698 (ptrdiff_t)(vifp - V_viftable), error);
2322 pim_register_send(struct ip *ip, struct vif *vifp, struct mbuf *m,
2350 pim_register_send_rp(ip, vifp, mm, rt);
2352 pim_register_send_upcall(ip, vifp, mm, rt);
2414 pim_register_send_upcall(struct ip *ip, struct vif *vifp,
2441 im->im_vif = vifp - V_viftable;
2466 pim_register_send_rp(struct ip *ip, struct vif *vifp, struct mbuf *mb_copy,
2524 send_packet(vifp, mb_first);
2646 struct ifnet *vifp;
2657 vifp = V_viftable[V_reg_vif_num].v_ifp;
2751 /* NB: vifp was collected above; can it change on us? */
2752 if_simloop(vifp, m, dst.sin_family, 0);