Searched refs:vifp (Results 1 – 2 of 2) sorted by relevance
927 struct vif *vifp = V_viftable + vifcp->vifc_vifi; in add_vif() local989 if (!in_nullhost(vifp->v_lcl_addr)) { in add_vif()998 vifp->v_flags = vifcp->vifc_flags; in add_vif()999 vifp->v_threshold = vifcp->vifc_threshold; in add_vif()1000 vifp->v_lcl_addr = vifcp->vifc_lcl_addr; in add_vif()1001 vifp->v_rmt_addr = vifcp->vifc_rmt_addr; in add_vif()1002 vifp->v_ifp = ifp; in add_vif()1004 vifp->v_pkt_in = 0; in add_vif()1005 vifp->v_pkt_out = 0; in add_vif()1006 vifp->v_bytes_in = 0; in add_vif()[all …]
421 #define GET_TRUNK_IF(vifp, ifp, ept) \ argument422 if (if_gettype(vifp) == IFT_L2VLAN) { \424 ifp = VLAN_TRUNKDEV(vifp); \427 ifp = vifp; \