Lines Matching refs:statemask
42 unsigned int statemask, statusmask; member
192 sinfo->statemask |= XT_CONNTRACK_STATE_INVALID; in parse_state()
194 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_NEW); in parse_state()
196 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED); in parse_state()
198 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_RELATED); in parse_state()
200 sinfo->statemask |= XT_CONNTRACK_STATE_UNTRACKED; in parse_state()
202 sinfo->statemask |= XT_CONNTRACK_STATE_SNAT; in parse_state()
204 sinfo->statemask |= XT_CONNTRACK_STATE_DNAT; in parse_state()
578 print_state(unsigned int statemask) in print_state() argument
582 if (statemask & XT_CONNTRACK_STATE_INVALID) { in print_state()
586 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_NEW)) { in print_state()
590 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_RELATED)) { in print_state()
594 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED)) { in print_state()
598 if (statemask & XT_CONNTRACK_STATE_UNTRACKED) { in print_state()
602 if (statemask & XT_CONNTRACK_STATE_SNAT) { in print_state()
606 if (statemask & XT_CONNTRACK_STATE_DNAT) { in print_state()
702 print_state(sinfo->statemask); in matchinfo_print()
1087 sinfo->statemask = state_parse_states(cb->arg); in state_parse()
1089 sinfo->statemask = ~sinfo->statemask; in state_parse()
1114 static void state_print_state(unsigned int statemask) in state_print_state() argument
1118 if (statemask & XT_CONNTRACK_STATE_INVALID) { in state_print_state()
1122 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_NEW)) { in state_print_state()
1126 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_RELATED)) { in state_print_state()
1130 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED)) { in state_print_state()
1134 if (statemask & XT_CONNTRACK_STATE_UNTRACKED) { in state_print_state()
1148 state_print_state(sinfo->statemask); in state_print()
1156 state_print_state(sinfo->statemask); in state_save()
1159 static void state_xlate_print(struct xt_xlate *xl, unsigned int statemask) in state_xlate_print() argument
1163 if (statemask & XT_CONNTRACK_STATE_INVALID) { in state_xlate_print()
1167 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_NEW)) { in state_xlate_print()
1171 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_RELATED)) { in state_xlate_print()
1175 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED)) { in state_xlate_print()
1179 if (statemask & XT_CONNTRACK_STATE_UNTRACKED) { in state_xlate_print()