Searched refs:apply_prog (Results 1 – 1 of 1) sorted by relevance
1393 struct sock_fprog root_prog, apply_prog; in FIXTURE_DATA() local1413 memset(&self->apply_prog, 0, sizeof(self->apply_prog)); in FIXTURE_SETUP()1420 self->apply_prog.filter = malloc(sizeof(apply_filter)); in FIXTURE_SETUP()1421 ASSERT_NE(NULL, self->apply_prog.filter); in FIXTURE_SETUP()1422 memcpy(self->apply_prog.filter, &apply_filter, sizeof(apply_filter)); in FIXTURE_SETUP()1423 self->apply_prog.len = (unsigned short)(sizeof(apply_filter)/sizeof(apply_filter[0])); in FIXTURE_SETUP()1451 if (self->apply_prog.filter) in FIXTURE_TEARDOWN()1452 free(self->apply_prog.filter); in FIXTURE_TEARDOWN()1574 &self->apply_prog); in TEST_F()1633 &self->apply_prog); in TEST_F()[all …]