Lines Matching full:rot
91 int i, rot, len; in _basic() local
108 for (rot = -len + 1; rot < len; rot++) in _basic()
113 snprintf(cmd, sizeof(cmd), "setconf { min=0 max=9 rot=%d }", rot); in _basic()
122 int expect = (2 * len + i - direction * rot) % len + 1; in _basic()
126 "len=%d rot=%d i=%d -> vlan=%d, expect=%d", in _basic()
127 len, rot, i, r[i], expect); in _basic()
191 int rot = rand() % (2 * len - 1) - len + 1; in _ethertype() local
214 snprintf(cmd, sizeof(cmd), "setconf { min=0 max=9 rot=%d }", rot); in _ethertype()
224 int expect = (2 * len + i - direction * rot) % len; in _ethertype()
227 "len=%d rot=%d i=%d -> vlan=%04x, expect(%d)=%04x", in _ethertype()
228 len, rot, i, ntohs(r[i]), expect, vlan[expect]); in _ethertype()
283 ng_send_msg("vr:", "setconf { min=3 max=7 rot=0 }"); in ATF_TC_BODY()