Searched refs:root_prog (Results 1 – 1 of 1) sorted by relevance
1695 struct sock_fprog root_prog, apply_prog; in FIXTURE_DATA() local1716 memset(&self->root_prog, 0, sizeof(self->root_prog)); in FIXTURE_SETUP()1719 self->root_prog.filter = malloc(sizeof(root_filter)); in FIXTURE_SETUP()1720 ASSERT_NE(NULL, self->root_prog.filter); in FIXTURE_SETUP()1721 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter)); in FIXTURE_SETUP()1722 self->root_prog.len = (unsigned short)ARRAY_SIZE(root_filter); in FIXTURE_SETUP()1739 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP()1746 self->sibling[1].prog = &self->root_prog; in FIXTURE_SETUP()1755 if (self->root_prog.filter) in FIXTURE_TEARDOWN()1756 free(self->root_prog.filter); in FIXTURE_TEARDOWN()[all …]