Lines Matching defs:b_vid
9083 * patch block b_vid (VLAN id test) to load VID value either from packet
9087 gen_vlan_patch_vid_test(compiler_state_t *cstate, struct block *b_vid)
9095 /* true -> next instructions, false -> beginning of b_vid */
9098 sjeq->s.jf = b_vid->stmts;
9106 /* Jump to the test in b_vid. We need to jump one instruction before
9107 * the end of the b_vid block so that we only skip loading the TCI
9111 for (s2 = b_vid->stmts; s2; s2 = s2->next)
9117 /* insert our statements at the beginning of b_vid */
9118 sappend(s, b_vid->stmts);
9119 b_vid->stmts = s;
9134 struct block *b0, *b_tpid, *b_vid = NULL;
9158 b_vid = gen_vlan_vid_test(cstate, vlan_num);
9165 gen_vlan_patch_vid_test(cstate, b_vid);
9166 gen_and(b0, b_vid);
9167 b0 = b_vid;