Searched refs:trav (Results 1 – 1 of 1) sorted by relevance
1026 struct nf_mttg_trav *trav = seq->private; in xt_mttg_seq_next() local1028 switch (trav->class) { in xt_mttg_seq_next()1030 trav->class = MTTG_TRAV_NFP_UNSPEC; in xt_mttg_seq_next()1032 trav->head = trav->curr = is_target ? in xt_mttg_seq_next()1036 trav->curr = trav->curr->next; in xt_mttg_seq_next()1037 if (trav->curr != trav->head) in xt_mttg_seq_next()1040 mutex_lock(&xt[trav->nfproto].mutex); in xt_mttg_seq_next()1041 trav->head = trav->curr = is_target ? in xt_mttg_seq_next()1042 &xt[trav->nfproto].target : &xt[trav->nfproto].match; in xt_mttg_seq_next()1043 trav->class = next_class[trav->class]; in xt_mttg_seq_next()[all …]