npf_rule_getattr
uint32_t npf_rule_getattr(nl_rule_t *);
stateful = (npf_rule_getattr(rl) & NPF_RULE_STATEFUL) != 0;
uint32_t attr = attr = npf_rule_getattr(cg);
const uint32_t attr = npf_rule_getattr(rl);
uint32_t attr = npf_rule_getattr(rl);