Searched refs:label_num (Results 1 – 2 of 2) sorted by relevance
398 def _check_for_get_test_labels(self, label, label_num): argument399 self.assertEquals(label['id'], label_num)401 self.assertEquals(label['name'], 'testlabel%d' % label_num)
8023 gen_mpls(label_num) in gen_mpls() argument8024 int label_num; in gen_mpls()8063 if (label_num >= 0) {8064 label_num = label_num << 12; /* label is shifted 12 bits on the wire */8065 b1 = gen_mcmp(OR_LINKPL, 0, BPF_W, (bpf_int32)label_num,