table of contents
other versions
NETDEV_LOWER_GET_NEX(9) | Network device support | NETDEV_LOWER_GET_NEX(9) |
NAME¶
netdev_lower_get_next - Get the next device from the lower neighbour list
SYNOPSIS¶
void * netdev_lower_get_next(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 netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |