Home
last modified time | relevance | path

Searched refs:ptype_all (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/net/core/
Dnet-procfs.c212 ptype_list = &dev->ptype_all; in ptype_get_idx()
220 list_for_each_entry_rcu(pt, &ptype_all, list) { in ptype_get_idx()
257 if (nxt != &pt->dev->ptype_all) in ptype_seq_next()
262 if (!list_empty(&dev->ptype_all)) { in ptype_seq_next()
263 nxt = dev->ptype_all.next; in ptype_seq_next()
268 nxt = ptype_all.next; in ptype_seq_next()
269 goto ptype_all; in ptype_seq_next()
273 ptype_all: in ptype_seq_next()
274 if (nxt != &ptype_all) in ptype_seq_next()
Ddev.c162 struct list_head ptype_all __read_mostly; /* Taps */
555 return pt->dev ? &pt->dev->ptype_all : &ptype_all; in ptype_head()
2274 return !list_empty(&ptype_all) || !list_empty(&dev->ptype_all); in dev_nit_active()
2288 struct list_head *ptype_list = &ptype_all; in dev_queue_xmit_nit()
2334 if (ptype_list == &ptype_all) { in dev_queue_xmit_nit()
2335 ptype_list = &dev->ptype_all; in dev_queue_xmit_nit()
5394 list_for_each_entry_rcu(ptype, &ptype_all, list) { in __netif_receive_skb_core()
5400 list_for_each_entry_rcu(ptype, &skb->dev->ptype_all, list) { in __netif_receive_skb_core()
10468 BUG_ON(!list_empty(&dev->ptype_all)); in netdev_run_todo()
10756 INIT_LIST_HEAD(&dev->ptype_all); in alloc_netdev_mqs()
[all …]
/Linux-v6.6/drivers/net/
Dvrf.c633 if (!list_empty(&vrf_dev->ptype_all) && in vrf_finish_direct()
1410 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip6_rcv()
1464 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip_rcv()
/Linux-v6.6/include/linux/
Dnetdevice.h2080 struct list_head ptype_all; member
5208 extern struct list_head ptype_all __read_mostly;