NETDEV_INCREMENT_FEA

Section: Network device support (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

netdev_increment_features - increment feature set by one  

SYNOPSIS

unsigned long netdev_increment_features(unsigned long all, unsigned long one, unsigned long mask);
 

ARGUMENTS

all

current feature set

one

new feature set

mask

mask feature set
 

DESCRIPTION

Computes a new feature set after adding a device with feature set one to the master device with current feature set all. Will not enable anything that is off in mask. Returns the new feature set.  

COPYRIGHT