1__DEV_GET_BY_FLAGS(9)       Network device support       __DEV_GET_BY_FLAGS(9)
2
3
4

NAME

6       __dev_get_by_flags - find any device with given flags
7

SYNOPSIS

9       struct net_device * __dev_get_by_flags(struct net * net,
10                                              unsigned short if_flags,
11                                              unsigned short mask);
12

ARGUMENTS

14       net
15           the applicable net namespace
16
17       if_flags
18           IFF_* values
19
20       mask
21           bitmask of bits in if_flags to check
22

DESCRIPTION

24       Search for any interface with the given flags. Returns NULL if a device
25       is not found or a pointer to the device. Must be called inside
26       rtnl_lock, and result refcount is unchanged.
27
29Kernel Hackers Manual 3.10         June 2019             __DEV_GET_BY_FLAGS(9)
Impressum