Lines Matching refs:nxt
222 struct list_head *nxt; in ptype_seq_next() local
230 nxt = pt->list.next; in ptype_seq_next()
232 if (nxt != &pt->dev->ptype_all) in ptype_seq_next()
238 nxt = dev->ptype_all.next; in ptype_seq_next()
242 nxt = net->ptype_all.next; in ptype_seq_next()
248 if (nxt != &net->ptype_all && nxt != &net->ptype_specific) in ptype_seq_next()
251 if (nxt == &net->ptype_all) { in ptype_seq_next()
253 nxt = net->ptype_specific.next; in ptype_seq_next()
254 if (nxt != &net->ptype_specific) in ptype_seq_next()
259 nxt = ptype_base[0].next; in ptype_seq_next()
263 while (nxt == &ptype_base[hash]) { in ptype_seq_next()
266 nxt = ptype_base[hash].next; in ptype_seq_next()
269 return list_entry(nxt, struct packet_type, list); in ptype_seq_next()