Scroll to navigation

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

dev
device

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

April 2019 Kernel Hackers Manual 4.9.