Lines Matching refs:statemask
42 unsigned int statemask, statusmask;
192 sinfo->statemask |= XT_CONNTRACK_STATE_INVALID;
194 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_NEW);
196 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED);
198 sinfo->statemask |= XT_CONNTRACK_STATE_BIT(IP_CT_RELATED);
200 sinfo->statemask |= XT_CONNTRACK_STATE_UNTRACKED;
202 sinfo->statemask |= XT_CONNTRACK_STATE_SNAT;
204 sinfo->statemask |= XT_CONNTRACK_STATE_DNAT;
578 print_state(unsigned int statemask)
582 if (statemask & XT_CONNTRACK_STATE_INVALID) {
586 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_NEW)) {
590 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_RELATED)) {
594 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED)) {
598 if (statemask & XT_CONNTRACK_STATE_UNTRACKED) {
602 if (statemask & XT_CONNTRACK_STATE_SNAT) {
606 if (statemask & XT_CONNTRACK_STATE_DNAT) {
702 print_state(sinfo->statemask);
1087 sinfo->statemask = state_parse_states(cb->arg);
1089 sinfo->statemask = ~sinfo->statemask;
1114 static void state_print_state(unsigned int statemask)
1118 if (statemask & XT_CONNTRACK_STATE_INVALID) {
1122 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_NEW)) {
1126 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_RELATED)) {
1130 if (statemask & XT_CONNTRACK_STATE_BIT(IP_CT_ESTABLISHED)) {
1134 if (statemask & XT_CONNTRACK_STATE_UNTRACKED) {
1148 state_print_state(sinfo->statemask);
1156 state_print_state(sinfo->statemask);