Lines Matching full:rotate
308 * Receive data, and do rotate the vlans as desired.
317 * 34012 +2 rotate
318 * 12340 +4 rotate
319 * 12340 -1 rotate
352 /* rotate left aka downwards */ in ng_vlanrotate_rotate()
377 int8_t rotate; in ng_vlanrotate_rcvdata() local
384 rotate = +vrp->conf.rot; in ng_vlanrotate_rcvdata()
387 rotate = -vrp->conf.rot; in ng_vlanrotate_rcvdata()
431 if ((vlans < vrp->conf.min) || (vlans <= abs(rotate))) { in ng_vlanrotate_rcvdata()
439 if (rotate == 0) { in ng_vlanrotate_rcvdata()
441 } else if (rotate > 0) { in ng_vlanrotate_rcvdata()
442 ng_vlanrotate_rotate(evsh->vlan_stack, rotate, vlans); in ng_vlanrotate_rcvdata()
444 ng_vlanrotate_rotate(evsh->vlan_stack, vlans + rotate, vlans); in ng_vlanrotate_rcvdata()