Query: dev_get_by_flags
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEV_GET_BY_FLAGS(9) Network device support DEV_GET_BY_FLAGS(9)NAMEdev_get_by_flags - find any device with given flagsSYNOPSISstruct net_device * dev_get_by_flags(struct net * net, unsigned short if_flags, unsigned short mask);ARGUMENTSnet the applicable net namespace if_flags IFF_* values mask bitmask of bits in if_flags to checkDESCRIPTIONSearch for any interface with the given flags. Returns NULL if a device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls dev_put to indicate they have finished with it.COPYRIGHTKernel Hackers Manual 2.6. July 2010 DEV_GET_BY_FLAGS(9)