Searched refs:apply_prog (Results 1 – 1 of 1) sorted by relevance
2548 struct sock_fprog root_prog, apply_prog; in FIXTURE() local2570 memset(&self->apply_prog, 0, sizeof(self->apply_prog)); in FIXTURE_SETUP()2577 self->apply_prog.filter = malloc(sizeof(apply_filter)); in FIXTURE_SETUP()2578 ASSERT_NE(NULL, self->apply_prog.filter); in FIXTURE_SETUP()2579 memcpy(self->apply_prog.filter, &apply_filter, sizeof(apply_filter)); in FIXTURE_SETUP()2580 self->apply_prog.len = (unsigned short)ARRAY_SIZE(apply_filter); in FIXTURE_SETUP()2610 if (self->apply_prog.filter) in FIXTURE_TEARDOWN()2611 free(self->apply_prog.filter); in FIXTURE_TEARDOWN()2743 &self->apply_prog); in TEST_F()2804 &self->apply_prog); in TEST_F()[all …]