netdev_increment_features(9)

netdev_increment_features9

Increment feature set by one

Usage

netdev_features_t netdev_increment_features(netdev_features_t all, netdev_features_t one, netdev_features_t mask);

Arguments

all

current feature set

one

new feature set

mask

mask feature set

Overview

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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.