SysTutorials

Linux Manual Pages › Section 9

netdev_upper_get_next_dev_rcu(9)

netdev_upper_get_next_dev_rcu - Get the next dev from upper list

Synopsis

struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter);

Arguments

dev

device

iter

list_head ** of the current position

Description

Gets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock.

Copyright