Searched refs:bsv (Results 1 – 2 of 2) sorted by relevance
187 bridge_setpvid_t bsv; in update_port() local276 bsv.bsv_vlan = 1; in update_port()280 bsv.bsv_vlan = propval; in update_port()282 bsv.bsv_linkid = linkid; in update_port()283 if (strioctl(control_fd, BRIOC_SETPVID, &bsv, sizeof (bsv)) == -1) { in update_port()
3167 bridge_setpvid_t *bsv; in bridge_ioctl() local3170 (rc = miocpullup(mp, sizeof (*bsv))) != 0) in bridge_ioctl()3173 bsv = (bridge_setpvid_t *)mp->b_cont->b_rptr; in bridge_ioctl()3174 if (bsv->bsv_vlan > VLAN_ID_MAX) in bridge_ioctl()3176 if ((blp = enter_link(bip, bsv->bsv_linkid)) == NULL) { in bridge_ioctl()3178 } else if (blp->bl_pvid == bsv->bsv_vlan) { in bridge_ioctl()3183 blp->bl_pvid = bsv->bsv_vlan; in bridge_ioctl()