Searched refs:root_prog (Results 1 – 1 of 1) sorted by relevance
2563 struct sock_fprog root_prog, apply_prog; in FIXTURE() local2584 memset(&self->root_prog, 0, sizeof(self->root_prog)); in FIXTURE_SETUP()2587 self->root_prog.filter = malloc(sizeof(root_filter)); in FIXTURE_SETUP()2588 ASSERT_NE(NULL, self->root_prog.filter); in FIXTURE_SETUP()2589 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter)); in FIXTURE_SETUP()2590 self->root_prog.len = (unsigned short)ARRAY_SIZE(root_filter); in FIXTURE_SETUP()2607 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP()2614 self->sibling[1].prog = &self->root_prog; in FIXTURE_SETUP()2623 if (self->root_prog.filter) in FIXTURE_TEARDOWN()2624 free(self->root_prog.filter); in FIXTURE_TEARDOWN()[all …]