Lines Matching defs:vtag
1727 * modules. MBLK_VTAG is used to save the vtag information.
2048 uint32_t vtag, vid;
2083 vtag = VLAN_VID_NONE;
2127 vtag = GLD_MAKE_VTAG(upri, VLAN_CFI_ETHER, evid);
2131 * Get vtag from the attached PPA of this stream.
2135 vtag = GLD_MAKE_VTAG(upri, VLAN_CFI_ETHER, vid);
2167 pktinfo.pktLen > ifp->hdr_size + (vtag == 0 ? 0 : VTAG_SIZE) +
2176 ifp->hdr_size + (vtag == 0 ? 0 : VTAG_SIZE) +
2182 rc = (*gld->gld_send)(macinfo, mp, vtag);
2215 gld_precv(macinfo, nmp, vtag, stats);
2495 * gld_precv (macinfo, mp, vtag, stats)
2502 gld_precv(gld_mac_info_t *macinfo, mblk_t *mp, uint32_t vtag,
2529 * Update the vtag information.
2531 pktinfo.isTagged = (vtag != VLAN_VID_NONE);
2532 pktinfo.vid = GLD_VTAG_VID(vtag);
2533 pktinfo.cfi = GLD_VTAG_CFI(vtag);
2534 pktinfo.user_pri = GLD_VTAG_PRI(vtag);
2578 gld_recv_tagged(gld_mac_info_t *macinfo, mblk_t *mp, uint32_t vtag)
2613 vid = GLD_VTAG_VID(vtag);
2703 * This is safe even if vtag is VLAN_VTAG_NONE
2706 pktinfo.cfi = GLD_VTAG_CFI(vtag);
2711 pktinfo.user_pri = GLD_VTAG_PRI(vtag);
2712 pktinfo.isTagged = (vtag != VLAN_VID_NONE);
3089 uint32_t vtag = 0;
3152 vtag = GLD_MAKE_VTAG(pktinfo->user_pri, pktinfo->cfi,
3154 if ((mp = gld_insert_vtag_ether(mp, vtag)) == NULL) {