Lines Matching refs:flowlabel_get
48 static int flowlabel_get(int fd, uint32_t label, uint8_t share, uint16_t flags) in flowlabel_get() function
80 expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0)); in run_tests()
86 expect_fail(flowlabel_get(fd, 0x1FFFFF, IPV6_FL_S_ANY, in run_tests()
90 expect_pass(flowlabel_get(fd, 1, IPV6_FL_S_ANY, IPV6_FL_F_CREATE)); in run_tests()
92 expect_pass(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0)); in run_tests()
94 expect_pass(flowlabel_get(fd, 1, IPV6_FL_S_ANY, IPV6_FL_F_CREATE)); in run_tests()
96 expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, in run_tests()
105 expect_pass(flowlabel_get(fd, 2, IPV6_FL_S_EXCL, IPV6_FL_F_CREATE)); in run_tests()
107 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, IPV6_FL_F_CREATE)); in run_tests()
109 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_EXCL, IPV6_FL_F_CREATE)); in run_tests()
114 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, in run_tests()
118 expect_pass(flowlabel_get(fd, 2, IPV6_FL_S_ANY, in run_tests()
123 expect_pass(flowlabel_get(fd, 3, IPV6_FL_S_USER, IPV6_FL_F_CREATE)); in run_tests()
125 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_ANY, 0)); in run_tests()
127 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_EXCL, 0)); in run_tests()
129 expect_pass(flowlabel_get(fd, 3, IPV6_FL_S_USER, 0)); in run_tests()
135 expect_pass(flowlabel_get(fd, 3, IPV6_FL_S_USER, 0)); in run_tests()
139 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_USER, 0)); in run_tests()
148 expect_pass(flowlabel_get(fd, 4, IPV6_FL_S_PROCESS, IPV6_FL_F_CREATE)); in run_tests()
150 expect_pass(flowlabel_get(fd, 4, IPV6_FL_S_PROCESS, 0)); in run_tests()
156 expect_fail(flowlabel_get(fd, 4, IPV6_FL_S_PROCESS, 0)); in run_tests()