Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
Dnet-procfs.c13 extern struct list_head ptype_all __read_mostly;
205 ptype_list = &dev->ptype_all; in ptype_get_idx()
213 list_for_each_entry_rcu(pt, &ptype_all, list) { in ptype_get_idx()
250 if (nxt != &pt->dev->ptype_all) in ptype_seq_next()
255 if (!list_empty(&dev->ptype_all)) { in ptype_seq_next()
256 nxt = dev->ptype_all.next; in ptype_seq_next()
261 nxt = ptype_all.next; in ptype_seq_next()
262 goto ptype_all; in ptype_seq_next()
266 ptype_all: in ptype_seq_next()
267 if (nxt != &ptype_all) in ptype_seq_next()
Ddev.c160 struct list_head ptype_all __read_mostly; /* Taps */
514 return pt->dev ? &pt->dev->ptype_all : &ptype_all; in ptype_head()
2308 return !list_empty(&ptype_all) || !list_empty(&dev->ptype_all); in dev_nit_active()
2322 struct list_head *ptype_list = &ptype_all; in dev_queue_xmit_nit()
2368 if (ptype_list == &ptype_all) { in dev_queue_xmit_nit()
2369 ptype_list = &dev->ptype_all; in dev_queue_xmit_nit()
5200 list_for_each_entry_rcu(ptype, &ptype_all, list) { in __netif_receive_skb_core()
5206 list_for_each_entry_rcu(ptype, &skb->dev->ptype_all, list) { in __netif_receive_skb_core()
10388 BUG_ON(!list_empty(&dev->ptype_all)); in netdev_run_todo()
10616 INIT_LIST_HEAD(&dev->ptype_all); in alloc_netdev_mqs()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dvrf.c634 if (!list_empty(&vrf_dev->ptype_all) && in vrf_finish_direct()
1362 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip6_rcv()
1407 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip_rcv()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h1890 struct list_head ptype_all; member