Lines Matching refs:vif
180 static void del_vifp(struct vif *);
181 static void encap_send(ipha_t *, mblk_t *, struct vif *, ipaddr_t);
193 static void phyint_send(ipha_t *, mblk_t *, struct vif *, ipaddr_t);
195 static void register_send(ipha_t *, mblk_t *, struct vif *, ipaddr_t);
201 static int priority(struct vif *, ipha_t *);
202 static void tbf_control(struct vif *, mblk_t *, ipha_t *);
203 static int tbf_dq_sel(struct vif *, ipha_t *);
204 static void tbf_process_q(struct vif *);
205 static void tbf_queue(struct vif *, mblk_t *);
207 static void tbf_send_packet(struct vif *, mblk_t *);
208 static void tbf_update_tokens(struct vif *);
586 ipst->ips_vifs = kmem_zalloc(sizeof (struct vif) * (MAXVIFS+1), in ip_mrouter_stack_init()
655 struct vif *vifp = ipst->ips_vifs + vifi; in ip_mrouter_done()
772 kmem_free(ipst->ips_vifs, sizeof (struct vif) * (MAXVIFS+1)); in ip_mrouter_stack_destroy()
806 unlock_good_vif(struct vif *vifp) in unlock_good_vif()
814 lock_good_vif(struct vif *vifp) in lock_good_vif()
842 struct vif *vifp = ipst->ips_vifs + vifcp->vifc_vifi; in add_vif()
1043 del_vifp(struct vif *vifp) in del_vifp()
1106 struct vif *vifp = ipst->ips_vifs + *vifip; in del_vif()
1984 struct vif *vifp; in ip_mdq()
2170 phyint_send(ipha_t *ipha, mblk_t *mp, struct vif *vifp, ipaddr_t dst) in phyint_send()
2202 register_send(ipha_t *ipha, mblk_t *mp, struct vif *vifp, ipaddr_t dst) in register_send()
2543 encap_send(ipha_t *ipha, mblk_t *mp, struct vif *vifp, ipaddr_t dst) in encap_send()
2620 struct vif *vifp; in ip_mroute_decap()
2670 struct vif *vife; in ip_mroute_decap()
2834 tbf_control(struct vif *vifp, mblk_t *mp, ipha_t *ipha) in tbf_control()
2941 tbf_queue(struct vif *vifp, mblk_t *mp) in tbf_queue()
2975 tbf_process_q(struct vif *vifp) in tbf_process_q()
3025 struct vif *vifp = arg; in tbf_reprocess_q()
3055 tbf_dq_sel(struct vif *vifp, ipha_t *ipha) in tbf_dq_sel()
3104 tbf_send_packet(struct vif *vifp, mblk_t *mp) in tbf_send_packet()
3207 tbf_update_tokens(struct vif *vifp) in tbf_update_tokens()
3251 priority(struct vif *vifp, ipha_t *ipha) in priority()