Scroll to navigation

NETDEV_UPPER_GET_NEX(9) Network device support NETDEV_UPPER_GET_NEX(9)

NAME

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

struct net_device * dev

device

struct list_head ** 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

June 2017 Kernel Hackers Manual 4.11